summaryrefslogtreecommitdiff
path: root/src/mainboard/acer/g43t-am3/Kconfig
diff options
context:
space:
mode:
authorMichael Büchler <michael.buechler@posteo.net>2021-07-10 13:39:57 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-08-18 10:55:22 +0000
commit26b1a5f62bb25babfb2a8313db0defd84da681ab (patch)
treeee793c410f93afdc5d378354864def0e1cea0842 /src/mainboard/acer/g43t-am3/Kconfig
parent86ff4d12f12f1b538b61dfc59d267218db0aa26b (diff)
mb/acer/g43t-am3: Rework mainboard for variant mechanism
In preparation for CB:83968, rework the configuration files and move files specific to G43T-AM3 to its own variant directory. Change-Id: I425852f4bdacf7cb6688a5fb845ac3001373262e Signed-off-by: Michael Büchler <michael.buechler@posteo.net> Signed-off-by: Julia Kittlinger <launchpad.vineyard395@passinbox.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57764 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/acer/g43t-am3/Kconfig')
-rw-r--r--src/mainboard/acer/g43t-am3/Kconfig13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mainboard/acer/g43t-am3/Kconfig b/src/mainboard/acer/g43t-am3/Kconfig
index 1d4fd53f97..34d191f4d5 100644
--- a/src/mainboard/acer/g43t-am3/Kconfig
+++ b/src/mainboard/acer/g43t-am3/Kconfig
@@ -9,7 +9,7 @@ config BOARD_SPECIFIC_OPTIONS
select SOUTHBRIDGE_INTEL_I82801JX
select SUPERIO_ITE_IT8720F
select HAVE_ACPI_TABLES
- select BOARD_ROMSIZE_KB_2048
+ select BOARD_ROMSIZE_KB_2048 if BOARD_ACER_G43T_AM3
select PCIEXP_ASPM
select PCIEXP_CLK_PM
select HAVE_OPTION_TABLE
@@ -22,12 +22,19 @@ config BOARD_SPECIFIC_OPTIONS
config VGA_BIOS_ID
string
- default "8086,2e22"
+ default "8086,2e22" if BOARD_ACER_G43T_AM3
config MAINBOARD_DIR
default "acer/g43t-am3"
+config VARIANT_DIR
+ default "g43t-am3" if BOARD_ACER_G43T_AM3
+
config MAINBOARD_PART_NUMBER
- default "G43T-AM3"
+ default "G43T-AM3" if BOARD_ACER_G43T_AM3
+
+config OVERRIDE_DEVICETREE
+ string
+ default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
endif # BOARD_ACER_G43T_AM3