diff options
author | Hong Xu <hong.xu@atmel.com> | 2011-12-08 05:44:21 +0100 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-02-03 13:45:17 +0100 |
commit | bb273c8f9399f81e20222448c475ecc362a083f3 (patch) | |
tree | ef194255514b4e6cf58f251f5126a4a2275db0e8 /arch/arm/mach-at91/include/mach/board.h | |
parent | ARM: at91/dma: DMA controller registering with DT support (diff) | |
download | linux-bb273c8f9399f81e20222448c475ecc362a083f3.tar.xz linux-bb273c8f9399f81e20222448c475ecc362a083f3.zip |
ARM: at91: Update struct atmel_nand_data to support PMECC
User will use the newly added field 'correction_cap' and
'sector_size' to pass PMECC parameters to driver.
Signed-off-by: Hong Xu <hong.xu@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/include/mach/board.h')
-rw-r--r-- | arch/arm/mach-at91/include/mach/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h index 3b33f07b1e11..6bd4161a9e34 100644 --- a/arch/arm/mach-at91/include/mach/board.h +++ b/arch/arm/mach-at91/include/mach/board.h @@ -107,6 +107,8 @@ struct atmel_nand_data { u8 ale; /* address line number connected to ALE */ u8 cle; /* address line number connected to CLE */ u8 bus_width_16; /* buswidth is 16 bit */ + u8 correction_cap; /* PMECC correction capability */ + u16 sector_size; /* Sector size for PMECC */ struct mtd_partition *parts; unsigned int num_parts; }; |