2017-03-18 15:54:42 +01:00
|
|
|
#
|
|
|
|
# This file is part of the coreboot project.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
|
|
|
|
# Copyright (C) 2017 Arthur Heymans <arthur@aheymans.xyz>
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
|
2018-09-18 12:09:23 +02:00
|
|
|
if BOARD_ASROCK_G41C_GS || BOARD_ASROCK_G41C_GS_R2_0 || \
|
|
|
|
BOARD_ASROCK_G41M_GS || BOARD_ASROCK_G41M_S3 || \
|
|
|
|
BOARD_ASROCK_G41M_VS3_R2_0
|
2017-03-18 15:54:42 +01:00
|
|
|
|
|
|
|
config BOARD_SPECIFIC_OPTIONS
|
|
|
|
def_bool y
|
|
|
|
select ARCH_X86
|
|
|
|
select CPU_INTEL_SOCKET_LGA775
|
|
|
|
select NORTHBRIDGE_INTEL_X4X
|
|
|
|
select SOUTHBRIDGE_INTEL_I82801GX
|
2017-08-30 17:55:01 +02:00
|
|
|
select SUPERIO_NUVOTON_NCT6776 if BOARD_ASROCK_G41C_GS_R2_0
|
2017-12-30 11:06:54 +01:00
|
|
|
select SUPERIO_WINBOND_W83627DHG if BOARD_ASROCK_G41C_GS \
|
2018-09-18 12:09:23 +02:00
|
|
|
|| BOARD_ASROCK_G41M_GS || BOARD_ASROCK_G41M_S3 \
|
|
|
|
|| BOARD_ASROCK_G41M_VS3_R2_0
|
2017-03-18 15:54:42 +01:00
|
|
|
select HAVE_ACPI_TABLES
|
|
|
|
select BOARD_ROMSIZE_KB_1024
|
|
|
|
select HAVE_OPTION_TABLE
|
|
|
|
select HAVE_CMOS_DEFAULT
|
|
|
|
select HAVE_ACPI_RESUME
|
2017-08-29 08:30:43 +02:00
|
|
|
select DRIVERS_I2C_CK505
|
2018-06-06 17:40:02 +02:00
|
|
|
select INTEL_GMA_HAVE_VBT
|
2018-06-04 15:04:10 +02:00
|
|
|
select MAINBOARD_HAS_LIBGFXINIT
|
2017-03-18 15:54:42 +01:00
|
|
|
|
|
|
|
config MAINBOARD_DIR
|
|
|
|
string
|
|
|
|
default "asrock/g41c-gs"
|
|
|
|
|
2018-09-16 16:56:35 +02:00
|
|
|
config VARIANT_DIR
|
|
|
|
string
|
|
|
|
default "g41c-gs-r2" if BOARD_ASROCK_G41C_GS_R2_0
|
|
|
|
default "g41c-gs" if BOARD_ASROCK_G41C_GS
|
|
|
|
default "g41m-gs" if BOARD_ASROCK_G41M_GS
|
2018-09-18 12:09:23 +02:00
|
|
|
default "g41m-s3" if BOARD_ASROCK_G41M_S3
|
2018-09-13 21:17:25 +02:00
|
|
|
default "g41m-vs3-r2" if BOARD_ASROCK_G41M_VS3_R2_0
|
2018-09-16 16:56:35 +02:00
|
|
|
|
2017-03-18 15:54:42 +01:00
|
|
|
config MAINBOARD_PART_NUMBER
|
|
|
|
string
|
2017-08-30 17:55:01 +02:00
|
|
|
default "G41C-GS R2.0" if BOARD_ASROCK_G41C_GS_R2_0
|
|
|
|
default "G41C-GS" if BOARD_ASROCK_G41C_GS
|
2017-12-30 11:06:54 +01:00
|
|
|
default "G41M-GS" if BOARD_ASROCK_G41M_GS
|
2018-09-18 12:09:23 +02:00
|
|
|
default "G41M-S3" if BOARD_ASROCK_G41M_S3
|
2018-09-13 21:17:25 +02:00
|
|
|
default "G41M-VS3 R2.0" if BOARD_ASROCK_G41M_VS3_R2_0
|
2017-08-30 17:55:01 +02:00
|
|
|
|
|
|
|
config DEVICETREE
|
|
|
|
string
|
2018-11-06 22:09:18 +01:00
|
|
|
default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
|
2017-03-18 15:54:42 +01:00
|
|
|
|
|
|
|
config MAX_CPUS
|
|
|
|
int
|
|
|
|
default 4
|
|
|
|
|
2017-08-30 17:55:01 +02:00
|
|
|
# Override the default variant behavior, since the data.vbt is the same
|
|
|
|
config INTEL_GMA_VBT_FILE
|
|
|
|
default "src/mainboard/$(MAINBOARDDIR)/data.vbt"
|
|
|
|
|
2018-09-18 12:09:23 +02:00
|
|
|
endif # BOARD_ASROCK_G41*
|