Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340179
b: refs/heads/master
c: 0449410
h: refs/heads/master
i:
  340177: 1f014fa
  340175: 71c4d7b
v: v3
  • Loading branch information
Sasha Levin authored and Tony Lindgren committed Nov 12, 2012
1 parent ce4aae7 commit 2e0bc66
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63d5fc0c2f748e20f38a0a0ec1c8494bddf5c288
refs/heads/master: 0449410b0b8aeafa9b7e8bb719e4eeda8a5623fd
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-omap1/board-fsample.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,7 @@ static void __init omap_fsample_init(void)

fsample_init_smc91x();

if (gpio_request(FSAMPLE_NAND_RB_GPIO_PIN, "NAND ready") < 0)
BUG();
BUG_ON(gpio_request(FSAMPLE_NAND_RB_GPIO_PIN, "NAND ready") < 0);
gpio_direction_input(FSAMPLE_NAND_RB_GPIO_PIN);

omap_cfg_reg(L3_1610_FLASH_CS2B_OE);
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-omap1/board-h2.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,7 @@ static void __init h2_init(void)

h2_nand_resource.end = h2_nand_resource.start = OMAP_CS2B_PHYS;
h2_nand_resource.end += SZ_4K - 1;
if (gpio_request(H2_NAND_RB_GPIO_PIN, "NAND ready") < 0)
BUG();
BUG_ON(gpio_request(H2_NAND_RB_GPIO_PIN, "NAND ready") < 0);
gpio_direction_input(H2_NAND_RB_GPIO_PIN);

omap_cfg_reg(L3_1610_FLASH_CS2B_OE);
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-omap1/board-h3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-omap1/board-perseus2.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ static void __init omap_perseus2_init(void)

perseus2_init_smc91x();

if (gpio_request(P2_NAND_RB_GPIO_PIN, "NAND ready") < 0)
BUG();
BUG_ON(gpio_request(P2_NAND_RB_GPIO_PIN, "NAND ready") < 0);
gpio_direction_input(P2_NAND_RB_GPIO_PIN);

omap_cfg_reg(L3_1610_FLASH_CS2B_OE);
Expand Down

0 comments on commit 2e0bc66

Please sign in to comment.