SPL: do not use fix value for u-boot size
authorStefano Babic <sbabic@denx.de>
Thu, 23 Aug 2012 10:46:16 +0000 (12:46 +0200)
committerTom Rini <trini@ti.com>
Thu, 27 Sep 2012 16:49:59 +0000 (09:49 -0700)
commitae83d882f5fdf7aa7c5aec09cfafb593153c25d6
treeeab094ae367b2c4364c2b2a72e6a739fbf9180f5
parent6507f133f3201ed5fb22e4a3d73c33b47497539d
SPL: do not use fix value for u-boot size

If an u-boot image is not found, SPL thinks to load a bare
u-boot.bin image with a maximum size of 200KB.
Use CONFIG_SYS_MONITOR_LEN instead.

Signed-off-by: Stefan Roese <stefan.roese@gmail.com>
Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Tom Rini <trini@ti.com>
common/spl/spl.c