mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-30 19:11:37 +00:00
common: Move PPC4xx_SYS_INFO() et al to arch-specific header
These definitions should not be in common.h. Move them to an arch-specific header file. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a2038d7b1e
commit
8fb69c1654
2 changed files with 4 additions and 6 deletions
|
@ -292,6 +292,10 @@ int ppc4xx_pci_sync_clock_config(u32 async);
|
||||||
unsigned long get_OPB_freq(void);
|
unsigned long get_OPB_freq(void);
|
||||||
unsigned long get_PCI_freq(void);
|
unsigned long get_PCI_freq(void);
|
||||||
|
|
||||||
|
typedef PPC4xx_SYS_INFO sys_info_t;
|
||||||
|
int ppc440spe_revB(void);
|
||||||
|
void get_sys_info(sys_info_t *);
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
|
|
||||||
/* for multi-cpu support */
|
/* for multi-cpu support */
|
||||||
|
|
|
@ -662,12 +662,6 @@ static inline ulong get_ddr_freq(ulong dummy)
|
||||||
ulong get_ddr_freq(ulong);
|
ulong get_ddr_freq(ulong);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_4xx)
|
|
||||||
typedef PPC4xx_SYS_INFO sys_info_t;
|
|
||||||
int ppc440spe_revB(void);
|
|
||||||
void get_sys_info ( sys_info_t * );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int cpu_init_r (void);
|
int cpu_init_r (void);
|
||||||
|
|
||||||
/* $(CPU)/interrupts.c */
|
/* $(CPU)/interrupts.c */
|
||||||
|
|
Loading…
Add table
Reference in a new issue