mtd/nand: s3c6400 support for s3c2410 driver

Add s3c6400 support to the s3c2410 driver. The nand controller in
the s3c64xx devices is compatible with the one in the s3c2412, so
simply reuse that code.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
Peter Korsgaard
2009-06-07 06:04:23 -07:00
committed by David Woodhouse
parent e635a01ea0
commit 9dbc090274
2 changed files with 12 additions and 9 deletions

View File

@@ -1111,6 +1111,9 @@ static struct platform_device_id s3c24xx_driver_ids[] = {
}, {
.name = "s3c2412-nand",
.driver_data = TYPE_S3C2412,
}, {
.name = "s3c6400-nand",
.driver_data = TYPE_S3C2412, /* compatible with 2412 */
},
{ }
};