mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02: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:
committed by
Andrew Fleming-AFLEMING
parent
bf5b1f0c0d
commit
2fc7eb0cfc
@@ -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;
|
||||
|
Reference in New Issue
Block a user