diff options
| -rw-r--r-- | drivers/mtd/nand/Kconfig | 18 | ||||
| -rw-r--r-- | drivers/mtd/nand/s3c2410.c | 3 |
2 files changed, 12 insertions, 9 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 3b3a21d1a6ba..1823212c6b46 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
| @@ -145,27 +145,27 @@ config MTD_NAND_PPCHAMELEONEVB | |||
| 145 | This enables the NAND flash driver on the PPChameleon EVB Board. | 145 | This enables the NAND flash driver on the PPChameleon EVB Board. |
| 146 | 146 | ||
| 147 | config MTD_NAND_S3C2410 | 147 | config MTD_NAND_S3C2410 |
| 148 | tristate "NAND Flash support for S3C2410/S3C2440 SoC" | 148 | tristate "NAND Flash support for Samsung S3C SoCs" |
| 149 | depends on ARCH_S3C2410 | 149 | depends on ARCH_S3C2410 || ARCH_S3C64XX |
| 150 | help | 150 | help |
| 151 | This enables the NAND flash controller on the S3C2410 and S3C2440 | 151 | This enables the NAND flash controller on the S3C24xx and S3C64xx |
| 152 | SoCs | 152 | SoCs |
| 153 | 153 | ||
| 154 | No board specific support is done by this driver, each board | 154 | No board specific support is done by this driver, each board |
| 155 | must advertise a platform_device for the driver to attach. | 155 | must advertise a platform_device for the driver to attach. |
| 156 | 156 | ||
| 157 | config MTD_NAND_S3C2410_DEBUG | 157 | config MTD_NAND_S3C2410_DEBUG |
| 158 | bool "S3C2410 NAND driver debug" | 158 | bool "Samsung S3C NAND driver debug" |
| 159 | depends on MTD_NAND_S3C2410 | 159 | depends on MTD_NAND_S3C2410 |
| 160 | help | 160 | help |
| 161 | Enable debugging of the S3C2410 NAND driver | 161 | Enable debugging of the S3C NAND driver |
| 162 | 162 | ||
| 163 | config MTD_NAND_S3C2410_HWECC | 163 | config MTD_NAND_S3C2410_HWECC |
| 164 | bool "S3C2410 NAND Hardware ECC" | 164 | bool "Samsung S3C NAND Hardware ECC" |
| 165 | depends on MTD_NAND_S3C2410 | 165 | depends on MTD_NAND_S3C2410 |
| 166 | help | 166 | help |
| 167 | Enable the use of the S3C2410's internal ECC generator when | 167 | Enable the use of the controller's internal ECC generator when |
| 168 | using NAND. Early versions of the chip have had problems with | 168 | using NAND. Early versions of the chips have had problems with |
| 169 | incorrect ECC generation, and if using these, the default of | 169 | incorrect ECC generation, and if using these, the default of |
| 170 | software ECC is preferable. | 170 | software ECC is preferable. |
| 171 | 171 | ||
| @@ -177,7 +177,7 @@ config MTD_NAND_NDFC | |||
| 177 | NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs | 177 | NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs |
| 178 | 178 | ||
| 179 | config MTD_NAND_S3C2410_CLKSTOP | 179 | config MTD_NAND_S3C2410_CLKSTOP |
| 180 | bool "S3C2410 NAND IDLE clock stop" | 180 | bool "Samsung S3C NAND IDLE clock stop" |
| 181 | depends on MTD_NAND_S3C2410 | 181 | depends on MTD_NAND_S3C2410 |
| 182 | default n | 182 | default n |
| 183 | help | 183 | help |
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 01a105eda3f4..11dc7e69c4fb 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
| @@ -1111,6 +1111,9 @@ static struct platform_device_id s3c24xx_driver_ids[] = { | |||
| 1111 | }, { | 1111 | }, { |
| 1112 | .name = "s3c2412-nand", | 1112 | .name = "s3c2412-nand", |
| 1113 | .driver_data = TYPE_S3C2412, | 1113 | .driver_data = TYPE_S3C2412, |
| 1114 | }, { | ||
| 1115 | .name = "s3c6400-nand", | ||
| 1116 | .driver_data = TYPE_S3C2412, /* compatible with 2412 */ | ||
| 1114 | }, | 1117 | }, |
| 1115 | { } | 1118 | { } |
| 1116 | }; | 1119 | }; |
