From d32b2d1c6168a6669ce6e6300eb893ddec675a05 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 24 Sep 2016 18:20:17 -0600 Subject: 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 Reviewed-by: Tom Rini --- include/spl.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/spl.h b/include/spl.h index 0b97cda7fce..e080a82b979 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); -- cgit v1.3.1