summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-30 15:29:03 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-09-01 18:51:12 +0200
commitf098373c01a536a923aa9c8809d8d4d1d3b3bc59 (patch)
tree87ffc68b1b9b8155a3d3587bda8c23cd58a8d977
parent85750091ba6227428f2eb3422356708e8e88b7e9 (diff)
rockchip: rk3399: include libfdt in build
For the RK3399-Q7, we need access to the FDT passed into the full U-Boot (i.e. BL2) to configure some functionality in the ATF. To enable the needed infrastructure, include the build of libfdt for the RK3399 platform. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--plat/rockchip/rk3399/platform.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/plat/rockchip/rk3399/platform.mk b/plat/rockchip/rk3399/platform.mk
index 84ec988f..55c4eaf2 100644
--- a/plat/rockchip/rk3399/platform.mk
+++ b/plat/rockchip/rk3399/platform.mk
@@ -8,6 +8,8 @@ RK_PLAT := plat/rockchip
RK_PLAT_SOC := ${RK_PLAT}/${PLAT}
RK_PLAT_COMMON := ${RK_PLAT}/common
+include lib/libfdt/libfdt.mk
+
PLAT_INCLUDES := -I${RK_PLAT_COMMON}/ \
-I${RK_PLAT_COMMON}/include/ \
-I${RK_PLAT_COMMON}/pmusram \
@@ -59,7 +61,8 @@ BL31_SOURCES += ${RK_GIC_SOURCES} \
${RK_PLAT_SOC}/drivers/dram/dfs.c \
${RK_PLAT_SOC}/drivers/dram/dram.c \
${RK_PLAT_SOC}/drivers/dram/dram_spec_timing.c \
- ${RK_PLAT_SOC}/drivers/dram/suspend.c
+ ${RK_PLAT_SOC}/drivers/dram/suspend.c \
+ $(LIBFDT_SRCS)
ENABLE_PLAT_COMPAT := 0