[U-Boot] [PATCH v2 10/15] ti_omap5_common: Update SPL start address on secure parts

Tom Rini trini at konsulko.com
Fri May 6 19:48:35 CEST 2016


On Wed, Apr 27, 2016 at 03:09:14PM -0500, Daniel Allred wrote:

> Updated the CONFIG_SPL_TEXT_BASE to support secure parts (moving
> the start address past secure reserved memory and the size of the
> security certificate that precedes the boot image on secure devices).
> Updated the related CONFIG_SPL_MAX_SIZE to properly reflect the
> internal memory actually available on the various device flavors
> (Common minimum internal RAM guaranteed for various flavors of
> DRA7xx/AM57xx is 512KB).
> 
> Signed-off-by: Daniel Allred <d-allred at ti.com>
> Signed-off-by: Madan Srinivas <madans at ti.com>
[snip]
> +/* DRA7xx/AM57xx have 512K of SRAM, OMAP5 only 128K */
> +#if defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX)
> +#define CONFIG_SPL_BOOT_END		0x4037E000
> +#else
> +#define CONFIG_SPL_BOOT_END		0x4031E000
> +#endif
> +#define CONFIG_SPL_MAX_SIZE     (CONFIG_SPL_BOOT_END - CONFIG_SPL_TEXT_BASE)

TI_ROM_DL_IMAGE_AREA_END instead please, it's not something that's
really configurable, at least not without a lot of reworking and
thinking about how we handle this value today.  Future, maybe we can
move it to Kconfig

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160506/7b78fd1e/attachment.sig>


More information about the U-Boot mailing list