arch/x86/Kconfig: Add deprecation warnings for LATE_CBMEM_INIT
The deprecation of late (post-romstage) CBMEM initialization was announced in this blog post: https://blogs.coreboot.org/blog/2017/05/08/announcing-coreboot-4-6/ There are two warnings: * In LATE_CBMEM_INIT's help text, I've added a multi-line warning, that aims to explain the problem. * In src/mainboard/Kconfig (just below the mainboard selection), there's a warning which points the user at LATE_CBMEM_INIT, if such a board is selected. Also update the function that needs to be implemented, as pointed out by Keith Hui and Kyösti Mälkki. Change-Id: I2d21a6ab2fc2811d44fc4febb05841bb2f8d1857 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/21112 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
250272340b
commit
78fc3fc105
|
@ -122,8 +122,12 @@ config LATE_CBMEM_INIT
|
||||||
select CBMEM_TOP_BACKUP
|
select CBMEM_TOP_BACKUP
|
||||||
help
|
help
|
||||||
Enable this in chipset's Kconfig if northbridge does not implement
|
Enable this in chipset's Kconfig if northbridge does not implement
|
||||||
early get_top_of_ram() call for romstage. CBMEM tables will be
|
early cbmem_top() call for romstage. CBMEM tables will be allocated
|
||||||
allocated late in ramstage, after PCI devices resources are known.
|
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
|
config PRERAM_CBMEM_CONSOLE_SIZE
|
||||||
hex
|
hex
|
||||||
|
|
|
@ -10,6 +10,9 @@ endchoice
|
||||||
|
|
||||||
source "src/mainboard/*/Kconfig"
|
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
|
config BOARD_ROMSIZE_KB_64
|
||||||
bool
|
bool
|
||||||
config BOARD_ROMSIZE_KB_128
|
config BOARD_ROMSIZE_KB_128
|
||||||
|
|
Loading…
Reference in New Issue