diff options
author | Raphaël Poggi <poggi.raph@gmail.com> | 2014-09-01 14:27:33 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-02 09:02:40 +0200 |
commit | af8e7d3a6e765f4c318feac1197abf079e4c3719 (patch) | |
tree | 6366d6e11522ae79059a22c5fa2fa0611223e5fb /arch/arm/mach-at91 | |
parent | a4f0146e0ee3d729b78c1223375d913bb42dde78 (diff) | |
download | barebox-af8e7d3a6e765f4c318feac1197abf079e4c3719.tar.gz barebox-af8e7d3a6e765f4c318feac1197abf079e4c3719.tar.xz |
mtd: nand: add has_pmecc member
By adding this structure member, we can retrieve the pmecc config, through the device tree.
Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/include/mach/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h index aa0fdae141..e2307ed8e6 100644 --- a/arch/arm/mach-at91/include/mach/board.h +++ b/arch/arm/mach-at91/include/mach/board.h @@ -63,6 +63,7 @@ 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 has_pmecc; /* Use PMECC */ u8 bus_on_d0; u8 pmecc_corr_cap; |