From 0c7e6763420070554934448881633f48e21602c9 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Tue, 3 Jul 2012 21:42:12 +0000 Subject: [PATCH] bcm63xx: fix second caldata address calculation thanks Noltari for spotting this. SVN-Revision: 32592 --- .../429-MTD-bcm63xxpart-allow-passing-a-caldata-offset.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/brcm63xx/patches-3.3/429-MTD-bcm63xxpart-allow-passing-a-caldata-offset.patch b/target/linux/brcm63xx/patches-3.3/429-MTD-bcm63xxpart-allow-passing-a-caldata-offset.patch index 7337fa739a58..681bab2488f5 100644 --- a/target/linux/brcm63xx/patches-3.3/429-MTD-bcm63xxpart-allow-passing-a-caldata-offset.patch +++ b/target/linux/brcm63xx/patches-3.3/429-MTD-bcm63xxpart-allow-passing-a-caldata-offset.patch @@ -33,7 +33,7 @@ contained in flash. + } + if (data->caldata[1]) { + caldatalen2 = cfe_erasesize; -+ caldataaddr1 = rounddown(data->caldata[1], ++ caldataaddr2 = rounddown(data->caldata[1], + cfe_erasesize); + } + if (caldataaddr1 == caldataaddr2) { -- 2.30.2