diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-10-17 20:04:23 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-21 10:33:48 +0200 |
commit | 70ecd92d05ad8976a290ec69860bf4c4baad961d (patch) | |
tree | b019ecc244ac578d931c9c6284721bce3f7c76a3 /arch | |
parent | 006538e7c2c21eced61033813591e5cacf569108 (diff) | |
download | barebox-70ecd92d05ad8976a290ec69860bf4c4baad961d.tar.gz barebox-70ecd92d05ad8976a290ec69860bf4c4baad961d.tar.xz |
nand: atmel add pmecc support
This patch is from linux 3.7-rc1 and adapt to Barebox
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-at91/include/mach/board.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h index 670c73d8d8..af436a81e9 100644 --- a/arch/arm/mach-at91/include/mach/board.h +++ b/arch/arm/mach-at91/include/mach/board.h @@ -53,6 +53,10 @@ struct atmel_nand_data { u8 bus_width_16; /* buswidth is 16 bit */ u8 ecc_mode; /* NAND_ECC_* */ u8 on_flash_bbt; /* Use flash based bbt */ + + u8 pmecc_corr_cap; + u16 pmecc_sector_size; + u32 pmecc_lookup_table_offset; }; void at91_add_device_nand(struct atmel_nand_data *data); |