summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-20 14:53:22 -0600
committerTom Rini <[email protected]>2026-04-03 12:06:10 -0600
commitb0eaaa067ea40611b9c047576adc8abd1a4d63a7 (patch)
tree2293b2d2fd3e6e03606850d81fddc4d9202eab18 /arch
parent0b1a79350212d0d166135bcfa4dd3a2cfbdc59ce (diff)
global: Audit Kconfig usage of PARTITION_TYPE_GUID
It is not functionally possible to use the code enabled by PARTITION_TYPE_GUID without having EFI_PARTITION be enabled as well. Not all users of the former had ensured that the latter was enabled however, so audit all current users and then as appropriate select or imply EFI_PARTITION as needed. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/Kconfig2
-rw-r--r--arch/arm/mach-rockchip/Kconfig2
-rw-r--r--arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig1
3 files changed, 3 insertions, 2 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index ba99d251737..10755fec8bb 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -254,7 +254,7 @@ config SANDBOX
imply AVB_VERIFY
imply LIBAVB
imply CMD_AVB
- imply PARTITION_TYPE_GUID
+ imply PARTITION_TYPE_GUID if EFI_PARTITION
imply SCP03
imply CMD_SCP03
imply UDP_FUNCTION_FASTBOOT
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 9f1f77ee5b3..108713488af 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -284,7 +284,7 @@ config ROCKCHIP_RK3399
imply OF_LIBFDT_OVERLAY
imply OF_LIVE
imply OF_UPSTREAM
- imply PARTITION_TYPE_GUID
+ imply PARTITION_TYPE_GUID if EFI_PARTITION
imply PHY_GIGE if GMAC_ROCKCHIP
imply PRE_CONSOLE_BUFFER
imply RNG_ROCKCHIP
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig b/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig
index 490097e98be..647e0a4c2bf 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig
+++ b/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig
@@ -3,6 +3,7 @@ config CMD_STM32PROG
select DFU
select DFU_RAM
select DFU_VIRT
+ select EFI_PARTITION
select PARTITION_TYPE_GUID
imply CMD_GPT if MMC
imply CMD_MTD if MTD