aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/board-halibut.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-msm/board-halibut.c')
-rw-r--r--arch/arm/mach-msm/board-halibut.c22
1 files changed, 17 insertions, 5 deletions
diff --git a/arch/arm/mach-msm/board-halibut.c b/arch/arm/mach-msm/board-halibut.c
index e61967dde9a..61bfe584a9d 100644
--- a/arch/arm/mach-msm/board-halibut.c
+++ b/arch/arm/mach-msm/board-halibut.c
@@ -26,15 +26,16 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/flash.h>
+#include <asm/setup.h>
#include <mach/irqs.h>
-#include <mach/board.h>
#include <mach/msm_iomap.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include "devices.h"
+#include "common.h"
static struct resource smc91x_resources[] = {
[0] = {
@@ -57,6 +58,8 @@ static struct platform_device smc91x_device = {
};
static struct platform_device *devices[] __initdata = {
+ &msm_clock_7x01a,
+ &msm_device_gpio_7201,
&msm_device_uart3,
&msm_device_smd,
&msm_device_nand,
@@ -65,7 +68,10 @@ static struct platform_device *devices[] __initdata = {
&smc91x_device,
};
-extern struct sys_timer msm_timer;
+static void __init halibut_init_early(void)
+{
+ arch_ioremap_caller = __msm_ioremap_caller;
+}
static void __init halibut_init_irq(void)
{
@@ -80,13 +86,19 @@ static void __init halibut_init(void)
static void __init halibut_map_io(void)
{
msm_map_common_io();
- msm_clock_init();
+}
+
+static void __init halibut_init_late(void)
+{
+ smd_debugfs_init();
}
MACHINE_START(HALIBUT, "Halibut Board (QCT SURF7200A)")
- .boot_params = 0x10000100,
+ .atag_offset = 0x100,
.map_io = halibut_map_io,
+ .init_early = halibut_init_early,
.init_irq = halibut_init_irq,
.init_machine = halibut_init,
- .timer = &msm_timer,
+ .init_late = halibut_init_late,
+ .init_time = msm7x01_timer_init,
MACHINE_END