rockchip: Add params_setup to RK3328.
authorChristoph Müllner <[email protected]>
Wed, 1 May 2019 15:45:10 +0000 (17:45 +0200)
committerChristoph Müllner <[email protected]>
Wed, 1 May 2019 15:52:53 +0000 (17:52 +0200)
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 <[email protected]>
Change-Id: I071c03106114364ad2fc408e49cc791fe5b35925

plat/rockchip/rk3328/platform.mk

index 3caa1082f482cd8d5c8ef967fb2c0a484876b7f0..98654a54e5b8496f9757accc92a1a6e3a1f79fb0 100644 (file)
@@ -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                     \