Home
last modified time | relevance | path

Searched hist:"2 fe1281c79cb8232cf0ca1c441db66e576a9acf4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/arch/arm/cpu/
H A Du-boot.ldsdiff 2fe1281c79cb8232cf0ca1c441db66e576a9acf4 Mon Sep 26 00:21:30 CDT 2016 Masahiro Yamada <yamada.masahiro@socionext.com> ARM: create .secure_stack section only for PSCI

Jon Master reports that QEMU refuses to load a U-Boot image built
with CONFIG_ARMV7_NONSEC, but without CONFIG_ARMV7_PSCI since
commit 5a3aae68c74e ("ARM: armv7: guard memory reserve for PSCI
with #ifdef CONFIG_ARMV7_PSCI").

It looks like only PSCI that needs the Secure stack, so move
the #ifdef to guard the whole of .secure_stack allocation in order
not to create the empty section.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reported-by: Jon Masters <jcm@redhat.com>
Link: http://patchwork.ozlabs.org/patch/664025/