From: Hong Xu Date: Thu, 8 Dec 2011 04:44:21 +0000 (+0800) Subject: ARM: at91: Update struct atmel_nand_data to support PMECC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb273c8f9399f81e20222448c475ecc362a083f3;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Nicolas Ferre --- 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; };