From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 11 Aug 2015 13:51:01 +0200 Subject: [U-Boot] [PATCH 1/1] tools: mxsboot: calculate ECC block level dynamically In-Reply-To: <1439293466-19860-1-git-send-email-joerg.krause@embedded.rocks> References: <1439293466-19860-1-git-send-email-joerg.krause@embedded.rocks> Message-ID: <201508111351.01706.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 dynamic calculation of the ECC strength introduced in commit > 6121560d7714d6d8e41ce1687a1388a1a8fea4cb. > > Cc: Marek Vasut > Signed-off-by: J?rg Krause Acked-by: Marek Vasut Best regards, Marek Vasut