mb/gigabyte/ga-945gcm-s2c: Add mainboard using variants

This mainboard is identical to ga-945gcm-s2l except for NIC
which is a Realtek RTL 8101E chip (10/100 Mbit).

The schematics of ga-945gcm-s2l mention multiple NICs and ga-945gcm-s2c
and ga-945gcm-s2l have a common manual further indicating that those
boards are close to identical.

Change-Id: Iba3d401efcf208154e639c3237b201830a5151aa
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/17416
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Arthur Heymans 2016-11-14 09:58:20 +01:00 committed by Martin Roth
parent 358b2b379b
commit 46fef01722
4 changed files with 25 additions and 4 deletions

View File

@ -13,7 +13,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details. ## GNU General Public License for more details.
## ##
if BOARD_GIGABYTE_GA_945GCM_S2L if BOARD_GIGABYTE_GA_945GCM_S2L || BOARD_GIGABYTE_GA_945GCM_S2C
config BOARD_SPECIFIC_OPTIONS # dummy config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
@ -33,15 +33,21 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select CHANNEL_XOR_RANDOMIZATION select CHANNEL_XOR_RANDOMIZATION
select MAINBOARD_HAS_NATIVE_VGA_INIT select MAINBOARD_HAS_NATIVE_VGA_INIT
select INTEL_EDID select INTEL_EDID
select REALTEK_8168_RESET select REALTEK_8168_RESET if BOARD_GIGABYTE_GA_945GCM_S2L
config MAINBOARD_DIR config MAINBOARD_DIR
string string
default gigabyte/ga-945gcm-s2l default gigabyte/ga-945gcm-s2l
config VARIANT_DIR
string
default "ga-945gcm-s2l" if BOARD_GIGABYTE_GA_945GCM_S2L
default "ga-945gcm-s2c" if BOARD_GIGABYTE_GA_945GCM_S2C
config MAINBOARD_PART_NUMBER config MAINBOARD_PART_NUMBER
string string
default "GA-945GCM-S2L" default "GA-945GCM-S2L" if BOARD_GIGABYTE_GA_945GCM_S2L
default "GA-945GCM-S2C" if BOARD_GIGABYTE_GA_945GCM_S2C
config MMCONF_BASE_ADDRESS config MMCONF_BASE_ADDRESS
hex hex
@ -55,4 +61,4 @@ config MAX_CPUS
int int
default 2 default 2
endif # BOARD_GIGABYTE_GA_945GCM_S2L endif

View File

@ -1,2 +1,5 @@
config BOARD_GIGABYTE_GA_945GCM_S2L config BOARD_GIGABYTE_GA_945GCM_S2L
bool "GA-945GCM-S2L" bool "GA-945GCM-S2L"
config BOARD_GIGABYTE_GA_945GCM_S2C
bool "GA-945GCM-S2C"

View File

@ -0,0 +1,6 @@
Category: desktop
Board URL: http://www.gigabyte.com/products/product-page.aspx?pid=2668#ov
Release year: 2007
ROM package: SOIC-8
ROM protocol: SPI
ROM socketed: n

View File

@ -0,0 +1,6 @@
Category: desktop
Board URL: http://www.gigabyte.com/products/product-page.aspx?pid=2669#ov
Release year: 2007
ROM package: SOIC-8
ROM protocol: SPI
ROM socketed: n