aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/board-h2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1/board-h2.c')
-rw-r--r--arch/arm/mach-omap1/board-h2.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c
index 376f7f29ef77..2274bd677efc 100644
--- a/arch/arm/mach-omap1/board-h2.c
+++ b/arch/arm/mach-omap1/board-h2.c
@@ -39,8 +39,8 @@
39#include <asm/mach/map.h> 39#include <asm/mach/map.h>
40 40
41#include <mach/mux.h> 41#include <mach/mux.h>
42#include <plat/dma.h> 42#include <linux/omap-dma.h>
43#include <plat/tc.h> 43#include <mach/tc.h>
44#include <mach/irda.h> 44#include <mach/irda.h>
45#include <linux/platform_data/keypad-omap.h> 45#include <linux/platform_data/keypad-omap.h>
46#include <mach/flash.h> 46#include <mach/flash.h>
@@ -50,6 +50,7 @@
50 50
51#include "common.h" 51#include "common.h"
52#include "board-h2.h" 52#include "board-h2.h"
53#include "dma.h"
53 54
54/* At OMAP1610 Innovator the Ethernet is directly connected to CS1 */ 55/* At OMAP1610 Innovator the Ethernet is directly connected to CS1 */
55#define OMAP1610_ETHR_START 0x04000300 56#define OMAP1610_ETHR_START 0x04000300
@@ -411,8 +412,7 @@ static void __init h2_init(void)
411 412
412 h2_nand_resource.end = h2_nand_resource.start = OMAP_CS2B_PHYS; 413 h2_nand_resource.end = h2_nand_resource.start = OMAP_CS2B_PHYS;
413 h2_nand_resource.end += SZ_4K - 1; 414 h2_nand_resource.end += SZ_4K - 1;
414 if (gpio_request(H2_NAND_RB_GPIO_PIN, "NAND ready") < 0) 415 BUG_ON(gpio_request(H2_NAND_RB_GPIO_PIN, "NAND ready") < 0);
415 BUG();
416 gpio_direction_input(H2_NAND_RB_GPIO_PIN); 416 gpio_direction_input(H2_NAND_RB_GPIO_PIN);
417 417
418 omap_cfg_reg(L3_1610_FLASH_CS2B_OE); 418 omap_cfg_reg(L3_1610_FLASH_CS2B_OE);
@@ -458,7 +458,6 @@ MACHINE_START(OMAP_H2, "TI-H2")
458 .atag_offset = 0x100, 458 .atag_offset = 0x100,
459 .map_io = omap16xx_map_io, 459 .map_io = omap16xx_map_io,
460 .init_early = omap1_init_early, 460 .init_early = omap1_init_early,
461 .reserve = omap_reserve,
462 .init_irq = omap1_init_irq, 461 .init_irq = omap1_init_irq,
463 .init_machine = h2_init, 462 .init_machine = h2_init,
464 .init_late = omap1_init_late, 463 .init_late = omap1_init_late,