Merge tag 'u-boot-stm32-20210921' of https://source.denx.de/u-boot/custodians/u-boot-stm
authorTom Rini <trini@konsulko.com>
Wed, 22 Sep 2021 13:38:48 +0000 (09:38 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 22 Sep 2021 13:38:48 +0000 (09:38 -0400)
- stm32mp15: fix the used partition name for U-Boot environement with SPL

arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

index 0101962..15a04ae 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 3277738..408abaf 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 {