summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/imx8m/ddr_init.c
diff options
context:
space:
mode:
authorMichael Trimarchi <michael@amarulasolutions.com>2022-05-15 11:35:32 +0200
committerStefano Babic <sbabic@denx.de>2022-05-20 12:36:48 +0200
commit37a7c374a6bd6cefe24516e5aef13d2bab6f133e (patch)
tree551b78cdac9abd753dbbe2aa943b9e32bd5c73c4 /drivers/ddr/imx/imx8m/ddr_init.c
parenta222c14792f15582648d1a00cdc40355ca9393ef (diff)
arm: mach-imx: cmd_nandbcb fix bad block handling
The badblock should be skipped properly in reading and writing. Fix the logic. The bcb struct is written, skipping the bad block, so we need to read using the same logic. This was tested create bad block in the area and then flash it and read it back. Acked-by: Han Xu <han.xu@nxp.com> Tested-By: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions