]> git.ipfire.org Git - people/ms/u-boot.git/commit
arm: mach-omap2: Pass args to secure ROM in SRAM in SPL
authorAndrew F. Davis <afd@ti.com>
Tue, 16 Jan 2018 20:25:48 +0000 (14:25 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 28 Jan 2018 14:39:05 +0000 (09:39 -0500)
commit60013a2cf61a318c87f1a8c0b3a39b47c3f220a6
tree8c005956f5acf3ecf094fdbf34e684e00f4818da
parent92f84b67e5f259bb5805706a216d4605c37862bc
arm: mach-omap2: Pass args to secure ROM in SRAM in SPL

When in early SPL we make some secure ROM calls that can effect
DRAM, due to this it is more stable to store the args for these
calls in SRAM, but uninitialized and zero'd globals are placed
in BSS, located in DRAM. Force our args into the data section
which is in SRAM during SPL.

Signed-off-by: Andrew F. Davis <afd@ti.com>
arch/arm/mach-omap2/sec-common.c