From 5ff6bf30d8bc08eb2b8e0542d31610d94023b6dd Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 22 Feb 2024 16:23:20 -0700 Subject: util/amdfwtool: build amdfwtool only for all tools or AMD CPUs When we're building non-AMD processors, don't bother building amdfwtool unless we're specifically building all of the tools like for abuild. Change-Id: I9021674a06d65a79e24020790d317ab947c505fe Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/c/coreboot/+/80714 Reviewed-by: Felix Singer Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/psp/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/soc/amd') diff --git a/src/soc/amd/common/block/psp/Kconfig b/src/soc/amd/common/block/psp/Kconfig index a52ca0e9d7..5699e8c70a 100644 --- a/src/soc/amd/common/block/psp/Kconfig +++ b/src/soc/amd/common/block/psp/Kconfig @@ -162,3 +162,9 @@ config AMD_FWM_POSITION default 0xe20000 if AMD_FWM_POSITION_E20000 default 0xf20000 if AMD_FWM_POSITION_F20000 default 0xfa0000 if AMD_FWM_POSITION_FA0000 + +config USE_AMDFWTOOL + bool + default y if SOC_AMD_COMMON_BLOCK_PSP + help + Select this if AMDFWTOOL needs to be built -- cgit v1.2.3