From: Valentin Longchamp <[email protected]> We used to have an arbitrary value, which can be a problem if we have a u-boot image that is bigger than this value.
This patch is dependant on the whole km/arm series and will be included in the v3 of the series if there is one. Signed-off-by: Valentin Longchamp <[email protected]> cc: Holger Brunck <[email protected]> cc: Gerlando Falauto <[email protected]> cc: Prafulla Wadaskar <[email protected]> --- include/configs/km/km_arm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index 36eb765..eb60d29 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -237,7 +237,7 @@ int get_scl(void); #define CONFIG_KM_UPDATE_UBOOT \ "update=" \ - "spi on;sf probe 0;sf erase 0 50000;" \ + "spi on;sf probe 0;sf erase 0 +${filesize};" \ "sf write ${load_addr_r} 0 ${filesize};" \ "spi off\0" -- 1.7.1 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

