diff options
Diffstat (limited to 'arch/arm/mach-pxa/spitz.c')
-rw-r--r-- | arch/arm/mach-pxa/spitz.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 0b11c1af51c4..840c3a48e720 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/io.h> | 32 | #include <linux/io.h> |
33 | #include <linux/module.h> | 33 | #include <linux/module.h> |
34 | #include <linux/reboot.h> | 34 | #include <linux/reboot.h> |
35 | #include <linux/memblock.h> | ||
35 | 36 | ||
36 | #include <asm/setup.h> | 37 | #include <asm/setup.h> |
37 | #include <asm/mach-types.h> | 38 | #include <asm/mach-types.h> |
@@ -971,13 +972,10 @@ static void __init spitz_init(void) | |||
971 | spitz_i2c_init(); | 972 | spitz_i2c_init(); |
972 | } | 973 | } |
973 | 974 | ||
974 | static void __init spitz_fixup(struct tag *tags, char **cmdline, | 975 | static void __init spitz_fixup(struct tag *tags, char **cmdline) |
975 | struct meminfo *mi) | ||
976 | { | 976 | { |
977 | sharpsl_save_param(); | 977 | sharpsl_save_param(); |
978 | mi->nr_banks = 1; | 978 | memblock_add(0xa0000000, SZ_64M); |
979 | mi->bank[0].start = 0xa0000000; | ||
980 | mi->bank[0].size = (64*1024*1024); | ||
981 | } | 979 | } |
982 | 980 | ||
983 | #ifdef CONFIG_MACH_SPITZ | 981 | #ifdef CONFIG_MACH_SPITZ |