X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fe500.h;h=5884a224d2416c75bd8d9d024067b6f178b7f14b;hb=0e1dc3456fef34832ef67161f4a96d90363294ec;hp=84b580de1f4cc09feb5cd8aef7592e2f3deca23e;hpb=b3d7f20f43a0f8d11c65e2f92153b5512b11580c;p=u-boot diff --git a/include/e500.h b/include/e500.h index 84b580de1f..5884a224d2 100644 --- a/include/e500.h +++ b/include/e500.h @@ -8,17 +8,25 @@ #ifndef __ASSEMBLY__ -#ifndef CONFIG_NUM_CPUS -#define CONFIG_NUM_CPUS 1 -#endif - typedef struct { - unsigned long freqProcessor[CONFIG_NUM_CPUS]; - unsigned long freqSystemBus; - unsigned long freqDDRBus; - unsigned long freqLocalBus; - unsigned long freqQE; + unsigned long freq_processor[CONFIG_MAX_CPUS]; + unsigned long freq_systembus; + unsigned long freq_ddrbus; + unsigned long freq_localbus; + unsigned long freq_qe; +#ifdef CONFIG_SYS_DPAA_FMAN + unsigned long freq_fman[CONFIG_SYS_NUM_FMAN]; +#endif +#ifdef CONFIG_SYS_DPAA_QBMAN + unsigned long freq_qman; +#endif +#ifdef CONFIG_SYS_DPAA_PME + unsigned long freq_pme; +#endif +#ifdef CONFIG_SYS_FSL_SINGLE_SOURCE_CLK + unsigned char diff_sysclk; +#endif } MPC85xx_SYS_INFO; #endif /* _ASMLANGUAGE */