]> git.ipfire.org Git - people/ms/u-boot.git/commit
spl: Make spl_boot_list a local variable
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:20:17 +0000 (18:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:08:55 +0000 (15:08 -0400)
commitd32b2d1c6168a6669ce6e6300eb893ddec675a05
treeabe001995756d541574b9a52e6baa38ce83a1e2b
parentf4d7d8596f3a4f5bce500c622b75d2e9c8d6f989
spl: Make spl_boot_list a local variable

There is no need for this to be in the BSS region. By moving it we can delay
use of BSS in SPL. This is useful for machines where the BSS region is not
in writeable space. On 64-bit x86, SPL runs from SPI flash and it is easier
to eliminate BSS use than link SPL to run with BSS at a particular
cache-as-RAM (CAR) address.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c
include/spl.h