diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-23 05:54:51 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-23 05:54:51 -0400 |
commit | ad30a2bbdc20cf0111156e2aa6d2cc3e3c0d1893 (patch) | |
tree | 07e491fd3b782d47811a1b3d31d51b0a0d4630df /arch/arm/mach-u300 | |
parent | 0cd21ebcc51e6d2500e303446f68d86a6f473ccb (diff) | |
parent | af6871683e25100813d35b3d802f1ed7b90b9f3a (diff) |
Merge branch 'atag_offset' of git://git.linaro.org/people/nico/linux into devel-stable
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r-- | arch/arm/mach-u300/include/mach/memory.h | 8 | ||||
-rw-r--r-- | arch/arm/mach-u300/u300.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-u300/include/mach/memory.h b/arch/arm/mach-u300/include/mach/memory.h index 38741da0d26..7034bae95de 100644 --- a/arch/arm/mach-u300/include/mach/memory.h +++ b/arch/arm/mach-u300/include/mach/memory.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #ifdef CONFIG_MACH_U300_DUAL_RAM | 16 | #ifdef CONFIG_MACH_U300_DUAL_RAM |
17 | 17 | ||
18 | #define PLAT_PHYS_OFFSET UL(0x48000000) | 18 | #define PLAT_PHYS_OFFSET UL(0x48000000) |
19 | #define BOOT_PARAMS_OFFSET (PHYS_OFFSET + 0x100) | 19 | #define BOOT_PARAMS_OFFSET 0x100 |
20 | 20 | ||
21 | #else | 21 | #else |
22 | 22 | ||
@@ -24,14 +24,14 @@ | |||
24 | #define PLAT_PHYS_OFFSET (0x28000000 + \ | 24 | #define PLAT_PHYS_OFFSET (0x28000000 + \ |
25 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE - \ | 25 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE - \ |
26 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024) | 26 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024) |
27 | #define BOOT_PARAMS_OFFSET (0x100 + \ | ||
28 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1)*1024*1024*2) | ||
27 | #else | 29 | #else |
28 | #define PLAT_PHYS_OFFSET (0x28000000 + \ | 30 | #define PLAT_PHYS_OFFSET (0x28000000 + \ |
29 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE + \ | 31 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE + \ |
30 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024) | 32 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024) |
33 | #define BOOT_PARAMS_OFFSET 0x100 | ||
31 | #endif | 34 | #endif |
32 | #define BOOT_PARAMS_OFFSET (0x28000000 + \ | ||
33 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE + \ | ||
34 | (CONFIG_MACH_U300_ACCESS_MEM_SIZE & 1))*1024*1024 + 0x100) | ||
35 | #endif | 35 | #endif |
36 | 36 | ||
37 | #endif | 37 | #endif |
diff --git a/arch/arm/mach-u300/u300.c b/arch/arm/mach-u300/u300.c index 48b3b7f3996..80e7305589c 100644 --- a/arch/arm/mach-u300/u300.c +++ b/arch/arm/mach-u300/u300.c | |||
@@ -61,7 +61,7 @@ static void __init u300_init_machine(void) | |||
61 | 61 | ||
62 | MACHINE_START(U300, MACH_U300_STRING) | 62 | MACHINE_START(U300, MACH_U300_STRING) |
63 | /* Maintainer: Linus Walleij <linus.walleij@stericsson.com> */ | 63 | /* Maintainer: Linus Walleij <linus.walleij@stericsson.com> */ |
64 | .boot_params = BOOT_PARAMS_OFFSET, | 64 | .atag_offset = BOOT_PARAMS_OFFSET, |
65 | .map_io = u300_map_io, | 65 | .map_io = u300_map_io, |
66 | .reserve = u300_reserve, | 66 | .reserve = u300_reserve, |
67 | .init_irq = u300_init_irq, | 67 | .init_irq = u300_init_irq, |