diff options
author | Jon Loeliger <jdl@jdl.com> | 2006-06-17 17:52:51 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-21 15:01:28 +1000 |
commit | 6b543404058a5ffdca8c48e95e0b8a69bb4bdba9 (patch) | |
tree | 0bde02196ca8de01df257679ddfc6ae66404472b /include/asm-powerpc/mpc86xx.h | |
parent | b809b3e86f39651475b30ceb1caf535071534d4d (diff) | |
download | kernel_samsung_smdk4412-6b543404058a5ffdca8c48e95e0b8a69bb4bdba9.zip kernel_samsung_smdk4412-6b543404058a5ffdca8c48e95e0b8a69bb4bdba9.tar.gz kernel_samsung_smdk4412-6b543404058a5ffdca8c48e95e0b8a69bb4bdba9.tar.bz2 |
[POWERPC] Add 8641 Register space and IRQ definitions.
Signed-off-by: Jeff Brown <Jeff.Brown@freescale.com>
Signed-off-by: Xianghua Xiao <x.xiao@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/mpc86xx.h')
-rw-r--r-- | include/asm-powerpc/mpc86xx.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/include/asm-powerpc/mpc86xx.h b/include/asm-powerpc/mpc86xx.h new file mode 100644 index 0000000..d0a6718 --- /dev/null +++ b/include/asm-powerpc/mpc86xx.h @@ -0,0 +1,47 @@ +/* + * MPC86xx definitions + * + * Author: Jeff Brown + * + * Copyright 2004 Freescale Semiconductor, Inc + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#ifdef __KERNEL__ +#ifndef __ASM_POWERPC_MPC86xx_H__ +#define __ASM_POWERPC_MPC86xx_H__ + +#include <linux/config.h> +#include <asm/mmu.h> + +#ifdef CONFIG_PPC_86xx + +#ifdef CONFIG_MPC8641_HPCN +#include <platforms/86xx/mpc8641_hpcn.h> +#endif + +#define _IO_BASE isa_io_base +#define _ISA_MEM_BASE isa_mem_base +#ifdef CONFIG_PCI +#define PCI_DRAM_OFFSET pci_dram_offset +#else +#define PCI_DRAM_OFFSET 0 +#endif + +#define CPU0_BOOT_RELEASE 0x01000000 +#define CPU1_BOOT_RELEASE 0x02000000 +#define CPU_ALL_RELEASED (CPU0_BOOT_RELEASE | CPU1_BOOT_RELEASE) +#define MCM_PORT_CONFIG_OFFSET 0x1010 + +/* Offset from CCSRBAR */ +#define MPC86xx_OPENPIC_OFFSET (0x40000) +#define MPC86xx_MCM_OFFSET (0x00000) +#define MPC86xx_MCM_SIZE (0x02000) + +#endif /* CONFIG_PPC_86xx */ +#endif /* __ASM_POWERPC_MPC86xx_H__ */ +#endif /* __KERNEL__ */ |