From 2bdc1da94b7d6cd72bea98870c51b29c5e2a14b4 Mon Sep 17 00:00:00 2001
From: Lionel Debieve <lionel.debieve@st.com>
Date: Sun, 25 Oct 2020 13:16:29 +0100
Subject: [PATCH] stm32mp1: add dtbs rule for FIP package dependency

Because we are using firmware configuration in FIP
container, we must embed the corresponding device tree.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Change-Id: I2deae522f43086f884594d4dd78b053d3c08615e
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/182041
Reviewed-by: CITOOLS <smet-aci-reviews@lists.codex.cro.st.com>
Reviewed-by: Yann GAUTIER <yann.gautier@st.com>
---
 plat/st/stm32mp1/platform.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plat/st/stm32mp1/platform.mk b/plat/st/stm32mp1/platform.mk
index f4520ae03..8525be1f4 100644
--- a/plat/st/stm32mp1/platform.mk
+++ b/plat/st/stm32mp1/platform.mk
@@ -118,6 +118,7 @@ STM32IMAGE		?= ${STM32IMAGEPATH}/stm32image${BIN_EXT}
 STM32IMAGE_SRC		:= ${STM32IMAGEPATH}/stm32image.c
 
 ifneq (${STM32MP_USE_STM32IMAGE},1)
+FIP_DEPS		+=	dtbs
 STM32MP_NT_FW_CONFIG	:=	${BL33_CFG}
 STM32MP_FW_CONFIG_NAME	:=	$(patsubst %.dtb,%-fw-config.dtb,$(DTB_FILE_NAME))
 STM32MP_FW_CONFIG	:=	${BUILD_PLAT}/fdts/$(STM32MP_FW_CONFIG_NAME)
-- 
GitLab