X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc%2Fmpc8260.h;h=23579d4afae7549880454074171c4683b3e13fda;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=61b6a191a2aeb09bcf03c58b2193cda4d000f60d;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/include/asm-ppc/mpc8260.h b/include/asm-ppc/mpc8260.h index 61b6a191a..23579d4af 100644 --- a/include/asm-ppc/mpc8260.h +++ b/include/asm-ppc/mpc8260.h @@ -8,7 +8,6 @@ #ifndef __ASM_PPC_MPC8260_H__ #define __ASM_PPC_MPC8260_H__ -#include #ifdef CONFIG_8260 @@ -36,10 +35,14 @@ #include #endif -#ifdef CONFIG_PQ2ADS +#if defined(CONFIG_PQ2ADS) || defined (CONFIG_PQ2FADS) #include #endif +#ifdef CONFIG_PCI_8260 +#include +#endif + /* Make sure the memory translation stuff is there if PCI not used. */ #ifndef _IO_BASE @@ -63,6 +66,26 @@ #define IO_VIRT_ADDR IO_PHYS_ADDR #endif +enum ppc_sys_devices { + MPC82xx_CPM_FCC1, + MPC82xx_CPM_FCC2, + MPC82xx_CPM_FCC3, + MPC82xx_CPM_I2C, + MPC82xx_CPM_SCC1, + MPC82xx_CPM_SCC2, + MPC82xx_CPM_SCC3, + MPC82xx_CPM_SCC4, + MPC82xx_CPM_SPI, + MPC82xx_CPM_MCC1, + MPC82xx_CPM_MCC2, + MPC82xx_CPM_SMC1, + MPC82xx_CPM_SMC2, + MPC82xx_CPM_USB, + MPC82xx_SEC1, + MPC82xx_MDIO_BB, + NUM_PPC_SYS_DEVS, +}; + #ifndef __ASSEMBLY__ /* The "residual" data board information structure the boot loader * hands to us. @@ -70,6 +93,10 @@ extern unsigned char __res[]; #endif +#ifndef BOARD_CHIP_NAME +#define BOARD_CHIP_NAME "" +#endif + #endif /* CONFIG_8260 */ #endif /* !__ASM_PPC_MPC8260_H__ */ #endif /* __KERNEL__ */