summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-25 00:20:17 (GMT)
committerTom Rini <trini@konsulko.com>2016-10-06 19:08:55 (GMT)
commitd32b2d1c6168a6669ce6e6300eb893ddec675a05 (patch)
treeabe001995756d541574b9a52e6baa38ce83a1e2b /include/spl.h
parentf4d7d8596f3a4f5bce500c622b75d2e9c8d6f989 (diff)
downloadu-boot-fsl-qoriq-d32b2d1c6168a6669ce6e6300eb893ddec675a05.tar.xz
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>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/spl.h b/include/spl.h
index 0b97cda..e080a82 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -63,8 +63,6 @@ int spl_load_simple_fit(struct spl_image_info *spl_image,
#define SPL_COPY_PAYLOAD_ONLY 1
-extern struct spl_image_info spl_image;
-
/* SPL common functions */
void preloader_console_init(void);
u32 spl_boot_device(void);