Commit d3ef7ee4 authored by Ben Dooks's avatar Ben Dooks Committed by Ben Dooks

ARM: mach-bast: 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: default avatarBen Dooks <ben@simtec.co.uk>
Signed-off-by: default avatarSimtec Linux Team <linux@simtec.co.uk>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent d9237380
...@@ -279,6 +279,7 @@ static struct s3c2410_nand_set __initdata bast_nand_sets[] = { ...@@ -279,6 +279,7 @@ static struct s3c2410_nand_set __initdata bast_nand_sets[] = {
.name = "SmartMedia", .name = "SmartMedia",
.nr_chips = 1, .nr_chips = 1,
.nr_map = smartmedia_map, .nr_map = smartmedia_map,
.options = NAND_SCAN_SILENT_NODEV,
.nr_partitions = ARRAY_SIZE(bast_default_nand_part), .nr_partitions = ARRAY_SIZE(bast_default_nand_part),
.partitions = bast_default_nand_part, .partitions = bast_default_nand_part,
}, },
...@@ -293,6 +294,7 @@ static struct s3c2410_nand_set __initdata bast_nand_sets[] = { ...@@ -293,6 +294,7 @@ static struct s3c2410_nand_set __initdata bast_nand_sets[] = {
.name = "chip1", .name = "chip1",
.nr_chips = 1, .nr_chips = 1,
.nr_map = chip1_map, .nr_map = chip1_map,
.options = NAND_SCAN_SILENT_NODEV,
.nr_partitions = ARRAY_SIZE(bast_default_nand_part), .nr_partitions = ARRAY_SIZE(bast_default_nand_part),
.partitions = bast_default_nand_part, .partitions = bast_default_nand_part,
}, },
...@@ -300,6 +302,7 @@ static struct s3c2410_nand_set __initdata bast_nand_sets[] = { ...@@ -300,6 +302,7 @@ static struct s3c2410_nand_set __initdata bast_nand_sets[] = {
.name = "chip2", .name = "chip2",
.nr_chips = 1, .nr_chips = 1,
.nr_map = chip2_map, .nr_map = chip2_map,
.options = NAND_SCAN_SILENT_NODEV,
.nr_partitions = ARRAY_SIZE(bast_default_nand_part), .nr_partitions = ARRAY_SIZE(bast_default_nand_part),
.partitions = bast_default_nand_part, .partitions = bast_default_nand_part,
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment