From 20864c1d6dc6102168743fe283fae7d16bf2cef2 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 1 Jul 2015 20:29:42 +0200 Subject: rockchip/rk3288: Initialize CPU in bootblock Some basic MMU setup is required to allow unaligned memory accesses that happen across our entire codebase. Change-Id: If5a84e19a7a3e47d6009fd073b1323dfb25e6a06 Signed-off-by: Patrick Georgi Found-by: Julius Werner Reviewed-on: http://review.coreboot.org/10753 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/rockchip/rk3288/Makefile.inc | 2 +- src/soc/rockchip/rk3288/bootblock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/rockchip') diff --git a/src/soc/rockchip/rk3288/Makefile.inc b/src/soc/rockchip/rk3288/Makefile.inc index 0ec127b23a..cd523b0d56 100644 --- a/src/soc/rockchip/rk3288/Makefile.inc +++ b/src/soc/rockchip/rk3288/Makefile.inc @@ -21,7 +21,7 @@ ifeq ($(CONFIG_SOC_ROCKCHIP_RK3288),y) IDBTOOL = util/rockchip/make_idb.py -#bootblock-y += bootblock.c +bootblock-y += bootblock.c bootblock-y += cbmem.c ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y) bootblock-$(CONFIG_DRIVERS_UART) += uart.c diff --git a/src/soc/rockchip/rk3288/bootblock.c b/src/soc/rockchip/rk3288/bootblock.c index ce0ab33a68..d60c860054 100644 --- a/src/soc/rockchip/rk3288/bootblock.c +++ b/src/soc/rockchip/rk3288/bootblock.c @@ -27,7 +27,7 @@ #include #include -static void bootblock_soc_init(void) +void bootblock_soc_init(void) { rkclk_init(); -- cgit v1.2.3