提交 9a400da8 编写于 作者: N 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: NChristoph Egger <siccegge@cs.fau.de>
Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册