Commit 9a400da8 authored by Nicolas Ferre's avatar Nicolas Ferre

AT91: Correct configuration define value

The MTD nand driver for Atmel chips is atmel_nand and not at91_nand anymore.
Change wrong configuration variables that were remaining.
Reported-by: default avatarChristoph Egger <siccegge@cs.fau.de>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 67dd8995
...@@ -216,7 +216,7 @@ static struct atmel_nand_data __initdata eb_nand_data = { ...@@ -216,7 +216,7 @@ static struct atmel_nand_data __initdata eb_nand_data = {
/* .rdy_pin = AT91_PIN_PC16, */ /* .rdy_pin = AT91_PIN_PC16, */
.enable_pin = AT91_PIN_PA15, .enable_pin = AT91_PIN_PA15,
.partition_info = nand_partitions, .partition_info = nand_partitions,
#if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16)
.bus_width_16 = 1, .bus_width_16 = 1,
#else #else
.bus_width_16 = 0, .bus_width_16 = 0,
......
...@@ -135,7 +135,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { ...@@ -135,7 +135,7 @@ static struct atmel_nand_data __initdata ek_nand_data = {
.rdy_pin = AT91_PIN_PC8, .rdy_pin = AT91_PIN_PC8,
.enable_pin = AT91_PIN_PC14, .enable_pin = AT91_PIN_PC14,
.partition_info = nand_partitions, .partition_info = nand_partitions,
#if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16)
.bus_width_16 = 1, .bus_width_16 = 1,
#else #else
.bus_width_16 = 0, .bus_width_16 = 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment