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 <pgeorgi@chromium.org> Found-by: Julius Werner <jwerner@chromium.org> Reviewed-on: http://review.coreboot.org/10753 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
088c1894f8
commit
20864c1d6d
|
@ -21,7 +21,7 @@ ifeq ($(CONFIG_SOC_ROCKCHIP_RK3288),y)
|
||||||
|
|
||||||
IDBTOOL = util/rockchip/make_idb.py
|
IDBTOOL = util/rockchip/make_idb.py
|
||||||
|
|
||||||
#bootblock-y += bootblock.c
|
bootblock-y += bootblock.c
|
||||||
bootblock-y += cbmem.c
|
bootblock-y += cbmem.c
|
||||||
ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y)
|
ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y)
|
||||||
bootblock-$(CONFIG_DRIVERS_UART) += uart.c
|
bootblock-$(CONFIG_DRIVERS_UART) += uart.c
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include <soc/timer.h>
|
#include <soc/timer.h>
|
||||||
#include <symbols.h>
|
#include <symbols.h>
|
||||||
|
|
||||||
static void bootblock_soc_init(void)
|
void bootblock_soc_init(void)
|
||||||
{
|
{
|
||||||
rkclk_init();
|
rkclk_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue