mpc86xx.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 <asm/mmu.h>
  17. #ifdef CONFIG_PPC_86xx
  18. #define _IO_BASE isa_io_base
  19. #define _ISA_MEM_BASE isa_mem_base
  20. #ifdef CONFIG_PCI
  21. #define PCI_DRAM_OFFSET pci_dram_offset
  22. #else
  23. #define PCI_DRAM_OFFSET 0
  24. #endif
  25. #define CPU0_BOOT_RELEASE 0x01000000
  26. #define CPU1_BOOT_RELEASE 0x02000000
  27. #define CPU_ALL_RELEASED (CPU0_BOOT_RELEASE | CPU1_BOOT_RELEASE)
  28. #define MCM_PORT_CONFIG_OFFSET 0x1010
  29. /* Offset from CCSRBAR */
  30. #define MPC86xx_OPENPIC_OFFSET (0x40000)
  31. #define MPC86xx_MCM_OFFSET (0x00000)
  32. #define MPC86xx_MCM_SIZE (0x02000)
  33. #endif /* CONFIG_PPC_86xx */
  34. #endif /* __ASM_POWERPC_MPC86xx_H__ */
  35. #endif /* __KERNEL__ */