summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/gaze15/Kconfig
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2021-10-27 17:52:35 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-11-02 19:22:05 +0000
commit0893b871c6335ffb2639415b419b2523a0d51c68 (patch)
tree02ecf25baa270c3d80088265c6fa8a685715f2c3 /src/mainboard/system76/gaze15/Kconfig
parentc840bc4e322189244d3c71f27f1558d7a842a782 (diff)
mb/system76/gaze15: Convert to variant setup
Change-Id: I6d8a97d71ff3b4408f5e11230ed3ff00357f7123 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58675 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/system76/gaze15/Kconfig')
-rw-r--r--src/mainboard/system76/gaze15/Kconfig20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/mainboard/system76/gaze15/Kconfig b/src/mainboard/system76/gaze15/Kconfig
index e6265e40c2..e82a845283 100644
--- a/src/mainboard/system76/gaze15/Kconfig
+++ b/src/mainboard/system76/gaze15/Kconfig
@@ -17,7 +17,7 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_TPM2
select NO_UART_ON_SUPERIO
select SOC_INTEL_CANNONLAKE_PCH_H
- select SOC_INTEL_COMETLAKE_1
+ select SOC_INTEL_COMETLAKE_1 if BOARD_SYSTEM76_GAZE15
select SOC_INTEL_COMMON_BLOCK_HDA_VERB
select SPD_READ_BY_WORD
select SYSTEM_TYPE_LAPTOP
@@ -25,45 +25,43 @@ config BOARD_SPECIFIC_OPTIONS
config MAINBOARD_DIR
default "system76/gaze15"
+config VARIANT_DIR
+ default "gaze15" if BOARD_SYSTEM76_GAZE15
+
+config OVERRIDE_DEVICETREE
+ default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
+
config MAINBOARD_PART_NUMBER
- default "gaze15"
+ default "gaze15" if BOARD_SYSTEM76_GAZE15
config MAINBOARD_SMBIOS_PRODUCT_NAME
- string
default "Gazelle"
config MAINBOARD_VERSION
- string
- default "gaze15"
+ default "gaze15" if BOARD_SYSTEM76_GAZE15
config CBFS_SIZE
default 0xA00000
config CONSOLE_POST
- bool
default y
config ONBOARD_VGA_IS_PRIMARY
- bool
default y
config UART_FOR_CONSOLE
- int
default 2
config MAX_CPUS
- int
default 16
config DIMM_MAX
default 2
config VGA_BIOS_ID
- string
default "8086,9bc4"
config POST_DEVICE
- bool
default n
endif