coreboot-kgpe-d16/src/arch/arm
Vadim Bendebury be7124ee1d armv7: preserve bootblock invocation parameter
Some platforms may pass as a parameter the maskrom or vendor startup
code information when calling the bootblock.

Make sure the bootblock startup code saves this parameter for use by
coreboot. As we don't want to touch memory before caches are
initialized, save the passed in parameter in r10 for the duration of
cache initialization.

Added warning comments to help enforcing that cache initialization
code does not touch r10.

BRANCH=storm
BUG=chrome-os-partner:30623
TEST=with the rest of the patches applied see the QCA uber-sbl report
     in the coreboot console output.

Change-Id: Ic6a09e8c3cf13ac4f2d12ee91c7ab41bc9aa95da
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: e41584f769eb042604883275b0d0bdfbf5b0d358
Original-Change-Id: I517a79dc95040326f46f0b80ee4e74bdddde8bf4
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/255144
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Commit-Queue: Vadim Bendebury <vbendeb@gmail.com>
Reviewed-on: http://review.coreboot.org/9842
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-04-21 08:24:39 +02:00
..
armv4 timer: Reestablish init_timer(), consolidate timer initialization calls 2015-04-14 09:03:28 +02:00
armv7 armv7: preserve bootblock invocation parameter 2015-04-21 08:24:39 +02:00
include Unify byte order macros and clrsetbits 2015-04-21 08:23:25 +02:00
libgcc vboot2: implement select_firmware for pre-romstage verification 2015-01-27 01:43:01 +01:00
asmlib.h arm: Update mem* functions to newer versions 2014-09-22 18:47:42 +02:00
boot.c program loading: unify on struct prog 2015-04-03 14:53:11 +02:00
clock.c coreboot arm: Define function for setting cntfrq register 2015-03-02 22:19:46 +01:00
cpu.c arm: Prevent compilation of old, experimental SMP support 2015-04-02 17:27:54 +02:00
div0.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
eabi_compat.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
id.S ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
Kconfig Kconfig: Fix incorrect CONFIG_STACK_SIZE values for X86 and ARM64 2015-04-15 00:22:13 +02:00
Makefile.inc CBFS: Automate ROM image layout and remove hardcoded offsets 2015-04-14 09:01:27 +02:00
memcpy.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
memmove.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
memset.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
stages.c arm: allow custom stage entry code 2015-04-17 09:20:46 +02:00
tables.c CBMEM: Implement cbmem_run_init_hooks() stub 2015-01-27 22:41:23 +01:00