diff options
author | Alessandro Rubini <rubini@gnudd.com> | 2023-12-03 18:08:26 +0100 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2023-12-13 15:33:57 -0300 |
commit | 4ac5620270ddc5b31cf8600ffa5990be197597c9 (patch) | |
tree | 643996f9c6f5f2f47c552dbbc6df19ef3296837d /drivers/ddr/imx/phy/helper.c | |
parent | 712aa6e24cd624e60d49e520837dab4a7e44faa0 (diff) |
tools: mxsboot: pre-fill buffer with 0xff, not 0
The tool works for me, with imx28 and NAND memory, but the resulting
blocks are reported as bad, both by u-boot and the kernel.
This makes it impossible to erase from Linux (for an upgrade without
console access, for example -- u-boot can "nand scrub" but linux can't).
pre-filling with 0xff creates a proper boot loader image, but no
bad-block marker is there when written to flash.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/ddr/imx/phy/helper.c')
0 files changed, 0 insertions, 0 deletions