Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | /* * * Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu> * * Module name: ibm4xx.h * * Description: * A generic include file which pulls in appropriate include files * for specific board types based on configuration settings. * */ #ifdef __KERNEL__ #ifndef __ASM_IBM4XX_H__ #define __ASM_IBM4XX_H__ #include <linux/config.h> #ifdef CONFIG_40x #if defined(CONFIG_ASH) #include <platforms/4xx/ash.h> #endif #if defined (CONFIG_CEDAR) #include <platforms/4xx/cedar.h> #endif #if defined(CONFIG_CPCI405) #include <platforms/4xx/cpci405.h> #endif #if defined(CONFIG_EP405) #include <platforms/4xx/ep405.h> #endif #if defined(CONFIG_OAK) #include <platforms/4xx/oak.h> #endif #if defined(CONFIG_REDWOOD_4) #include <platforms/4xx/redwood.h> #endif #if defined(CONFIG_REDWOOD_5) #include <platforms/4xx/redwood5.h> #endif #if defined(CONFIG_WALNUT) #include <platforms/4xx/walnut.h> #endif #ifndef __ASSEMBLY__ /* * The "residual" board information structure the boot loader passes * into the kernel. */ extern bd_t __res; void ppc4xx_setup_arch(void); void ppc4xx_map_io(void); void ppc4xx_init_IRQ(void); void ppc4xx_init(unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7); #endif #ifndef PPC4xx_MACHINE_NAME #define PPC4xx_MACHINE_NAME "Unidentified 4xx class" #endif /* IO_BASE is for PCI I/O. * ISA not supported, just here to resolve copilation. */ #ifndef _IO_BASE #define _IO_BASE 0xe8000000 /* The PCI address window */ #define _ISA_MEM_BASE 0 #define PCI_DRAM_OFFSET 0 #endif #elif CONFIG_44x #if defined(CONFIG_EBONY) #include <platforms/4xx/ebony.h> #endif #if defined(CONFIG_OCOTEA) #include <platforms/4xx/ocotea.h> #endif #ifndef __ASSEMBLY__ /* * The "residual" board information structure the boot loader passes * into the kernel. */ extern bd_t __res; #endif #endif /* CONFIG_40x */ #endif /* __ASM_IBM4XX_H__ */ #endif /* __KERNEL__ */ |