mpc85xx.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * include/asm-powerpc/mpc85xx.h
  3. *
  4. * MPC85xx definitions
  5. *
  6. * Maintainer: Kumar Gala <galak@kernel.crashing.org>
  7. *
  8. * Copyright 2004 Freescale Semiconductor, Inc
  9. *
  10. * This program is free software; you can redistribute it and/or modify it
  11. * under the terms of the GNU General Public License as published by the
  12. * Free Software Foundation; either version 2 of the License, or (at your
  13. * option) any later version.
  14. */
  15. #ifdef __KERNEL__
  16. #ifndef __ASM_MPC85xx_H__
  17. #define __ASM_MPC85xx_H__
  18. #include <asm/mmu.h>
  19. #ifdef CONFIG_85xx
  20. #if defined(CONFIG_MPC8540_ADS) || defined(CONFIG_MPC8560_ADS)
  21. #include <platforms/85xx/mpc85xx_ads.h>
  22. #endif
  23. #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS)
  24. #include <platforms/85xx/mpc8555_cds.h>
  25. #endif
  26. #ifdef CONFIG_MPC85xx_CDS
  27. #include <platforms/85xx/mpc85xx_cds.h>
  28. #endif
  29. /* Let modules/drivers get at CCSRBAR */
  30. extern phys_addr_t get_ccsrbar(void);
  31. #ifdef MODULE
  32. #define CCSRBAR get_ccsrbar()
  33. #else
  34. #define CCSRBAR BOARD_CCSRBAR
  35. #endif
  36. #endif /* CONFIG_85xx */
  37. #endif /* __ASM_MPC85xx_H__ */
  38. #endif /* __KERNEL__ */