Commit ad10e105 authored by Michael Williamson's avatar Michael Williamson Committed by Sekhar Nori

davinci: mityomapl138: Use correct id for NAND controller

For the MityDSP-L138/MityARM-1808 SOMS, the NAND controller id (which needs
to correspond to the chipselect, and is used for controlling the HW ECC
computation) is not correct.  Fix it.
Signed-off-by: default avatarMichael Williamson <michael.williamson@criticallink.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 5cf4c80a
...@@ -414,7 +414,7 @@ static struct resource mityomapl138_nandflash_resource[] = { ...@@ -414,7 +414,7 @@ static struct resource mityomapl138_nandflash_resource[] = {
static struct platform_device mityomapl138_nandflash_device = { static struct platform_device mityomapl138_nandflash_device = {
.name = "davinci_nand", .name = "davinci_nand",
.id = 0, .id = 1,
.dev = { .dev = {
.platform_data = &mityomapl138_nandflash_data, .platform_data = &mityomapl138_nandflash_data,
}, },
......
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