davinci: mityomapl138: Use correct id for NAND controller
authorMichael Williamson <michael.williamson@criticallink.com>
Wed, 23 Mar 2011 12:15:41 +0000 (12:15 +0000)
committerSekhar Nori <nsekhar@ti.com>
Mon, 25 Apr 2011 08:48:48 +0000 (14:18 +0530)
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>
arch/arm/mach-davinci/board-mityomapl138.c

index 2aa79c54f98e664d5a48701fdf0cec553090c9aa..e5d554cc79a6656b132e36631a664e439900badb 100644 (file)
@@ -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,
        },