Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372350
b: refs/heads/master
c: acc7998
h: refs/heads/master
v: v3
  • Loading branch information
Jon Hunter committed Apr 4, 2013
1 parent 570c3dd commit 201b477
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 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: cdd6928c589a2dcf084bd62fa5a2b7db1516187b
refs/heads/master: acc79980c92ca9e8a39115b60ca832718a8156df
16 changes: 10 additions & 6 deletions trunk/arch/arm/mach-omap2/gpmc-nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,16 @@ int gpmc_nand_init(struct omap_nand_platform_data *gpmc_nand_data,
return err;
}

s.device_nand = true;

/* Enable RD PIN Monitoring Reg */
if (gpmc_nand_data->dev_ready) {
s.wait_on_read = true;
s.wait_on_write = true;
if (gpmc_nand_data->of_node) {
gpmc_read_settings_dt(gpmc_nand_data->of_node, &s);
} else {
s.device_nand = true;

/* Enable RD PIN Monitoring Reg */
if (gpmc_nand_data->dev_ready) {
s.wait_on_read = true;
s.wait_on_write = true;
}
}

if (gpmc_nand_data->devsize == NAND_BUSWIDTH_16)
Expand Down

0 comments on commit 201b477

Please sign in to comment.