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/biostar/Kconfig | 3 +++ src/mainboard/biostar/a68n_5200/Kconfig | 5 ++++- src/mainboard/biostar/a68n_5200/Kconfig.name | 4 ++-- src/mainboard/biostar/am1ml/Kconfig | 5 ++++- src/mainboard/biostar/am1ml/Kconfig.name | 4 ++-- 5 files changed, 15 insertions(+), 6 deletions(-) (limited to 'src/mainboard/biostar') diff --git a/src/mainboard/biostar/Kconfig b/src/mainboard/biostar/Kconfig index 43896a3f1f..6469d4e6b5 100644 --- a/src/mainboard/biostar/Kconfig +++ b/src/mainboard/biostar/Kconfig @@ -20,6 +20,9 @@ choice source "src/mainboard/biostar/*/Kconfig.name" +config BIOSTAR_BOARDS_DISABLED + bool "Boards from vendor are disabled" + endchoice source "src/mainboard/biostar/*/Kconfig" diff --git a/src/mainboard/biostar/a68n_5200/Kconfig b/src/mainboard/biostar/a68n_5200/Kconfig index a452569a9b..f608513d0e 100644 --- a/src/mainboard/biostar/a68n_5200/Kconfig +++ b/src/mainboard/biostar/a68n_5200/Kconfig @@ -15,11 +15,14 @@ # GNU General Public License for more details. # +config BOARD_BIOSTAR_A68N5200 + def_bool n + if BOARD_BIOSTAR_A68N5200 config BOARD_SPECIFIC_OPTIONS def_bool y - select ROMCC_BOOTBLOCK + #select ROMCC_BOOTBLOCK select CPU_AMD_AGESA_FAMILY16_KB select NORTHBRIDGE_AMD_AGESA_FAMILY16_KB select SOUTHBRIDGE_AMD_AGESA_YANGTZE diff --git a/src/mainboard/biostar/a68n_5200/Kconfig.name b/src/mainboard/biostar/a68n_5200/Kconfig.name index 52a7f1511a..6d765d2712 100644 --- a/src/mainboard/biostar/a68n_5200/Kconfig.name +++ b/src/mainboard/biostar/a68n_5200/Kconfig.name @@ -1,2 +1,2 @@ -config BOARD_BIOSTAR_A68N5200 - bool "A68N-5200" +#config BOARD_BIOSTAR_A68N5200 +# bool"A68N-5200" diff --git a/src/mainboard/biostar/am1ml/Kconfig b/src/mainboard/biostar/am1ml/Kconfig index 3c87965998..866fc66e5d 100644 --- a/src/mainboard/biostar/am1ml/Kconfig +++ b/src/mainboard/biostar/am1ml/Kconfig @@ -14,12 +14,15 @@ # GNU General Public License for more details. # +config BOARD_BIOSTAR_AM1ML + def_bool n + if BOARD_BIOSTAR_AM1ML config BOARD_SPECIFIC_OPTIONS def_bool y select BOARD_ROMSIZE_KB_4096 - select ROMCC_BOOTBLOCK + #select ROMCC_BOOTBLOCK select CPU_AMD_AGESA_FAMILY16_KB select FORCE_AM1_SOCKET_SUPPORT select GFXUMA diff --git a/src/mainboard/biostar/am1ml/Kconfig.name b/src/mainboard/biostar/am1ml/Kconfig.name index ccfa6fea85..0980c2e85d 100644 --- a/src/mainboard/biostar/am1ml/Kconfig.name +++ b/src/mainboard/biostar/am1ml/Kconfig.name @@ -1,2 +1,2 @@ -config BOARD_BIOSTAR_AM1ML - bool "AM1ML" +#config BOARD_BIOSTAR_AM1ML +# bool"AM1ML" -- cgit v1.2.1