mpc86xx.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * MPC86xx definitions
  3. *
  4. * Author: Jeff Brown
  5. *
  6. * Copyright 2004 Freescale Semiconductor, Inc
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. */
  13. #ifdef __KERNEL__
  14. #ifndef __ASM_POWERPC_MPC86xx_H__
  15. #define __ASM_POWERPC_MPC86xx_H__
  16. #include <linux/config.h>
  17. #include <asm/mmu.h>
  18. #ifdef CONFIG_PPC_86xx
  19. #ifdef CONFIG_MPC8641_HPCN
  20. #include <platforms/86xx/mpc8641_hpcn.h>
  21. #endif
  22. #define _IO_BASE isa_io_base
  23. #define _ISA_MEM_BASE isa_mem_base
  24. #ifdef CONFIG_PCI
  25. #define PCI_DRAM_OFFSET pci_dram_offset
  26. #else
  27. #define PCI_DRAM_OFFSET 0
  28. #endif
  29. #define CPU0_BOOT_RELEASE 0x01000000
  30. #define CPU1_BOOT_RELEASE 0x02000000
  31. #define CPU_ALL_RELEASED (CPU0_BOOT_RELEASE | CPU1_BOOT_RELEASE)
  32. #define MCM_PORT_CONFIG_OFFSET 0x1010
  33. /* Offset from CCSRBAR */
  34. #define MPC86xx_OPENPIC_OFFSET (0x40000)
  35. #define MPC86xx_MCM_OFFSET (0x00000)
  36. #define MPC86xx_MCM_SIZE (0x02000)
  37. #endif /* CONFIG_PPC_86xx */
  38. #endif /* __ASM_POWERPC_MPC86xx_H__ */
  39. #endif /* __KERNEL__ */