mb/google/skyrim: Create winterhold variant

Create the winterhold variant of the skyrim reference board by
copying the template files to a new directory named for the variant.

(Auto-Generated by create_coreboot_variant.sh version 4.5.0).

BUG=b:240970782
BRANCH=None
TEST=util/abuild/abuild -p none -t google/skyrim -x -a
make sure the build includes GOOGLE_WINTERHOLD

Signed-off-by: Isaac Lee <isaaclee@google.com>
Change-Id: I0e16f0a674aa3f4687cd82d5840a3c2087148a51
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66620
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Isaac Lee 2022-08-10 09:30:08 -07:00 committed by Raul Rangel
parent 692db41b7d
commit a3214c6d76
4 changed files with 41 additions and 0 deletions

View File

@ -65,6 +65,7 @@ config MAINBOARD_FAMILY
config MAINBOARD_PART_NUMBER
default "Skyrim" if BOARD_GOOGLE_SKYRIM
default "Winterhold" if BOARD_GOOGLE_WINTERHOLD
config OVERRIDE_DEVICETREE
string
@ -73,6 +74,7 @@ config OVERRIDE_DEVICETREE
config VARIANT_DIR
string
default "skyrim" if BOARD_GOOGLE_SKYRIM
default "winterhold" if BOARD_GOOGLE_WINTERHOLD
config VBOOT
select VBOOT_LID_SWITCH

View File

@ -3,3 +3,7 @@ comment "Skyrim"
config BOARD_GOOGLE_SKYRIM
bool "-> Skyrim"
select BOARD_GOOGLE_BASEBOARD_SKYRIM
config BOARD_GOOGLE_WINTERHOLD
bool "-> Winterhold"
select BOARD_GOOGLE_BASEBOARD_SKYRIM

View File

@ -0,0 +1,3 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <baseboard/ec.h>

View File

@ -0,0 +1,32 @@
# SPDX-License-Identifier: GPL-2.0-or-later
chip soc/amd/mendocino
# I2C Config
#+-------------------+----------------------------+
#| Field | Value |
#+-------------------+----------------------------+
#| I2C0 | Trackpad |
#| I2C1 | Touchscreen |
#| I2C2 | Speaker, Codec, P-SAR, USB |
#| I2C3 | D2 TPM |
#+-------------------+----------------------------+
register "i2c[0]" = "{
.speed = I2C_SPEED_FAST,
}"
register "i2c[1]" = "{
.speed = I2C_SPEED_FAST,
}"
register "i2c[2]" = "{
.speed = I2C_SPEED_FAST,
}"
register "i2c[3]" = "{
.speed = I2C_SPEED_FAST,
.early_init = true,
}"
device domain 0 on end
end # chip soc/amd/mendocino