diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2015-08-11 13:44:26 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-09-02 15:26:11 +0200 |
commit | cef9f020c1fa123577bcd54596e54fd3a79a1b38 (patch) | |
tree | b0e4b2de841283e8155671adb7967a6a9c018287 /arch/arm | |
parent | 422dc9a6d6c169c4b68db2dcdb9d5e0fb8af0581 (diff) | |
download | u-boot-imx-cef9f020c1fa123577bcd54596e54fd3a79a1b38.zip u-boot-imx-cef9f020c1fa123577bcd54596e54fd3a79a1b38.tar.gz u-boot-imx-cef9f020c1fa123577bcd54596e54fd3a79a1b38.tar.bz2 |
tools: mxsboot: calculate ECC block level dynamically
For pages of 2048 bytes the current setting of the ECC Error Correction Level
is only true for an oob size of 64 bytes and wrong for all others.
Instead of hard-coding every possible combination of page size and oob size use
the dynamic calculation of the ECC strength introduced in commit
6121560d7714d6d8e41ce1687a1388a1a8fea4cb.
Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions