From: Tom Rini Date: Fri, 6 May 2016 13:48:35 -0400 Subject: [U-Boot] [PATCH v2 10/15] ti_omap5_common: Update SPL start address on secure parts In-Reply-To: <1461787759-31649-11-git-send-email-d-allred@ti.com> References: <1461787759-31649-1-git-send-email-d-allred@ti.com> <1461787759-31649-11-git-send-email-d-allred@ti.com> Message-ID: <20160506174835.GA24828@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Madan Srinivas [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: