mpc8xx.h 793 B

1234567891011121314151617181920212223242526272829303132
  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. #ifdef CONFIG_8xx
  11. #ifdef CONFIG_FADS
  12. #include <platforms/fads.h>
  13. #endif
  14. #if defined(CONFIG_MPC86XADS)
  15. #include <platforms/8xx/mpc86xads.h>
  16. #endif
  17. #if defined(CONFIG_MPC885ADS)
  18. #include <platforms/8xx/mpc885ads.h>
  19. #endif
  20. #ifdef CONFIG_PCMCIA_M8XX
  21. extern struct mpc8xx_pcmcia_ops m8xx_pcmcia_ops;
  22. #endif
  23. #endif /* CONFIG_8xx */
  24. #endif /* __CONFIG_8xx_DEFS */
  25. #endif /* __KERNEL__ */