diff options
author | Julius Werner <jwerner@chromium.org> | 2017-06-09 15:22:44 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2018-01-19 15:21:12 -0800 |
commit | 3c250b9ab669614c8a2fcae27f598f384c6146fe (patch) | |
tree | 568ad6a850550bc9b440aad0733133fccefcefe4 /plat/rockchip/rk3399 | |
parent | 3429c77ab09b69eef4ed752c2d641ed724e72110 (diff) |
rockchip: Use coreboot-supplied serial console on coreboot systems
This patch changes all Rockchip platforms to initialize the serial
console with information supplied by coreboot rather than hardcoded
base address and divisor values if BL31 is run on top of coreboot.
Moving the BL2-to-BL31 parameter parsing as early as possible to ensure
that the console is available for all following code.
Also update the Rockchip platform to use MULTI_CONSOLE_API.
Change-Id: I670d350fa2f8b8133539f91ac14977ab47db60d9
Signed-off-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'plat/rockchip/rk3399')
-rw-r--r-- | plat/rockchip/rk3399/platform.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/rockchip/rk3399/platform.mk b/plat/rockchip/rk3399/platform.mk index 33b9723d..f9d141d4 100644 --- a/plat/rockchip/rk3399/platform.mk +++ b/plat/rockchip/rk3399/platform.mk @@ -65,6 +65,8 @@ BL31_SOURCES += ${RK_GIC_SOURCES} \ ENABLE_PLAT_COMPAT := 0 +include lib/coreboot/coreboot.mk + $(eval $(call add_define,PLAT_EXTRA_LD_SCRIPT)) # Enable workarounds for selected Cortex-A53 erratas. |