aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p5qpl-am/Kconfig
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2018-06-13 14:13:15 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-01-14 12:13:13 +0000
commitc69c8ddc2b62f008fafc85c66d993fd498417287 (patch)
treebdbcdbb900e818c9fcf4079d81b5a382720dd13c /src/mainboard/asus/p5qpl-am/Kconfig
parente124fa5a9d48d7248a1a1987805b9c1ac2bdbde8 (diff)
mb/asus/p5qpl-am: Add p5g41t-m_lx as a variant
This board has more or less the same as the p5qpl-am except for DDR3 memory and different colors on the ports. Tested with Arch Linux with kernel 4.20.0-arch1-1-ARCH. What is tested and works: - 800/1066/1333 MHz CPUs and DDR3 sticks at 800/1066 MHz Some bugs are still present in the DDR3 raminit code though. - Ethernet - Internal programmer with both coreboot and stock firmware. - PCI and PCIe x1 slots - All USB ports - S3 resume - SATA ports - PEG - Rear audio output Change-Id: I92cd15a245c4f1d8f57b304c9c3a37ba29c35431 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/27089 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/asus/p5qpl-am/Kconfig')
-rw-r--r--src/mainboard/asus/p5qpl-am/Kconfig24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/mainboard/asus/p5qpl-am/Kconfig b/src/mainboard/asus/p5qpl-am/Kconfig
index ccc90948aa..7eee9cddca 100644
--- a/src/mainboard/asus/p5qpl-am/Kconfig
+++ b/src/mainboard/asus/p5qpl-am/Kconfig
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
-if BOARD_ASUS_P5QPL_AM
+if BOARD_ASUS_P5QPL_AM || BOARD_ASUS_P5G41T_M_LX
config BOARD_SPECIFIC_OPTIONS
def_bool y
@@ -33,18 +33,34 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_ACPI_RESUME
select INTEL_GMA_HAVE_VBT
select MAINBOARD_HAS_LIBGFXINIT
- select ATHEROS_ATL1E_SETMAC
+
+ # P5G41T-M LX has ATL1C which works fine
+ select ATHEROS_ATL1E_SETMAC if BOARD_ASUS_P5QPL_AM
config MAINBOARD_DIR
string
default "asus/p5qpl-am"
+config VARIANT_DIR
+ string
+ default "p5qpl-am" if BOARD_ASUS_P5QPL_AM
+ default "p5g41t-m_lx" if BOARD_ASUS_P5G41T_M_LX
+
config MAINBOARD_PART_NUMBER
string
- default "P5QPL-AM"
+ default "P5QPL-AM" if BOARD_ASUS_P5QPL_AM
+ default "P5G41T-M LX" if BOARD_ASUS_P5G41T_M_LX
+
+config OVERRIDE_DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
config MAX_CPUS
int
default 4
-endif # BOARD_ASUS_P5QPL_AM
+# Override the default variant behavior, since the data.vbt is the same
+config INTEL_GMA_VBT_FILE
+ default "src/mainboard/$(MAINBOARDDIR)/data.vbt"
+
+endif # BOARD_ASUS_P5QPL_AM || BOARD_ASUS_P5G41T_M_LX