From f3e50fc68186fbfa93f77d05f182bf0435e745ab Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sat, 15 Dec 2018 21:38:39 +0100 Subject: mb/foxconn/g41s-k: Add g41m variant Was tested with the following: - 2 DIMM slots - USB - Ethernet NIC - automatic fan control - Libgfxinit with VGA, DVI (HDMI slot unpopulated) - PS2 Keyboard - SATA - PEG - S3 resume What does not work: - Using the second DIMM slot on a channel G41 can only handle 2 ranks per channel and on this mainboard 1 rank per DIMM slot. Supporting this would require too much raminit rework and is not worth it (at least for me) Change-Id: I67784038ef929f561b82365f00db70a69c024321 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/30242 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/foxconn/g41s-k/Kconfig | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/mainboard/foxconn/g41s-k/Kconfig') diff --git a/src/mainboard/foxconn/g41s-k/Kconfig b/src/mainboard/foxconn/g41s-k/Kconfig index 4a534c4ab3..f74fcd6bf3 100644 --- a/src/mainboard/foxconn/g41s-k/Kconfig +++ b/src/mainboard/foxconn/g41s-k/Kconfig @@ -14,7 +14,7 @@ ## GNU General Public License for more details. ## -if BOARD_FOXCONN_G41S_K +if BOARD_FOXCONN_G41S_K || BOARD_FOXCONN_G41M config BOARD_SPECIFIC_OPTIONS def_bool y @@ -39,9 +39,18 @@ config MAINBOARD_DIR string default "foxconn/g41s-k" +config VARIANT_DIR + default "g41s-k" if BOARD_FOXCONN_G41S_K + default "g41m" if BOARD_FOXCONN_G41M + config MAINBOARD_PART_NUMBER string - default "G41S-K" + default "G41S-K" if BOARD_FOXCONN_G41S_K + default "G41M/G41M-S/G41M-V" if BOARD_FOXCONN_G41M + +config OVERRIDE_DEVICETREE + string + default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" config MAX_CPUS int -- cgit v1.2.3