diff mbox

DM365: Update NAND driver platform data

Message ID 1253156413-9765-1-git-send-email-nsnehaprabha@ti.com (mailing list archive)
State Accepted
Headers show

Commit Message

nsnehaprabha@ti.com Sept. 17, 2009, 3 a.m. UTC
From: Sneha Narnakaje <nsnehaprabha@ti.com>

This patch updates the NAND driver platform data to use 4-bit ECC and the
ECC_HW/ECC_HW_OOB_FIRST modes.

Signed-off-by: Sneha Narnakaje <nsnehaprabha@ti.com>
---
 arch/arm/mach-davinci/board-dm365-evm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Kevin Hilman Sept. 28, 2009, 6:43 p.m. UTC | #1
nsnehaprabha@ti.com writes:

> From: Sneha Narnakaje <nsnehaprabha@ti.com>
>
> This patch updates the NAND driver platform data to use 4-bit ECC and the
> ECC_HW/ECC_HW_OOB_FIRST modes.
>
> Signed-off-by: Sneha Narnakaje <nsnehaprabha@ti.com>

Applied to davinci git.

Kevin

> ---
>  arch/arm/mach-davinci/board-dm365-evm.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
> index f6adf79..a564348 100644
> --- a/arch/arm/mach-davinci/board-dm365-evm.c
> +++ b/arch/arm/mach-davinci/board-dm365-evm.c
> @@ -145,6 +145,7 @@ static struct davinci_nand_pdata davinci_nand_data = {
>  	.nr_parts		= ARRAY_SIZE(davinci_nand_partitions),
>  	.ecc_mode		= NAND_ECC_HW,
>  	.options		= NAND_USE_FLASH_BBT,
> +	.ecc_bits		= 4,
>  };
>  
>  static struct resource davinci_nand_resources[] = {
> -- 
> 1.6.0.4
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
index f6adf79..a564348 100644
--- a/arch/arm/mach-davinci/board-dm365-evm.c
+++ b/arch/arm/mach-davinci/board-dm365-evm.c
@@ -145,6 +145,7 @@  static struct davinci_nand_pdata davinci_nand_data = {
 	.nr_parts		= ARRAY_SIZE(davinci_nand_partitions),
 	.ecc_mode		= NAND_ECC_HW,
 	.options		= NAND_USE_FLASH_BBT,
+	.ecc_bits		= 4,
 };
 
 static struct resource davinci_nand_resources[] = {