aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-realview
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-04-18 17:43:10 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2008-04-18 17:43:10 -0400
commita44ddfd5bf5354281eebd0f0ae0d6dcf8818fc5c (patch)
tree9f377ae5af5ab2d1ec802dde4b3c2451b197b649 /include/asm-arm/arch-realview
parent073b6ff3b94c4737c91c45ed0f0c4d40cf1cb1c8 (diff)
RealView: Move the flash definitions out of platform.h
This patch moves the patch definitions into board-eb.h and realview_eb.c (from core.c) as they are different on the PB11MPCore and PB1176 platforms. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include/asm-arm/arch-realview')
-rw-r--r--include/asm-arm/arch-realview/board-eb.h3
-rw-r--r--include/asm-arm/arch-realview/platform.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-arm/arch-realview/board-eb.h b/include/asm-arm/arch-realview/board-eb.h
index cacfdbbc2e4e..8adb81e7d1b9 100644
--- a/include/asm-arm/arch-realview/board-eb.h
+++ b/include/asm-arm/arch-realview/board-eb.h
@@ -29,6 +29,9 @@
29#define REALVIEW_EB_GIC_CPU_BASE 0x10040000 /* Generic interrupt controller CPU interface */ 29#define REALVIEW_EB_GIC_CPU_BASE 0x10040000 /* Generic interrupt controller CPU interface */
30#define REALVIEW_EB_GIC_DIST_BASE 0x10041000 /* Generic interrupt controller distributor */ 30#define REALVIEW_EB_GIC_DIST_BASE 0x10041000 /* Generic interrupt controller distributor */
31 31
32#define REALVIEW_EB_FLASH_BASE 0x40000000
33#define REALVIEW_EB_FLASH_SIZE SZ_64M
34
32#ifdef CONFIG_REALVIEW_EB_ARM11MP_REVB 35#ifdef CONFIG_REALVIEW_EB_ARM11MP_REVB
33#define REALVIEW_EB11MP_SCU_BASE 0x10100000 /* SCU registers */ 36#define REALVIEW_EB11MP_SCU_BASE 0x10100000 /* SCU registers */
34#define REALVIEW_EB11MP_GIC_CPU_BASE 0x10100100 /* Generic interrupt controller CPU interface */ 37#define REALVIEW_EB11MP_GIC_CPU_BASE 0x10100100 /* Generic interrupt controller CPU interface */
diff --git a/include/asm-arm/arch-realview/platform.h b/include/asm-arm/arch-realview/platform.h
index 5ff6c8b303b1..08d6f05ce0a1 100644
--- a/include/asm-arm/arch-realview/platform.h
+++ b/include/asm-arm/arch-realview/platform.h
@@ -32,9 +32,6 @@
32#define REALVIEW_SSRAM_BASE /* REALVIEW_SSMC_BASE ? */ 32#define REALVIEW_SSRAM_BASE /* REALVIEW_SSMC_BASE ? */
33#define REALVIEW_SSRAM_SIZE SZ_2M 33#define REALVIEW_SSRAM_SIZE SZ_2M
34 34
35#define REALVIEW_FLASH_BASE 0x40000000
36#define REALVIEW_FLASH_SIZE SZ_64M
37
38/* 35/*
39 * SDRAM 36 * SDRAM
40 */ 37 */