[U-Boot] TI: Rework SRAM definitions and maximums

Tom Rini trini at konsulko.com
Wed Sep 7 19:58:56 CEST 2016


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 <albert.u.boot at aribaud.net>
> Cc: Nagendra T S <nagendra at mistralsolutions.com>
> Cc: Vaibhav Hiremath <hvaibhav at ti.com>
> Cc: Lokesh Vutla <lokeshvutla at ti.com>
> Cc: Felipe Balbi <balbi at ti.com>
> Cc: Igor Grinberg <grinberg at compulab.co.il>
> Cc: Nikita Kiryanov <nikita at compulab.co.il>
> Cc: Paul Kocialkowski <contact at paulk.fr>
> Cc: Enric Balletbo i Serra <eballetbo at gmail.com>
> Cc: Adam Ford <aford173 at gmail.com>
> Cc: Steve Sakoman <sakoman at gmail.com>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Thomas Weber <weber at corscience.de>
> Cc: Hannes Schmelzer <oe5hpm at oevsv.at>
> Cc: Thomas Chou <thomas at wytron.com.tw>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Sam Protsenko <semen.protsenko at linaro.org>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Samuel Egli <samuel.egli at siemens.com>
> Cc: Michal Simek <michal.simek at xilinx.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Mateusz Kulikowski <mateusz.kulikowski at gmail.com>
> Cc: Ben Whitten <ben.whitten at gmail.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Sekhar Nori <nsekhar at ti.com>
> Cc: Mugunthan V N <mugunthanvnm at ti.com>
> Cc: "B, Ravi" <ravibabu at ti.com>
> Cc: "Matwey V. Kornilov" <matwey.kornilov at gmail.com>
> Cc: Ladislav Michl <ladis at linux-mips.org>
> Cc: Ash Charles <ashcharles at gmail.com>
> Cc: "Kipisz, Steven" <s-kipisz2 at ti.com>
> Cc: Daniel Allred <d-allred at ti.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Tested-by: Lokesh Vutla <lokeshvutla at ti.com>
> Acked-by: Lokesh Vutla <lokeshvutla at ti.com>
> Tested-by: Ladislav Michl <ladis at linux-mips.org>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20160907/ce67177a/attachment.sig>


More information about the U-Boot mailing list