[coreboot-gerrit] New patch to review for coreboot: Kconfig: Add ROM_START variable
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Fri Sep 11 16:42:30 CET 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11630
-gerrit
commit d9d74288a575d06b993b41e035f5e67aa9e858d2
Author: Patrick Georgi <pgeorgi at chromium.org>
Date: Fri Sep 11 15:29:42 2015 +0200
Kconfig: Add ROM_START variable
It's automatically derived from ROM_SIZE and specifies the offset of
flash in memory. On non-x86 that's 0, on x86 it's 4GB-ROM_SIZE.
Change-Id: Icc747eccf4263875f15806fcb38ec29e4665cf11
Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
src/mainboard/Kconfig | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index ab8ee26..3098803 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -128,6 +128,20 @@ config ROM_SIZE
default 0xc00000 if COREBOOT_ROMSIZE_KB_12288
default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
+config ROM_START
+ hex
+ default 0 if !ARCH_X86
+ default 0xffff0000 if COREBOOT_ROMSIZE_KB_64
+ default 0xfffe0000 if COREBOOT_ROMSIZE_KB_128
+ default 0xfffc0000 if COREBOOT_ROMSIZE_KB_256
+ default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
+ default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
+ default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
+ default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096
+ default 0xff800000 if COREBOOT_ROMSIZE_KB_8192
+ default 0xff400000 if COREBOOT_ROMSIZE_KB_12288
+ default 0xff000000 if COREBOOT_ROMSIZE_KB_16384
+
config ENABLE_POWER_BUTTON
bool "Enable the power button" if POWER_BUTTON_IS_OPTIONAL
default y if POWER_BUTTON_DEFAULT_ENABLE
More information about the coreboot-gerrit
mailing list