Skip to content

Commit

Permalink
mtd: nand: timings: Fix tADL_min for ONFI 4.0 chips
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Boris Brezillon committed Sep 23, 2016
1 parent 1848a05 commit 74a332e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/mtd/nand/nand_timings.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
static const struct nand_sdr_timings onfi_sdr_timings[] = {
/* Mode 0 */
{
.tADL_min = 200000,
.tADL_min = 400000,
.tALH_min = 20000,
.tALS_min = 50000,
.tAR_min = 25000,
Expand Down Expand Up @@ -53,7 +53,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
},
/* Mode 1 */
{
.tADL_min = 100000,
.tADL_min = 400000,
.tALH_min = 10000,
.tALS_min = 25000,
.tAR_min = 10000,
Expand Down Expand Up @@ -90,7 +90,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
},
/* Mode 2 */
{
.tADL_min = 100000,
.tADL_min = 400000,
.tALH_min = 10000,
.tALS_min = 15000,
.tAR_min = 10000,
Expand Down Expand Up @@ -127,7 +127,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
},
/* Mode 3 */
{
.tADL_min = 100000,
.tADL_min = 400000,
.tALH_min = 5000,
.tALS_min = 10000,
.tAR_min = 10000,
Expand Down Expand Up @@ -164,7 +164,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
},
/* Mode 4 */
{
.tADL_min = 70000,
.tADL_min = 400000,
.tALH_min = 5000,
.tALS_min = 10000,
.tAR_min = 10000,
Expand Down Expand Up @@ -201,7 +201,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
},
/* Mode 5 */
{
.tADL_min = 70000,
.tADL_min = 400000,
.tALH_min = 5000,
.tALS_min = 10000,
.tAR_min = 10000,
Expand Down

0 comments on commit 74a332e

Please sign in to comment.