summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig33
1 files changed, 23 insertions, 10 deletions
diff --git a/src/Kconfig b/src/Kconfig
index c282d21757..91a3b29f63 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -332,8 +332,31 @@ endmenu
source "src/acpi/Kconfig"
+menu "Mainboard"
+
source "src/mainboard/Kconfig"
+config CBFS_SIZE
+ hex "Size of CBFS filesystem in ROM"
+ default 0x100000 if NORTHBRIDGE_INTEL_GM45 || NORTHBRIDGE_INTEL_SANDYBRIDGE || \
+ NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE || \
+ NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE || NORTHBRIDGE_INTEL_FSP_SANDYBRIDGE || \
+ NORTHBRIDGE_INTEL_FSP_IVYBRIDGE || NORTHBRIDGE_INTEL_HASWELL || \
+ NORTHBRIDGE_INTEL_NEHALEM || SOC_INTEL_BAYTRAIL || SOC_INTEL_BRASWELL || \
+ SOC_INTEL_BROADWELL
+ default 0x200000 if SOC_INTEL_FSP_BAYTRAIL
+ default ROM_SIZE
+ help
+ This is the part of the ROM actually managed by CBFS, located at the
+ end of the ROM (passed through cbfstool -o) on x86 and at at the start
+ of the ROM (passed through cbfstool -s) everywhere else. It defaults
+ to span the whole ROM on all but Intel systems that use an Intel Firmware
+ Descriptor. It can be overridden to make coreboot live alongside other
+ components like ChromeOS's vboot/FMAP or Intel's IFD / ME / TXE
+ binaries.
+
+endmenu
+
config SYSTEM_TYPE_LAPTOP
default n
bool
@@ -482,16 +505,6 @@ config IOAPIC
bool
default n
-config CBFS_SIZE
- hex "Size of CBFS filesystem in ROM"
- default ROM_SIZE
- help
- This is the part of the ROM actually managed by CBFS, located at the
- end of the ROM (passed through cbfstool -o) on x86 and at at the start
- of the ROM (passed through cbfstool -s) everywhere else. Defaults to
- span the whole ROM but can be overwritten to make coreboot live
- alongside other components (like ChromeOS's vboot/FMAP).
-
config CACHE_ROM_SIZE_OVERRIDE
hex
default 0