mb/google/zork: Create Shuboz variant
Create the shuboz variant of the zork reference board by copying the template files to a new directory named for the variant. (Auto-Generated by create_coreboot_variant.sh version 4.2.0). BUG=b:172021093 BRANCH=none TEST=emerge-zork coreboot Signed-off-by: Kane Chen <kane_chen@pegatron.corp-partner.google.com> Change-Id: I3f62625f8cbde1c9adf8ab335edeb9e811e32679 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47152 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
85d0e7611a
commit
a3ac82092f
@@ -71,6 +71,7 @@ config VARIANT_DIR
|
||||
default "vilboz" if BOARD_GOOGLE_VILBOZ
|
||||
default "woomax" if BOARD_GOOGLE_WOOMAX
|
||||
default "dirinboz" if BOARD_GOOGLE_DIRINBOZ
|
||||
default "shuboz" if BOARD_GOOGLE_SHUBOZ
|
||||
|
||||
config MAINBOARD_PART_NUMBER
|
||||
string
|
||||
@@ -82,6 +83,7 @@ config MAINBOARD_PART_NUMBER
|
||||
default "Vilboz" if BOARD_GOOGLE_VILBOZ
|
||||
default "Woomax" if BOARD_GOOGLE_WOOMAX
|
||||
default "Dirinboz" if BOARD_GOOGLE_DIRINBOZ
|
||||
default "Shuboz" if BOARD_GOOGLE_SHUBOZ
|
||||
|
||||
config DEVICETREE
|
||||
string
|
||||
|
@@ -31,3 +31,7 @@ config BOARD_GOOGLE_WOOMAX
|
||||
config BOARD_GOOGLE_DIRINBOZ
|
||||
bool "-> Dirinboz"
|
||||
select BOARD_GOOGLE_BASEBOARD_DALBOZ
|
||||
|
||||
config BOARD_GOOGLE_SHUBOZ
|
||||
bool "-> Shuboz"
|
||||
select BOARD_GOOGLE_BASEBOARD_DALBOZ
|
||||
|
3
src/mainboard/google/zork/variants/shuboz/Makefile.inc
Normal file
3
src/mainboard/google/zork/variants/shuboz/Makefile.inc
Normal file
@@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
subdirs-y += ./spd
|
@@ -0,0 +1,3 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/acpi/audio.asl>
|
@@ -0,0 +1,3 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/acpi/mainboard.asl>
|
@@ -0,0 +1,3 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/acpi/thermal.asl>
|
@@ -0,0 +1,3 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/ec.h>
|
@@ -0,0 +1,3 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/gpio.h>
|
@@ -0,0 +1,3 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/thermal.h>
|
42
src/mainboard/google/zork/variants/shuboz/overridetree.cb
Normal file
42
src/mainboard/google/zork/variants/shuboz/overridetree.cb
Normal file
@@ -0,0 +1,42 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
chip soc/amd/picasso
|
||||
|
||||
# Start : OPN Performance Configuration
|
||||
# See devhub #56670 Chapter 5 for documentation
|
||||
# For the below fields, 0 indicates use SOC default
|
||||
|
||||
# System config index
|
||||
register "system_config" = "1"
|
||||
|
||||
# Set STAPM confiuration. All of these fields must be set >0 to take affect
|
||||
register "slow_ppt_limit_mW" = "6000"
|
||||
register "fast_ppt_limit_mW" = "9000"
|
||||
register "slow_ppt_time_constant_s" = "5"
|
||||
register "stapm_time_constant_s" = "2500"
|
||||
register "sustained_power_limit_mW" = "4800"
|
||||
|
||||
# End : OPN Performance Configuration
|
||||
|
||||
# I2C2 for touchscreen and trackpad
|
||||
|
||||
register "i2c[2]" = "{
|
||||
.speed = I2C_SPEED_FAST,
|
||||
}"
|
||||
|
||||
# I2C3 for H1
|
||||
|
||||
register "i2c[3]" = "{
|
||||
.speed = I2C_SPEED_FAST,
|
||||
.early_init = true,
|
||||
}"
|
||||
|
||||
# See AMD 55570-B1 Table 13: PCI Device ID Assignments.
|
||||
device domain 0 on
|
||||
subsystemid 0x1022 0x1510 inherit
|
||||
end # domain
|
||||
|
||||
device mmio 0xfedc4000 on # APU_I2C2_BASE
|
||||
end # device
|
||||
|
||||
end # chip soc/amd/picasso
|
@@ -0,0 +1,5 @@
|
||||
## SPDX-License-Identifier: GPL-2.0-or-later
|
||||
## This is an auto-generated file. Do not edit!!
|
||||
## Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
|
||||
|
||||
SPD_SOURCES = ddr4-spd-empty.hex
|
@@ -0,0 +1 @@
|
||||
DRAM Part Name ID to assign
|
@@ -0,0 +1,9 @@
|
||||
# This is a CSV file containing a list of memory parts used by this variant.
|
||||
# One part per line with an optional fixed ID in column 2.
|
||||
# Only include a fixed ID if it is required for legacy reasons!
|
||||
# Each part must also be listed in util/spd_tools/ddr4/global_ddr4_mem_parts.json.txt.
|
||||
# Generate an updated Makefile.inc and dram_id.generated.txt by running the
|
||||
# gen_part_id tool from util/spd_tools/ddr4.
|
||||
# See util/spd_tools/ddr4/README.md for more details and instructions.
|
||||
|
||||
# Part Name, Fixed ID (optional)
|
Reference in New Issue
Block a user