mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
Add secondary CPUs processor frequency for e500 core
This patch updates e500 freqProcessor to array based on CONFIG_NUM_CPUS, and prints each CPU's frequency separately. It also fixes up each CPU's frequency in "clock-frequency" of fdt blob. Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
This commit is contained in:
parent
bf5b1f0c0d
commit
2fc7eb0cfc
4 changed files with 29 additions and 9 deletions
|
@ -8,9 +8,13 @@
|
|||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#ifndef CONFIG_NUM_CPUS
|
||||
#define CONFIG_NUM_CPUS 1
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned long freqProcessor;
|
||||
unsigned long freqProcessor[CONFIG_NUM_CPUS];
|
||||
unsigned long freqSystemBus;
|
||||
unsigned long freqDDRBus;
|
||||
unsigned long freqLocalBus;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue