Skip to content
Snippets Groups Projects
Commit cef9f020 authored by Jörg Krause's avatar Jörg Krause Committed by Stefano Babic
Browse files

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
6121560d.

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: default avatarJörg Krause <joerg.krause@embedded.rocks>
Acked-by: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
parent 422dc9a6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment