From 74e0390e7487fc531d95cffe7736ab8b5512062a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= <kyosti.malkki@gmail.com> Date: Sun, 3 Jun 2018 07:11:00 +0300 Subject: cbmem: Always use EARLY_CBMEM_INIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wipe out all remains of EARLY/LATE_CBMEM_INIT. Change-Id: Ice75ec0434bef60fa9493037f48833e38044d6e8 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/26828 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> --- src/Kconfig | 7 ------- src/arch/x86/Kconfig | 12 ------------ src/drivers/usb/Kconfig | 1 - src/mainboard/Kconfig | 3 --- 4 files changed, 23 deletions(-) (limited to 'src') diff --git a/src/Kconfig b/src/Kconfig index 62a7a92368..87b088f893 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -234,7 +234,6 @@ config NO_RELOCATABLE_RAMSTAGE config RELOCATABLE_RAMSTAGE bool - depends on EARLY_CBMEM_INIT default !NO_RELOCATABLE_RAMSTAGE select RELOCATABLE_MODULES help @@ -451,12 +450,10 @@ config RESUME_PATH_SAME_AS_BOOT config HAVE_ROMSTAGE_CONSOLE_SPINLOCK bool - depends on EARLY_CBMEM_INIT default n config HAVE_ROMSTAGE_NVRAM_CBFS_SPINLOCK bool - depends on EARLY_CBMEM_INIT default n help This should be enabled on certain plaforms, such as the AMD @@ -465,7 +462,6 @@ config HAVE_ROMSTAGE_NVRAM_CBFS_SPINLOCK config HAVE_ROMSTAGE_MICROCODE_CBFS_SPINLOCK bool - depends on EARLY_CBMEM_INIT default n config HAVE_MONOTONIC_TIMER @@ -1133,9 +1129,6 @@ config NO_XIP_EARLY_STAGES help Identify if early stages are eXecute-In-Place(XIP). -config EARLY_CBMEM_INIT - def_bool !LATE_CBMEM_INIT - config EARLY_CBMEM_LIST bool default n diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index 7c8371eff1..794ea115de 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -129,18 +129,6 @@ config CBMEM_TOP_BACKUP Platform implements non-volatile storage to cache cbmem_top() over stage transitions and optionally also over S3 suspend. -config LATE_CBMEM_INIT - def_bool n - select CBMEM_TOP_BACKUP - help - Enable this in chipset's Kconfig if northbridge does not implement - early cbmem_top() call for romstage. CBMEM tables will be allocated - late in ramstage, after PCI devices resources are known. - - WARNING: Late CBMEM initialization is deprecated. Platforms that - don't support early CBMEM initialization will be removed after - the release of coreboot 4.7. - config PRERAM_CBMEM_CONSOLE_SIZE hex default 0xc00 diff --git a/src/drivers/usb/Kconfig b/src/drivers/usb/Kconfig index 6965896d7e..d48bf32936 100644 --- a/src/drivers/usb/Kconfig +++ b/src/drivers/usb/Kconfig @@ -35,7 +35,6 @@ if USBDEBUG config USBDEBUG_IN_ROMSTAGE bool "Enable early (pre-RAM) usbdebug" default y - depends on EARLY_CBMEM_INIT help Configuring USB controllers in system-agent binary may cause problems to usbdebug. Disabling this option delays usbdebug to diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig index 04dca4adf5..2de807026b 100644 --- a/src/mainboard/Kconfig +++ b/src/mainboard/Kconfig @@ -10,9 +10,6 @@ endchoice source "src/mainboard/*/Kconfig" -comment "WARNING: This mainboard uses LATE_CBMEM_INIT, which is deprecated" - depends on LATE_CBMEM_INIT - config BOARD_ROMSIZE_KB_64 bool config BOARD_ROMSIZE_KB_128 -- cgit v1.2.3