diff options
Diffstat (limited to 'arch/arm/mach-msm/board-halibut.c')
-rw-r--r-- | arch/arm/mach-msm/board-halibut.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/board-halibut.c b/arch/arm/mach-msm/board-halibut.c index e61967dde9a..7bd72e8f127 100644 --- a/arch/arm/mach-msm/board-halibut.c +++ b/arch/arm/mach-msm/board-halibut.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <asm/mach/arch.h> | 26 | #include <asm/mach/arch.h> |
27 | #include <asm/mach/map.h> | 27 | #include <asm/mach/map.h> |
28 | #include <asm/mach/flash.h> | 28 | #include <asm/mach/flash.h> |
29 | #include <asm/setup.h> | ||
29 | 30 | ||
30 | #include <mach/irqs.h> | 31 | #include <mach/irqs.h> |
31 | #include <mach/board.h> | 32 | #include <mach/board.h> |
@@ -77,14 +78,28 @@ static void __init halibut_init(void) | |||
77 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 78 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
78 | } | 79 | } |
79 | 80 | ||
81 | static void __init halibut_fixup(struct machine_desc *desc, struct tag *tags, | ||
82 | char **cmdline, struct meminfo *mi) | ||
83 | { | ||
84 | mi->nr_banks=1; | ||
85 | mi->bank[0].start = PHYS_OFFSET; | ||
86 | mi->bank[0].node = PHYS_TO_NID(PHYS_OFFSET); | ||
87 | mi->bank[0].size = (101*1024*1024); | ||
88 | } | ||
89 | |||
80 | static void __init halibut_map_io(void) | 90 | static void __init halibut_map_io(void) |
81 | { | 91 | { |
82 | msm_map_common_io(); | 92 | msm_map_common_io(); |
83 | msm_clock_init(); | 93 | msm_clock_init(msm_clocks_7x01a, msm_num_clocks_7x01a); |
84 | } | 94 | } |
85 | 95 | ||
86 | MACHINE_START(HALIBUT, "Halibut Board (QCT SURF7200A)") | 96 | MACHINE_START(HALIBUT, "Halibut Board (QCT SURF7200A)") |
97 | #ifdef CONFIG_MSM_DEBUG_UART | ||
98 | .phys_io = MSM_DEBUG_UART_PHYS, | ||
99 | .io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc, | ||
100 | #endif | ||
87 | .boot_params = 0x10000100, | 101 | .boot_params = 0x10000100, |
102 | .fixup = halibut_fixup, | ||
88 | .map_io = halibut_map_io, | 103 | .map_io = halibut_map_io, |
89 | .init_irq = halibut_init_irq, | 104 | .init_irq = halibut_init_irq, |
90 | .init_machine = halibut_init, | 105 | .init_machine = halibut_init, |