[U-Boot] [PATCHv1 04/22] arm: socfpga: spl: Add SRAM section

Pavel Machek pavel at denx.de
Thu Jan 15 23:01:19 CET 2015


Hi!

> diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
> index 673377b..0c87faa 100644
> --- a/include/configs/socfpga_common.h
> +++ b/include/configs/socfpga_common.h
> @@ -304,6 +304,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
>  #define CONFIG_SPL_TEXT_BASE		CONFIG_SYS_INIT_RAM_ADDR
>  #define CONFIG_SYS_SPL_MALLOC_START	CONFIG_SYS_INIT_SP_ADDR
>  #define CONFIG_SYS_SPL_MALLOC_SIZE	(5 * 1024)
> +#define CONFIG_SPL_MAX_SIZE		(64 * 1024)

Is 64KiB right maximum size? IIRC, SPL image has to include headers...

Thanks,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


More information about the U-Boot mailing list