diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-h3.c')
-rw-r--r-- | arch/arm/mach-omap1/board-h3.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index ededdb7ef28c..563ba167bb16 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c | |||
@@ -41,9 +41,9 @@ | |||
41 | #include <asm/mach/map.h> | 41 | #include <asm/mach/map.h> |
42 | 42 | ||
43 | #include <mach/mux.h> | 43 | #include <mach/mux.h> |
44 | #include <plat/tc.h> | 44 | #include <mach/tc.h> |
45 | #include <linux/platform_data/keypad-omap.h> | 45 | #include <linux/platform_data/keypad-omap.h> |
46 | #include <plat/dma.h> | 46 | #include <plat-omap/dma-omap.h> |
47 | #include <mach/flash.h> | 47 | #include <mach/flash.h> |
48 | 48 | ||
49 | #include <mach/hardware.h> | 49 | #include <mach/hardware.h> |
@@ -406,8 +406,7 @@ static void __init h3_init(void) | |||
406 | 406 | ||
407 | nand_resource.end = nand_resource.start = OMAP_CS2B_PHYS; | 407 | nand_resource.end = nand_resource.start = OMAP_CS2B_PHYS; |
408 | nand_resource.end += SZ_4K - 1; | 408 | nand_resource.end += SZ_4K - 1; |
409 | if (gpio_request(H3_NAND_RB_GPIO_PIN, "NAND ready") < 0) | 409 | BUG_ON(gpio_request(H3_NAND_RB_GPIO_PIN, "NAND ready") < 0); |
410 | BUG(); | ||
411 | gpio_direction_input(H3_NAND_RB_GPIO_PIN); | 410 | gpio_direction_input(H3_NAND_RB_GPIO_PIN); |
412 | 411 | ||
413 | /* GPIO10 Func_MUX_CTRL reg bit 29:27, Configure V2 to mode1 as GPIO */ | 412 | /* GPIO10 Func_MUX_CTRL reg bit 29:27, Configure V2 to mode1 as GPIO */ |
@@ -452,7 +451,6 @@ MACHINE_START(OMAP_H3, "TI OMAP1710 H3 board") | |||
452 | .atag_offset = 0x100, | 451 | .atag_offset = 0x100, |
453 | .map_io = omap16xx_map_io, | 452 | .map_io = omap16xx_map_io, |
454 | .init_early = omap1_init_early, | 453 | .init_early = omap1_init_early, |
455 | .reserve = omap_reserve, | ||
456 | .init_irq = omap1_init_irq, | 454 | .init_irq = omap1_init_irq, |
457 | .init_machine = h3_init, | 455 | .init_machine = h3_init, |
458 | .init_late = omap1_init_late, | 456 | .init_late = omap1_init_late, |