aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-06-05 03:55:31 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-06-12 07:49:57 -0400
commit4f309d272f7139278f52cf1e2dcf5b2bc8c029d9 (patch)
tree4d9b44880dd88ba4cdde634ad13c8fe92a477f4b
parent2a58009599ff0d2bdbe7e3a9a11a0d838868634d (diff)
ARM: shmobile: Remove romImage CONFIG_MEMORY_START
Instead of relying on CONFIG_MEMORY_START for memory base address, let each romImage board header file specify this information. This is reworks code not to rely on CONFIG_MEMORY_START which in turn is needed for ARCH_MULTIPLATFORM. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/compressed/head-shmobile.S2
-rw-r--r--arch/arm/mach-shmobile/include/mach/zboot.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/compressed/head-shmobile.S b/arch/arm/boot/compressed/head-shmobile.S
index 19b2304436fa..e2d636336b7c 100644
--- a/arch/arm/boot/compressed/head-shmobile.S
+++ b/arch/arm/boot/compressed/head-shmobile.S
@@ -46,7 +46,7 @@ __image_start:
46__image_end: 46__image_end:
47 .long _got_end 47 .long _got_end
48__load_base: 48__load_base:
49 .long CONFIG_MEMORY_START + 0x02000000 @ Load at 32Mb into SDRAM 49 .long MEMORY_START + 0x02000000 @ Load at 32Mb into SDRAM
50__loaded: 50__loaded:
51 .long __continue 51 .long __continue
52 .align 52 .align
diff --git a/arch/arm/mach-shmobile/include/mach/zboot.h b/arch/arm/mach-shmobile/include/mach/zboot.h
index 9320aff0a20f..308b5cfd1c16 100644
--- a/arch/arm/mach-shmobile/include/mach/zboot.h
+++ b/arch/arm/mach-shmobile/include/mach/zboot.h
@@ -12,9 +12,11 @@
12 12
13#ifdef CONFIG_MACH_AP4EVB 13#ifdef CONFIG_MACH_AP4EVB
14#define MACH_TYPE MACH_TYPE_AP4EVB 14#define MACH_TYPE MACH_TYPE_AP4EVB
15#define MEMORY_START 0x40000000
15#include "mach/head-ap4evb.txt" 16#include "mach/head-ap4evb.txt"
16#elif defined(CONFIG_MACH_MACKEREL) 17#elif defined(CONFIG_MACH_MACKEREL)
17#define MACH_TYPE MACH_TYPE_MACKEREL 18#define MACH_TYPE MACH_TYPE_MACKEREL
19#define MEMORY_START 0x40000000
18#include "mach/head-mackerel.txt" 20#include "mach/head-mackerel.txt"
19#else 21#else
20#error "unsupported board." 22#error "unsupported board."