[4/6] boot/stm32-ddr-phy-binary: new package
Commit Message
The DDR PHY firmware binaries of the STMicroelectronics STM32MP2 SoCs
are not part of the upstream TF-A sources: they must be retrieved from
a separate repository and are packed in the FIP by TF-A.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
DEVELOPERS | 1 +
boot/Config.in | 1 +
boot/stm32-ddr-phy-binary/Config.in | 9 +++++++++
boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.hash | 3 +++
boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.mk | 13 +++++++++++++
5 files changed, 27 insertions(+)
create mode 100644 boot/stm32-ddr-phy-binary/Config.in
create mode 100644 boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.hash
create mode 100644 boot/stm32-ddr-phy-binary/stm32-ddr-phy-binary.mk
@@ -811,6 +811,7 @@ F: board/bsh/
F: board/stmicroelectronics/stm32f746-disco/
F: board/stmicroelectronics/stm32f769-disco/
F: board/stmicroelectronics/stm32h747-disco/
+F: boot/stm32-ddr-phy-binary/
F: boot/ti-k3-boot-firmware/
F: configs/imx6ulz_bsh_smm_m2_defconfig
F: configs/imx8mn_bsh_smm_s2_defconfig
@@ -22,6 +22,7 @@ source "boot/optee-os/Config.in"
source "boot/opensbi/Config.in"
source "boot/palo/Config.in"
source "boot/shim/Config.in"
+source "boot/stm32-ddr-phy-binary/Config.in"
source "boot/syslinux/Config.in"
source "boot/ti-k3-boot-firmware/Config.in"
source "boot/ti-k3-r5-loader/Config.in"
new file mode 100644
@@ -0,0 +1,9 @@
+config BR2_TARGET_STM32_DDR_PHY_BINARY
+ bool "stm32-ddr-phy-binary"
+ depends on BR2_aarch64
+ help
+ DDR PHY firmware binaries for the STMicroelectronics STM32MP2
+ SoCs. They are not built, they are needed as a dependency to
+ build the TF-A firmware for these SoCs.
+
+ https://github.com/STMicroelectronics/stm32-ddr-phy-binary
new file mode 100644
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 519595ae24b44d70b0c0ac1e776bf1b871da00b615b9bffa83573e45b806eedc stm32-ddr-phy-binary-1.0-stm32mp.tar.gz
+sha256 6b6a3968253466c776a660e916c67c7207c42fcd5bf02895e50215f923dae29d LICENSE.md
new file mode 100644
@@ -0,0 +1,13 @@
+################################################################################
+#
+# stm32-ddr-phy-binary
+#
+################################################################################
+
+STM32_DDR_PHY_BINARY_VERSION = 1.0-stm32mp
+STM32_DDR_PHY_BINARY_SITE = $(call github,STMicroelectronics,stm32-ddr-phy-binary,v$(STM32_DDR_PHY_BINARY_VERSION))
+STM32_DDR_PHY_BINARY_LICENSE = SLA0044
+STM32_DDR_PHY_BINARY_LICENSE_FILES = LICENSE.md
+STM32_DDR_PHY_BINARY_INSTALL_TARGET = NO
+
+$(eval $(generic-package))