diff options
author | wdenk <wdenk> | 2003-10-15 23:53:47 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-10-15 23:53:47 +0000 |
commit | 42d1f0394bef0624fc9664714d54bb137931d6a6 (patch) | |
tree | 892a4130507484d25faf9a72e019cf88cfb3e3d9 /include/common.h | |
parent | 2d5b561e2bfdee8552a99b2cf93016cce2a74895 (diff) | |
download | u-boot-42d1f0394bef0624fc9664714d54bb137931d6a6.tar.gz u-boot-42d1f0394bef0624fc9664714d54bb137931d6a6.tar.xz u-boot-42d1f0394bef0624fc9664714d54bb137931d6a6.zip |
* Patches by Xianghua Xiao, 15 Oct 2003:LABEL_2003_10_16_0200
- Added Motorola CPU 8540/8560 support (cpu/85xx)
- Added Motorola MPC8540ADS board support (board/mpc8540ads)
- Added Motorola MPC8560ADS board support (board/mpc8560ads)
* Minor code cleanup
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 474ea75944..39c232a0ff 100644 --- a/include/common.h +++ b/include/common.h @@ -62,6 +62,10 @@ typedef volatile unsigned char vu_char; #elif defined(CONFIG_8260) #include <asm/immap_8260.h> #endif +#ifdef CONFIG_MPC85xx +#include <mpc85xx.h> +#include <asm/immap_85xx.h> +#endif #ifdef CONFIG_4xx #include <ppc4xx.h> #endif @@ -287,6 +291,7 @@ int testdram(void); defined(CONFIG_8xx) uint get_immr (uint); #endif +uint get_pir (void); uint get_pvr (void); uint rd_ic_cst (void); void wr_ic_cst (uint); @@ -359,6 +364,11 @@ ulong get_UCLK (void); #endif ulong get_bus_freq (ulong); +#if defined(CONFIG_MPC85xx) +typedef MPC85xx_SYS_INFO sys_info_t; +void get_sys_info ( sys_info_t * ); +#endif + #if defined(CONFIG_4xx) || defined(CONFIG_IOP480) # if defined(CONFIG_440) typedef PPC440_SYS_INFO sys_info_t; @@ -372,7 +382,7 @@ void get_sys_info ( sys_info_t * ); #if defined(CONFIG_8xx) || defined(CONFIG_8260) void cpu_init_f (volatile immap_t *immr); #endif -#ifdef CONFIG_4xx +#if defined(CONFIG_4xx) || defined(CONFIG_MPC85xx) void cpu_init_f (void); #endif int cpu_init_r (void); |