From dfc2b31517535c8a969fadeec4e18172201cf160 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Tue, 6 Oct 2015 17:16:41 -0700 Subject: soc/apollolake: Add initial cache-as-ram setup for bootblock This is the minimum setup needed to both get cache-as-ram setup and a C environment working. On apollolake, we only get 32 KiB of data loaded into an SRAM that is readonly to the main CPU. Due to this restriction we have to set CAR and a C environment very early on. Change-Id: I65c51f972580609d2c1f03dfe2a86bc5d45d1e46 Signed-off-by: Alexandru Gagniuc Signed-off-by: Andrey Petrov Reviewed-on: https://review.coreboot.org/13301 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/bootblock/bootblock.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/soc/intel/apollolake/bootblock/bootblock.c (limited to 'src/soc/intel/apollolake/bootblock/bootblock.c') diff --git a/src/soc/intel/apollolake/bootblock/bootblock.c b/src/soc/intel/apollolake/bootblock/bootblock.c new file mode 100644 index 0000000000..dc0b183bba --- /dev/null +++ b/src/soc/intel/apollolake/bootblock/bootblock.c @@ -0,0 +1,6 @@ +#include +#include + +void asmlinkage bootblock_c_entry(void) +{ +} -- cgit v1.2.3