diff options
author | Ye Li <ye.li@nxp.com> | 2017-05-10 09:52:42 -0500 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-05-10 20:25:05 -0500 |
commit | 16270556212e6c7422e87f69572c90f1afe6998b (patch) | |
tree | 29a2dd490c79f615c38e732b7f80ff97ae234eb8 /cmd/license.c | |
parent | b4f74042d6095a9713a1e31ba5f4361de4a19b50 (diff) | |
download | u-boot-imx-16270556212e6c7422e87f69572c90f1afe6998b.zip u-boot-imx-16270556212e6c7422e87f69572c90f1afe6998b.tar.gz u-boot-imx-16270556212e6c7422e87f69572c90f1afe6998b.tar.bz2 |
MLK-14878 qspi: Fix issue when enabling DDR mode
There are two problems in enabling DDR mode in this new driver:
1. The TDH bits in FLSHCR register should be set to 1. Otherwise, the TX DDR delay logic
won't be enabled. Since u-boot driver does not have DDR commands in LUT. So this won't
cause explicit problem.
2. When doing read/write/readid/erase operations, the MCR register is overwritten, the bits
like DDR_EN are cleared during these operations. When we using DDR mode QSPI boot, the TDH bit
is set to 1 by ROM. if the DDR_EN is cleared, there is no clk2x output for TX data shift.
So these operations will fail.
The explicit problem is users may get "SF: unrecognized JEDEC id bytes: ff, ff, ff" error
after using DDR mode QSPI boot on 6UL/ULL EVK boards.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'cmd/license.c')
0 files changed, 0 insertions, 0 deletions