Skip to content

Commit 74a332e

Browse files
author
Boris Brezillon
committed
mtd: nand: timings: Fix tADL_min for ONFI 4.0 chips
ONFI 4.0 spec defines different values for the tADL_min timing. Since we don't want to have different timings depending on the ONFI version, we just set tADL_min to the maximum value (the one specified in the ONFI 4.0 spec). Signed-off-by: Boris Brezillon <[email protected]>
1 parent 1848a05 commit 74a332e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/mtd/nand/nand_timings.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
static const struct nand_sdr_timings onfi_sdr_timings[] = {
1717
/* Mode 0 */
1818
{
19-
.tADL_min = 200000,
19+
.tADL_min = 400000,
2020
.tALH_min = 20000,
2121
.tALS_min = 50000,
2222
.tAR_min = 25000,
@@ -53,7 +53,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
5353
},
5454
/* Mode 1 */
5555
{
56-
.tADL_min = 100000,
56+
.tADL_min = 400000,
5757
.tALH_min = 10000,
5858
.tALS_min = 25000,
5959
.tAR_min = 10000,
@@ -90,7 +90,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
9090
},
9191
/* Mode 2 */
9292
{
93-
.tADL_min = 100000,
93+
.tADL_min = 400000,
9494
.tALH_min = 10000,
9595
.tALS_min = 15000,
9696
.tAR_min = 10000,
@@ -127,7 +127,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
127127
},
128128
/* Mode 3 */
129129
{
130-
.tADL_min = 100000,
130+
.tADL_min = 400000,
131131
.tALH_min = 5000,
132132
.tALS_min = 10000,
133133
.tAR_min = 10000,
@@ -164,7 +164,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
164164
},
165165
/* Mode 4 */
166166
{
167-
.tADL_min = 70000,
167+
.tADL_min = 400000,
168168
.tALH_min = 5000,
169169
.tALS_min = 10000,
170170
.tAR_min = 10000,
@@ -201,7 +201,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
201201
},
202202
/* Mode 5 */
203203
{
204-
.tADL_min = 70000,
204+
.tADL_min = 400000,
205205
.tALH_min = 5000,
206206
.tALS_min = 10000,
207207
.tAR_min = 10000,

0 commit comments

Comments
 (0)