]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: stm32mp1: use ssbl partition name for U-Boot
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 14 Sep 2021 12:14:52 +0000 (14:14 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 21 Sep 2021 07:22:01 +0000 (09:22 +0200)
Continue to use the "ssbl" name for GPT partition of secondary boot
stage = U-Boot for basic boot with SPL to avoid to disturb existing user.

The "fip" partition name is only used for TFA_BOOT with FIP, it is a TF-A
BL2 requirement; it the default configuration for STMicroelectronics
boards.

Fixes: b73e8bf453f8 ("arm: stm32mp: add defconfig for trusted boot with FIP")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

index 0101962ea5e729d58a6eb758c13e49297cd6966f..15a04ae927e7d41fe6c153ca9de447651fce48b2 100644 (file)
                st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
        };
 
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
        config {
                u-boot,mmc-env-partition = "ssbl";
        };
+#endif
 
+#ifdef CONFIG_STM32MP15x_STM32IMAGE
        /* only needed for boot with TF-A, witout FIP support */
        firmware {
                optee {
index 32777384c6cdef102314fc464817b68b48517315..408abaf52fa5aa219a9d7039c9145a93a0a07e90 100644 (file)
                st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
        };
 
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
        config {
                u-boot,mmc-env-partition = "ssbl";
        };
+#endif
 
+#ifdef CONFIG_STM32MP15x_STM32IMAGE
        /* only needed for boot with TF-A, witout FIP support */
        firmware {
                optee {