Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296671
b: refs/heads/master
c: 3dcb7ea
h: refs/heads/master
i:
  296669: 5ffcf3d
  296667: e6c1981
  296663: 6a05fa1
  296655: a2b9cce
  296639: b43d424
v: v3
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD committed Mar 15, 2012
1 parent ea89b39 commit 8308ecb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 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: bf4289cba02b8cf770ecd7959ca70839f0dd9d3c
refs/heads/master: 3dcb7ea137c882580d4d421077e9097ef099a3a9
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/atmel_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
}
}

if (on_flash_bbt) {
if (host->board->on_flash_bbt || on_flash_bbt) {
printk(KERN_INFO "atmel_nand: Use On Flash BBT\n");
nand_chip->bbt_options |= NAND_BBT_USE_FLASH;
}
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/platform_data/atmel.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ struct atmel_nand_data {
u8 cle; /* address line number connected to CLE */
u8 bus_width_16; /* buswidth is 16 bit */
u8 ecc_mode; /* ecc mode */
u8 on_flash_bbt; /* bbt on flash */
struct mtd_partition *parts;
unsigned int num_parts;
};
Expand Down

0 comments on commit 8308ecb

Please sign in to comment.