From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 7 Sep 2016 13:58:56 -0400 Subject: [U-Boot] TI: Rework SRAM definitions and maximums In-Reply-To: <1472232643-23177-1-git-send-email-trini@konsulko.com> References: <1472232643-23177-1-git-send-email-trini@konsulko.com> Message-ID: <20160907175856.GE4990@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 Fri, Aug 26, 2016 at 01:30:43PM -0400, Tom Rini wrote: > On all TI platforms the ROM defines a "downloaded image" area at or near > the start of SRAM which is followed by a reserved area. As it is at > best bad form and at worst possibly harmful in corner cases to write in > this reserved area, we stop doing that by adding in the define > NON_SECURE_SRAM_IMG_END to say where the end of the downloaded image > area is and make SRAM_SCRATCH_SPACE_ADDR be one kilobyte before this. > At current we define the end of scratch space at 0x228 bytes past the > start of scratch space this this gives us a lot of room to grow. As > these scratch uses are non-optional today, all targets are modified to > respect this boundary. > > Tested on OMAP4 Pandaboard, OMAP3 Beagle xM > > Cc: Albert Aribaud > Cc: Nagendra T S > Cc: Vaibhav Hiremath > Cc: Lokesh Vutla > Cc: Felipe Balbi > Cc: Igor Grinberg > Cc: Nikita Kiryanov > Cc: Paul Kocialkowski > Cc: Enric Balletbo i Serra > Cc: Adam Ford > Cc: Steve Sakoman > Cc: Stefan Roese > Cc: Thomas Weber > Cc: Hannes Schmelzer > Cc: Thomas Chou > Cc: Masahiro Yamada > Cc: Simon Glass > Cc: Joe Hershberger > Cc: Sam Protsenko > Cc: Heiko Schocher > Cc: Samuel Egli > Cc: Michal Simek > Cc: Wolfgang Denk > Cc: Mateusz Kulikowski > Cc: Ben Whitten > Cc: Stefano Babic > Cc: Bin Meng > Cc: Sekhar Nori > Cc: Mugunthan V N > Cc: "B, Ravi" > Cc: "Matwey V. Kornilov" > Cc: Ladislav Michl > Cc: Ash Charles > Cc: "Kipisz, Steven" > Cc: Daniel Allred > Signed-off-by: Tom Rini > Tested-by: Lokesh Vutla > Acked-by: Lokesh Vutla > Tested-by: Ladislav Michl Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: