summaryrefslogtreecommitdiff
path: root/plat/rockchip/rk3328
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2017-08-02 16:31:04 -0700
committerJulius Werner <jwerner@chromium.org>2018-01-19 15:21:12 -0800
commit890abc33e46349fb01aed443ad7128b82ba34f3d (patch)
treead62b1a3e332357880e59d53ea070997898945e6 /plat/rockchip/rk3328
parent3c250b9ab669614c8a2fcae27f598f384c6146fe (diff)
rockchip: Move to MULTI_CONSOLE_API
This patch changes all Rockchip platforms to use the new MULTI_CONSOLE_API. The platform-specific plat_crash_console implementations are removed so that the platform can use the ones from the common platform code instead. Also change the registers used in plat_crash_print_regs. The existing use of x16 and x17 has always been illegal, since those registers are reserved for use by the linker as a temporary scratch registers in intra-procedure-call veneers and can never be expected to maintain their values across a function call. Change-Id: I8249424150be8d5543ed4af93b56756795a5288f Signed-off-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'plat/rockchip/rk3328')
-rw-r--r--plat/rockchip/rk3328/platform.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/rockchip/rk3328/platform.mk b/plat/rockchip/rk3328/platform.mk
index b4b2bc45..6e4d5b4d 100644
--- a/plat/rockchip/rk3328/platform.mk
+++ b/plat/rockchip/rk3328/platform.mk
@@ -49,6 +49,7 @@ BL31_SOURCES += ${RK_GIC_SOURCES} \
${RK_PLAT_SOC}/drivers/soc/soc.c
ENABLE_PLAT_COMPAT := 0
+MULTI_CONSOLE_API := 1
include lib/coreboot/coreboot.mk