]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
config: stm32mp15: remove CONFIG_FASTBOOT_CMD_OEM_FORMAT
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 30 May 2023 12:26:21 +0000 (14:26 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 16 Jun 2023 09:05:15 +0000 (11:05 +0200)
Remove the support of the fastboot "oem format" command for STM32MP15x
boards and removed the associated env variable "partitions".
This command is not required; with fastboot tool, the GPT partition can
be handle with "flash" command in "gpt" target (=CONFIG_FASTBOOT_GPT_NAME),
for example: fastboot flash gpt gpt.bin

This patch avoids to define the GPT partitioning in U-Boot environment,
which is incompatible with planned modifications, for example to
support TF-A firmware update.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
configs/stm32mp15_basic_defconfig
configs/stm32mp15_defconfig
configs/stm32mp15_trusted_defconfig
include/configs/stm32mp15_common.h
include/configs/stm32mp15_st_common.h

index bc83bdd0984d8349dfe7e4562391849d83d46112..424ae5dbdfafa30d303be700049001f239f66105 100644 (file)
@@ -108,7 +108,6 @@ CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
 CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
 CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
 CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
-CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
 CONFIG_FASTBOOT_CMD_OEM_BOOTBUS=y
 CONFIG_GPIO_HOG=y
index 10453a1ab432b2c9bc228e072b5cfba762b921bc..12b9b549732e96079924c97985e3502269883750 100644 (file)
@@ -81,7 +81,6 @@ CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
 CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
 CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
 CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
-CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
 CONFIG_FASTBOOT_CMD_OEM_BOOTBUS=y
 CONFIG_GPIO_HOG=y
index 5657a67669e4a172cd349b4740aa2cae7c6b8194..5b94e0c6d2e78b39c07aa51a6d88be3fd87a2603 100644 (file)
@@ -82,7 +82,6 @@ CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
 CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
 CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
 CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
-CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
 CONFIG_FASTBOOT_CMD_OEM_BOOTBUS=y
 CONFIG_GPIO_HOG=y
index 7db72a19ed95c3ee9eb919ee40edb863890f045c..29a1197b5ae22c42ac21f8cfd67f83c6f787a09b 100644 (file)
                "run distro_bootcmd;" \
        "fi;\0"
 
-#ifdef CONFIG_FASTBOOT_CMD_OEM_FORMAT
-/* eMMC default partitions for fastboot command: oem format */
-#define STM32MP_PARTS_DEFAULT \
-       "partitions=" \
-       "name=ssbl,size=2M;" \
-       "name=bootfs,size=64MB,bootable;" \
-       "name=vendorfs,size=16M;" \
-       "name=rootfs,size=746M;" \
-       "name=userfs,size=-\0"
-#else
-#define STM32MP_PARTS_DEFAULT
-#endif
-
 #define STM32MP_EXTRA \
        "env_check=if env info -p -d -q; then env save; fi\0" \
        "boot_net_usb_start=true\0"
 #define CFG_EXTRA_ENV_SETTINGS \
        STM32MP_MEM_LAYOUT \
        STM32MP_BOOTCMD \
-       STM32MP_PARTS_DEFAULT \
        BOOTENV \
        STM32MP_EXTRA \
        STM32MP_BOARD_EXTRA_ENV
index 866cd7a719f80c945f0091b4e73286c57dd6a082..b45982a35b8ca410712508626187e716ed983f3e 100644 (file)
@@ -47,7 +47,6 @@
 #define CFG_EXTRA_ENV_SETTINGS \
        STM32MP_MEM_LAYOUT \
        ST_STM32MP1_BOOTCMD \
-       STM32MP_PARTS_DEFAULT \
        BOOTENV \
        STM32MP_EXTRA \
        STM32MP_BOARD_EXTRA_ENV