mpc8xx.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /* This is the single file included by all MPC8xx build options.
  2. * Since there are many different boards and no standard configuration,
  3. * we have a unique include file for each. Rather than change every
  4. * file that has to include MPC8xx configuration, they all include
  5. * this one and the configuration switching is done here.
  6. */
  7. #ifdef __KERNEL__
  8. #ifndef __CONFIG_8xx_DEFS
  9. #define __CONFIG_8xx_DEFS
  10. #include <linux/config.h>
  11. #ifdef CONFIG_8xx
  12. #ifdef CONFIG_MBX
  13. #include <platforms/mbx.h>
  14. #endif
  15. #ifdef CONFIG_FADS
  16. #include <platforms/fads.h>
  17. #endif
  18. #ifdef CONFIG_RPXLITE
  19. #include <platforms/rpxlite.h>
  20. #endif
  21. #ifdef CONFIG_BSEIP
  22. #include <platforms/bseip.h>
  23. #endif
  24. #ifdef CONFIG_RPXCLASSIC
  25. #include <platforms/rpxclassic.h>
  26. #endif
  27. #if defined(CONFIG_TQM8xxL)
  28. #include <platforms/tqm8xx.h>
  29. #endif
  30. #if defined(CONFIG_IVMS8) || defined(CONFIG_IVML24)
  31. #include <platforms/ivms8.h>
  32. #endif
  33. #if defined(CONFIG_HERMES_PRO)
  34. #include <platforms/hermes.h>
  35. #endif
  36. #if defined(CONFIG_IP860)
  37. #include <platforms/ip860.h>
  38. #endif
  39. #if defined(CONFIG_LWMON)
  40. #include <platforms/lwmon.h>
  41. #endif
  42. #if defined(CONFIG_PCU_E)
  43. #include <platforms/pcu_e.h>
  44. #endif
  45. #if defined(CONFIG_CCM)
  46. #include <platforms/ccm.h>
  47. #endif
  48. #if defined(CONFIG_LANTEC)
  49. #include <platforms/lantec.h>
  50. #endif
  51. #if defined(CONFIG_MPC885ADS)
  52. #include <platforms/mpc885ads.h>
  53. #endif
  54. /* Currently, all 8xx boards that support a processor to PCI/ISA bridge
  55. * use the same memory map.
  56. */
  57. #if 0
  58. #if defined(CONFIG_PCI) && defined(PCI_ISA_IO_ADDR)
  59. #define _IO_BASE PCI_ISA_IO_ADDR
  60. #define _ISA_MEM_BASE PCI_ISA_MEM_ADDR
  61. #define PCI_DRAM_OFFSET 0x80000000
  62. #else
  63. #define _IO_BASE 0
  64. #define _ISA_MEM_BASE 0
  65. #define PCI_DRAM_OFFSET 0
  66. #endif
  67. #else
  68. #if !defined(_IO_BASE) /* defined in board specific header */
  69. #define _IO_BASE 0
  70. #endif
  71. #define _ISA_MEM_BASE 0
  72. #define PCI_DRAM_OFFSET 0
  73. #endif
  74. #ifndef __ASSEMBLY__
  75. /* The "residual" data board information structure the boot loader
  76. * hands to us.
  77. */
  78. extern unsigned char __res[];
  79. struct pt_regs;
  80. #endif /* !__ASSEMBLY__ */
  81. #endif /* CONFIG_8xx */
  82. #endif /* __CONFIG_8xx_DEFS */
  83. #endif /* __KERNEL__ */