diff options
Diffstat (limited to 'arch/arm/mach-clps711x')
-rw-r--r-- | arch/arm/mach-clps711x/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/clep7312.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/edb7211-arch.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/fortunet.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/memory.h | 2 |
5 files changed, 8 insertions, 7 deletions
diff --git a/arch/arm/mach-clps711x/Kconfig b/arch/arm/mach-clps711x/Kconfig index dbaae5f746a1..eb34bd1251d4 100644 --- a/arch/arm/mach-clps711x/Kconfig +++ b/arch/arm/mach-clps711x/Kconfig | |||
@@ -30,7 +30,6 @@ config ARCH_CLEP7312 | |||
30 | config ARCH_EDB7211 | 30 | config ARCH_EDB7211 |
31 | bool "EDB7211" | 31 | bool "EDB7211" |
32 | select ISA | 32 | select ISA |
33 | select ARCH_DISCONTIGMEM_ENABLE | ||
34 | select ARCH_SPARSEMEM_ENABLE | 33 | select ARCH_SPARSEMEM_ENABLE |
35 | select ARCH_SELECT_MEMORY_MODEL | 34 | select ARCH_SELECT_MEMORY_MODEL |
36 | help | 35 | help |
diff --git a/arch/arm/mach-clps711x/clep7312.c b/arch/arm/mach-clps711x/clep7312.c index 09fb57e45213..3c3bf45039ff 100644 --- a/arch/arm/mach-clps711x/clep7312.c +++ b/arch/arm/mach-clps711x/clep7312.c | |||
@@ -32,7 +32,6 @@ fixup_clep7312(struct machine_desc *desc, struct tag *tags, | |||
32 | mi->nr_banks=1; | 32 | mi->nr_banks=1; |
33 | mi->bank[0].start = 0xc0000000; | 33 | mi->bank[0].start = 0xc0000000; |
34 | mi->bank[0].size = 0x01000000; | 34 | mi->bank[0].size = 0x01000000; |
35 | mi->bank[0].node = 0; | ||
36 | } | 35 | } |
37 | 36 | ||
38 | 37 | ||
diff --git a/arch/arm/mach-clps711x/edb7211-arch.c b/arch/arm/mach-clps711x/edb7211-arch.c index dc81cc68595d..4a7a2322979a 100644 --- a/arch/arm/mach-clps711x/edb7211-arch.c +++ b/arch/arm/mach-clps711x/edb7211-arch.c | |||
@@ -18,6 +18,7 @@ | |||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | */ | 19 | */ |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/memblock.h> | ||
21 | #include <linux/types.h> | 22 | #include <linux/types.h> |
22 | #include <linux/string.h> | 23 | #include <linux/string.h> |
23 | 24 | ||
@@ -29,6 +30,12 @@ | |||
29 | 30 | ||
30 | extern void edb7211_map_io(void); | 31 | extern void edb7211_map_io(void); |
31 | 32 | ||
33 | /* Reserve screen memory region at the start of main system memory. */ | ||
34 | static void __init edb7211_reserve(void) | ||
35 | { | ||
36 | memblock_reserve(PHYS_OFFSET, 0x00020000); | ||
37 | } | ||
38 | |||
32 | static void __init | 39 | static void __init |
33 | fixup_edb7211(struct machine_desc *desc, struct tag *tags, | 40 | fixup_edb7211(struct machine_desc *desc, struct tag *tags, |
34 | char **cmdline, struct meminfo *mi) | 41 | char **cmdline, struct meminfo *mi) |
@@ -43,10 +50,8 @@ fixup_edb7211(struct machine_desc *desc, struct tag *tags, | |||
43 | */ | 50 | */ |
44 | mi->bank[0].start = 0xc0000000; | 51 | mi->bank[0].start = 0xc0000000; |
45 | mi->bank[0].size = 8*1024*1024; | 52 | mi->bank[0].size = 8*1024*1024; |
46 | mi->bank[0].node = 0; | ||
47 | mi->bank[1].start = 0xc1000000; | 53 | mi->bank[1].start = 0xc1000000; |
48 | mi->bank[1].size = 8*1024*1024; | 54 | mi->bank[1].size = 8*1024*1024; |
49 | mi->bank[1].node = 1; | ||
50 | mi->nr_banks = 2; | 55 | mi->nr_banks = 2; |
51 | } | 56 | } |
52 | 57 | ||
@@ -57,6 +62,7 @@ MACHINE_START(EDB7211, "CL-EDB7211 (EP7211 eval board)") | |||
57 | .boot_params = 0xc0020100, /* 0xc0000000 - 0xc001ffff can be video RAM */ | 62 | .boot_params = 0xc0020100, /* 0xc0000000 - 0xc001ffff can be video RAM */ |
58 | .fixup = fixup_edb7211, | 63 | .fixup = fixup_edb7211, |
59 | .map_io = edb7211_map_io, | 64 | .map_io = edb7211_map_io, |
65 | .reserve = edb7211_reserve, | ||
60 | .init_irq = clps711x_init_irq, | 66 | .init_irq = clps711x_init_irq, |
61 | .timer = &clps711x_timer, | 67 | .timer = &clps711x_timer, |
62 | MACHINE_END | 68 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/fortunet.c b/arch/arm/mach-clps711x/fortunet.c index 7430e4049d87..a696099aa4f8 100644 --- a/arch/arm/mach-clps711x/fortunet.c +++ b/arch/arm/mach-clps711x/fortunet.c | |||
@@ -39,7 +39,6 @@ struct meminfo memmap = { | |||
39 | { | 39 | { |
40 | .start = 0xC0000000, | 40 | .start = 0xC0000000, |
41 | .size = 0x01000000, | 41 | .size = 0x01000000, |
42 | .node = 0 | ||
43 | }, | 42 | }, |
44 | }, | 43 | }, |
45 | }; | 44 | }; |
diff --git a/arch/arm/mach-clps711x/include/mach/memory.h b/arch/arm/mach-clps711x/include/mach/memory.h index f70d52be48a2..f45c8e892cb5 100644 --- a/arch/arm/mach-clps711x/include/mach/memory.h +++ b/arch/arm/mach-clps711x/include/mach/memory.h | |||
@@ -20,7 +20,6 @@ | |||
20 | #ifndef __ASM_ARCH_MEMORY_H | 20 | #ifndef __ASM_ARCH_MEMORY_H |
21 | #define __ASM_ARCH_MEMORY_H | 21 | #define __ASM_ARCH_MEMORY_H |
22 | 22 | ||
23 | |||
24 | /* | 23 | /* |
25 | * Physical DRAM offset. | 24 | * Physical DRAM offset. |
26 | */ | 25 | */ |
@@ -72,7 +71,6 @@ | |||
72 | * node 2: 0xd0000000 - 0xd7ffffff | 71 | * node 2: 0xd0000000 - 0xd7ffffff |
73 | * node 3: 0xd8000000 - 0xdfffffff | 72 | * node 3: 0xd8000000 - 0xdfffffff |
74 | */ | 73 | */ |
75 | #define NODE_MEM_SIZE_BITS 24 | ||
76 | #define SECTION_SIZE_BITS 24 | 74 | #define SECTION_SIZE_BITS 24 |
77 | #define MAX_PHYSMEM_BITS 32 | 75 | #define MAX_PHYSMEM_BITS 32 |
78 | 76 | ||