diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/jz4740/board-qi_lb60.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c index ed8d66b4b03f..bc18daaa8f84 100644 --- a/arch/mips/jz4740/board-qi_lb60.c +++ b/arch/mips/jz4740/board-qi_lb60.c | |||
@@ -50,14 +50,14 @@ static bool is_avt2; | |||
50 | 50 | ||
51 | /* NAND */ | 51 | /* NAND */ |
52 | static struct nand_ecclayout qi_lb60_ecclayout_1gb = { | 52 | static struct nand_ecclayout qi_lb60_ecclayout_1gb = { |
53 | /* .eccbytes = 36, | 53 | .eccbytes = 36, |
54 | .eccpos = { | 54 | .eccpos = { |
55 | 6, 7, 8, 9, 10, 11, 12, 13, | 55 | 6, 7, 8, 9, 10, 11, 12, 13, |
56 | 14, 15, 16, 17, 18, 19, 20, 21, | 56 | 14, 15, 16, 17, 18, 19, 20, 21, |
57 | 22, 23, 24, 25, 26, 27, 28, 29, | 57 | 22, 23, 24, 25, 26, 27, 28, 29, |
58 | 30, 31, 32, 33, 34, 35, 36, 37, | 58 | 30, 31, 32, 33, 34, 35, 36, 37, |
59 | 38, 39, 40, 41 | 59 | 38, 39, 40, 41 |
60 | },*/ | 60 | }, |
61 | .oobfree = { | 61 | .oobfree = { |
62 | { .offset = 2, .length = 4 }, | 62 | { .offset = 2, .length = 4 }, |
63 | { .offset = 42, .length = 22 } | 63 | { .offset = 42, .length = 22 } |
@@ -86,7 +86,7 @@ static struct mtd_partition qi_lb60_partitions_1gb[] = { | |||
86 | }; | 86 | }; |
87 | 87 | ||
88 | static struct nand_ecclayout qi_lb60_ecclayout_2gb = { | 88 | static struct nand_ecclayout qi_lb60_ecclayout_2gb = { |
89 | /* .eccbytes = 72, | 89 | .eccbytes = 72, |
90 | .eccpos = { | 90 | .eccpos = { |
91 | 12, 13, 14, 15, 16, 17, 18, 19, | 91 | 12, 13, 14, 15, 16, 17, 18, 19, |
92 | 20, 21, 22, 23, 24, 25, 26, 27, | 92 | 20, 21, 22, 23, 24, 25, 26, 27, |
@@ -97,7 +97,7 @@ static struct nand_ecclayout qi_lb60_ecclayout_2gb = { | |||
97 | 60, 61, 62, 63, 64, 65, 66, 67, | 97 | 60, 61, 62, 63, 64, 65, 66, 67, |
98 | 68, 69, 70, 71, 72, 73, 74, 75, | 98 | 68, 69, 70, 71, 72, 73, 74, 75, |
99 | 76, 77, 78, 79, 80, 81, 82, 83 | 99 | 76, 77, 78, 79, 80, 81, 82, 83 |
100 | },*/ | 100 | }, |
101 | .oobfree = { | 101 | .oobfree = { |
102 | { .offset = 2, .length = 10 }, | 102 | { .offset = 2, .length = 10 }, |
103 | { .offset = 84, .length = 44 }, | 103 | { .offset = 84, .length = 44 }, |