From b320bc5e0e6863126b57166923f3e0fac96bbb0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 23 Nov 2019 20:22:09 +0200 Subject: AGESA: Disable boards from build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As per the 4.11 release requirement, C_ENVIRONMENT_BOOTBLOCK=y is a mandatory feature, which most AGESA and binaryPI boards lack. Disable such platforms from the build for the time being. The Kconfig symbol has been flipped, ROMCC_BOOTBLOCK=n is the same mandated feature as C_ENVIRONMENT_BOOTBLOCK=y. If a platform does not reach ROMCC_BOOTBLOCK=n within a reasonable timeframe both the mainboard and the respective unused platform support code will get removed. Change-Id: I7fceb0370f7f4f5f52080277c5d21615d3ab3454 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/37355 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/mainboard/elmex/Kconfig | 3 +++ src/mainboard/elmex/pcm205400/Kconfig | 5 ++++- src/mainboard/elmex/pcm205400/Kconfig.name | 4 ++-- src/mainboard/elmex/pcm205401/Kconfig | 3 +++ src/mainboard/elmex/pcm205401/Kconfig.name | 4 ++-- 5 files changed, 14 insertions(+), 5 deletions(-) (limited to 'src/mainboard/elmex') diff --git a/src/mainboard/elmex/Kconfig b/src/mainboard/elmex/Kconfig index d1fc9adda7..54217ea217 100644 --- a/src/mainboard/elmex/Kconfig +++ b/src/mainboard/elmex/Kconfig @@ -5,6 +5,9 @@ choice source "src/mainboard/elmex/*/Kconfig.name" +config ELMEX_BOARDS_DISABLED + bool "Boards from vendor are disabled" + endchoice source "src/mainboard/elmex/*/Kconfig" diff --git a/src/mainboard/elmex/pcm205400/Kconfig b/src/mainboard/elmex/pcm205400/Kconfig index 14254ca02d..e94a6d89bb 100644 --- a/src/mainboard/elmex/pcm205400/Kconfig +++ b/src/mainboard/elmex/pcm205400/Kconfig @@ -13,6 +13,9 @@ # GNU General Public License for more details. # +config BOARD_ELMEX_PCM205400 + def_bool n + if BOARD_ELMEX_PCM205400 config MAINBOARD_PART_NUMBER @@ -29,7 +32,7 @@ if BOARD_ELMEX_PCM205400 || BOARD_ELMEX_PCM205401 config BOARD_SPECIFIC_OPTIONS def_bool y - select ROMCC_BOOTBLOCK + #select ROMCC_BOOTBLOCK select CPU_AMD_AGESA_FAMILY14 select NORTHBRIDGE_AMD_AGESA_FAMILY14 select SOUTHBRIDGE_AMD_CIMX_SB800 diff --git a/src/mainboard/elmex/pcm205400/Kconfig.name b/src/mainboard/elmex/pcm205400/Kconfig.name index 445b58868a..6488992de2 100644 --- a/src/mainboard/elmex/pcm205400/Kconfig.name +++ b/src/mainboard/elmex/pcm205400/Kconfig.name @@ -1,2 +1,2 @@ -config BOARD_ELMEX_PCM205400 - bool "pcm205400" +#config BOARD_ELMEX_PCM205400 +# bool"pcm205400" diff --git a/src/mainboard/elmex/pcm205401/Kconfig b/src/mainboard/elmex/pcm205401/Kconfig index a9bbe6e471..15c741abf2 100644 --- a/src/mainboard/elmex/pcm205401/Kconfig +++ b/src/mainboard/elmex/pcm205401/Kconfig @@ -13,6 +13,9 @@ # GNU General Public License for more details. # +config BOARD_ELMEX_PCM205401 + def_bool n + if BOARD_ELMEX_PCM205401 config MAINBOARD_PART_NUMBER diff --git a/src/mainboard/elmex/pcm205401/Kconfig.name b/src/mainboard/elmex/pcm205401/Kconfig.name index f70b215abc..050b94c4b4 100644 --- a/src/mainboard/elmex/pcm205401/Kconfig.name +++ b/src/mainboard/elmex/pcm205401/Kconfig.name @@ -1,2 +1,2 @@ -config BOARD_ELMEX_PCM205401 - bool "pcm205401" +#config BOARD_ELMEX_PCM205401 +# bool "pcm205401" -- cgit v1.2.3