diff options
| author | Ben Dooks <ben@simtec.co.uk> | 2009-12-23 14:25:01 -0500 |
|---|---|---|
| committer | Ben Dooks <ben-linux@fluff.org> | 2009-12-23 14:28:11 -0500 |
| commit | d9237380754ccb25bf6aaa1437b0e132ccc70315 (patch) | |
| tree | 739bb8c82d5f0b86b848f025d0bc446fafe12a9d | |
| parent | c9f937e4a3f4ebf9924ec21d80632e5eb61d949c (diff) | |
ARM: mach-osiris: add NAND_SCAN_SILENT_NODEV to optional devices
Add the NAND_SCAN_SILENT_NODEV to the optional NAND devices that may not
be fitted to the board
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| -rw-r--r-- | arch/arm/mach-s3c2440/mach-osiris.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c2440/mach-osiris.c index 015dfb2a80da..f35371db33f5 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c2440/mach-osiris.c | |||
| @@ -208,6 +208,7 @@ static struct s3c2410_nand_set __initdata osiris_nand_sets[] = { | |||
| 208 | .name = "External", | 208 | .name = "External", |
| 209 | .nr_chips = 1, | 209 | .nr_chips = 1, |
| 210 | .nr_map = external_map, | 210 | .nr_map = external_map, |
| 211 | .options = NAND_SCAN_SILENT_NODEV, | ||
| 211 | .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), | 212 | .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), |
| 212 | .partitions = osiris_default_nand_part, | 213 | .partitions = osiris_default_nand_part, |
| 213 | }, | 214 | }, |
| @@ -222,6 +223,7 @@ static struct s3c2410_nand_set __initdata osiris_nand_sets[] = { | |||
| 222 | .name = "chip1", | 223 | .name = "chip1", |
| 223 | .nr_chips = 1, | 224 | .nr_chips = 1, |
| 224 | .nr_map = chip1_map, | 225 | .nr_map = chip1_map, |
| 226 | .options = NAND_SCAN_SILENT_NODEV, | ||
| 225 | .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), | 227 | .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), |
| 226 | .partitions = osiris_default_nand_part, | 228 | .partitions = osiris_default_nand_part, |
| 227 | }, | 229 | }, |
