diff options
Diffstat (limited to 'arch/arm/mach-clps711x/board-clep7312.c')
-rw-r--r-- | arch/arm/mach-clps711x/board-clep7312.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-clps711x/board-clep7312.c b/arch/arm/mach-clps711x/board-clep7312.c index 221b9de32dd6..94a7add88a3f 100644 --- a/arch/arm/mach-clps711x/board-clep7312.c +++ b/arch/arm/mach-clps711x/board-clep7312.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
19 | #include <linux/types.h> | 19 | #include <linux/types.h> |
20 | #include <linux/string.h> | 20 | #include <linux/string.h> |
21 | #include <linux/memblock.h> | ||
21 | 22 | ||
22 | #include <asm/setup.h> | 23 | #include <asm/setup.h> |
23 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
@@ -26,11 +27,9 @@ | |||
26 | #include "common.h" | 27 | #include "common.h" |
27 | 28 | ||
28 | static void __init | 29 | static void __init |
29 | fixup_clep7312(struct tag *tags, char **cmdline, struct meminfo *mi) | 30 | fixup_clep7312(struct tag *tags, char **cmdline) |
30 | { | 31 | { |
31 | mi->nr_banks=1; | 32 | memblock_add(0xc0000000, 0x01000000); |
32 | mi->bank[0].start = 0xc0000000; | ||
33 | mi->bank[0].size = 0x01000000; | ||
34 | } | 33 | } |
35 | 34 | ||
36 | MACHINE_START(CLEP7212, "Cirrus Logic 7212/7312") | 35 | MACHINE_START(CLEP7212, "Cirrus Logic 7212/7312") |