build(stm32mp1): update STM32MP1 compilation script
The STM32MP1 compilation shouldn't be restricted to only compile the
different bls. This was done because of device tree compiler version.
The pre_tf_build() is then removed, and the DTB_FILE_NAME is added.
Change-Id: I56c1cd12f90bd5a6a481827ede9707d3a7a25b46
Signed-off-by: Yann Gautier <yann.gautier@st.com>
diff --git a/group/tf-l1-build-plat/stm32mp1-default:nil b/group/tf-l1-build-plat/stm32mp1-default:nil
index 952a482..b5958ec 100644
--- a/group/tf-l1-build-plat/stm32mp1-default:nil
+++ b/group/tf-l1-build-plat/stm32mp1-default:nil
@@ -1,12 +1,7 @@
#!/usr/bin/env bash
#
-# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
+# Copyright (c) 2019-2021 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
-pre_tf_build() {
- # Only build bl1, bl2 and bl32 for this config
- # Building 'all' fails because of older DTC version.
- targets="bl1 bl2 bl32" set_tf_build_targets
-}
diff --git a/tf_config/stm32mp1-default b/tf_config/stm32mp1-default
index a36c0a9..6ad9c57 100644
--- a/tf_config/stm32mp1-default
+++ b/tf_config/stm32mp1-default
@@ -8,3 +8,4 @@
STM32MP_SDMMC=1
STM32MP_SPI_NAND=1
STM32MP_SPI_NOR=1
+DTB_FILE_NAME=stm32mp157c-ev1.dtb