[U-Boot] board: ti: ks2_evm: Over ride spl_get_load_buffer function

Tom Rini trini at konsulko.com
Fri Dec 7 20:33:03 UTC 2018


On Tue, Nov 27, 2018 at 05:52:41PM +0530, Keerthy wrote:

> Currently k2 spi boot is broken as the image header
> is getting copied to an invalid memory location
> 
> CONFIG_SYS_TEXT_BASE - sizeof (struct image_size)
> which maps to 0xc000000 - 0x40 = 0xbffffc0 being a reserved
> location.
> 
> We cannot change the CONFIG_SYS_TEXT_BASE address as the single
> stage boots like UART boot will need the address to be 0xc000000
> hence override the spl_get_load_buffer to have image_header
> address as CONFIG_SYS_TEXT_BASE aka 0xc000000
> 
> Signed-off-by: Keerthy <j-keerthy at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181207/86b7068f/attachment.sig>


More information about the U-Boot mailing list