Re: [U-Boot] [PATCH 1/1] tools: mxsboot: calculate ECC block level dynamically

2015-08-12 Thread Stefano Babic
On 11/08/2015 13:51, Marek Vasut wrote: On Tuesday, August 11, 2015 at 01:44:26 PM, Jörg Krause wrote: 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

Re: [U-Boot] [PATCH 1/1] tools: mxsboot: calculate ECC block level dynamically

2015-08-11 Thread Stefano Babic
On 11/08/2015 13:44, Jörg Krause wrote: 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

Re: [U-Boot] [PATCH 1/1] tools: mxsboot: calculate ECC block level dynamically

2015-08-11 Thread Marek Vasut
On Tuesday, August 11, 2015 at 01:44:26 PM, Jörg Krause wrote: 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

[U-Boot] [PATCH 1/1] tools: mxsboot: calculate ECC block level dynamically

2015-08-11 Thread Jörg Krause
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