|
@@ -406,8 +406,7 @@ static void __init h3_init(void)
|
|
|
|
|
|
nand_resource.end = nand_resource.start = OMAP_CS2B_PHYS;
|
|
|
nand_resource.end += SZ_4K - 1;
|
|
|
- if (gpio_request(H3_NAND_RB_GPIO_PIN, "NAND ready") < 0)
|
|
|
- BUG();
|
|
|
+ BUG_ON(gpio_request(H3_NAND_RB_GPIO_PIN, "NAND ready") < 0);
|
|
|
gpio_direction_input(H3_NAND_RB_GPIO_PIN);
|
|
|
|
|
|
/* GPIO10 Func_MUX_CTRL reg bit 29:27, Configure V2 to mode1 as GPIO */
|