Skip to content

Commit

Permalink
davinci: mityomapl138: Use correct id for NAND controller
Browse files Browse the repository at this point in the history
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: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
  • Loading branch information
Michael Williamson authored and Sekhar Nori committed Apr 25, 2011
1 parent 5cf4c80 commit ad10e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-davinci/board-mityomapl138.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ static struct resource mityomapl138_nandflash_resource[] = {

static struct platform_device mityomapl138_nandflash_device = {
.name = "davinci_nand",
.id = 0,
.id = 1,
.dev = {
.platform_data = &mityomapl138_nandflash_data,
},
Expand Down

0 comments on commit ad10e10

Please sign in to comment.