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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c
index 9134b646f01b..4953cf7a5123 100644
--- a/arch/arm/mach-omap1/board-h2.c
+++ b/arch/arm/mach-omap1/board-h2.c
@@ -412,8 +412,7 @@ static void __init h2_init(void)
412 412
413 h2_nand_resource.end = h2_nand_resource.start = OMAP_CS2B_PHYS; 413 h2_nand_resource.end = h2_nand_resource.start = OMAP_CS2B_PHYS;
414 h2_nand_resource.end += SZ_4K - 1; 414 h2_nand_resource.end += SZ_4K - 1;
415 if (gpio_request(H2_NAND_RB_GPIO_PIN, "NAND ready") < 0) 415 BUG_ON(gpio_request(H2_NAND_RB_GPIO_PIN, "NAND ready") < 0);
416 BUG();
417 gpio_direction_input(H2_NAND_RB_GPIO_PIN); 416 gpio_direction_input(H2_NAND_RB_GPIO_PIN);
418 417
419 omap_cfg_reg(L3_1610_FLASH_CS2B_OE); 418 omap_cfg_reg(L3_1610_FLASH_CS2B_OE);