summaryrefslogtreecommitdiff
path: root/plat/rockchip
diff options
context:
space:
mode:
authorChristoph Müllner <christophm30@gmail.com>2019-05-01 17:45:10 +0200
committerChristoph Müllner <christophm30@gmail.com>2019-05-01 17:52:53 +0200
commitf476e63f7af05d0c8e375fed28459e2027c064dc (patch)
treeef7f446755c1411ee654e34557dbd873206a9da1 /plat/rockchip
parent0957b9b2717d314fc669b22542e8329d48f178ef (diff)
rockchip: Add params_setup to RK3328.
params_setup.c provides the function params_early_setup, which takes care of parsing ATF parameters (bl31_plat_param array, fdt or coreboot table). As params_early_setup is defined as weak symbol in bl31_plat_setup.c, providing a platform-specific bl31_plat_setup implementation is optional. This patch adds the rockchip-common params_setup.c to the sources for RK3328. This streamlines the parameter handling for all supported rockchip SoCs. Signed-off-by: Christoph Müllner <christophm30@gmail.com> Change-Id: I071c03106114364ad2fc408e49cc791fe5b35925
Diffstat (limited to 'plat/rockchip')
-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 3caa1082..98654a54 100644
--- a/plat/rockchip/rk3328/platform.mk
+++ b/plat/rockchip/rk3328/platform.mk
@@ -40,6 +40,7 @@ BL31_SOURCES += ${RK_GIC_SOURCES} \
lib/cpus/aarch64/cortex_a53.S \
${RK_PLAT_COMMON}/drivers/parameter/ddr_parameter.c \
${RK_PLAT_COMMON}/aarch64/plat_helpers.S \
+ ${RK_PLAT_COMMON}/params_setup.c \
${RK_PLAT_COMMON}/bl31_plat_setup.c \
${RK_PLAT_COMMON}/aarch64/pmu_sram_cpus_on.S \
${RK_PLAT_COMMON}/plat_pm.c \