mb/google/brya: Create glassway variant

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

BUG=b:319071869
BRANCH=firmware-nissa-15217.B
TEST=None

Change-Id: I597666a5be6f71b82c7baddbe343da3d5117dd1c
Signed-off-by: Daniel Peng <Daniel_Peng@pegatron.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80636
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Daniel Peng <daniel_peng@pegatron.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
Daniel Peng 2024-02-19 21:42:28 +08:00 committed by Subrata Banik
parent 91c8827e62
commit d6e287f410
8 changed files with 48 additions and 0 deletions

View File

@ -234,6 +234,9 @@ config BOARD_GOOGLE_GLADIOS
select INTEL_GMA_HAVE_VBT
select SOC_INTEL_RAPTORLAKE
config BOARD_GOOGLE_GLASSWAY
select BOARD_GOOGLE_BASEBOARD_NISSA
config BOARD_GOOGLE_GOTHRAX
select BOARD_GOOGLE_BASEBOARD_NISSA
select DRIVERS_GENERIC_GPIO_KEYS
@ -590,6 +593,7 @@ config DRIVER_TPM_I2C_BUS
default 0x0 if BOARD_GOOGLE_QUANDISO
default 0x0 if BOARD_GOOGLE_ANRAGGAR
default 0x1 if BOARD_GOOGLE_XOL
default 0x0 if BOARD_GOOGLE_GLASSWAY
config DRIVER_TPM_I2C_ADDR
hex
@ -673,6 +677,7 @@ config MAINBOARD_PART_NUMBER
default "Dochi" if BOARD_GOOGLE_DOCHI
default "Anraggar" if BOARD_GOOGLE_ANRAGGAR
default "Xol" if BOARD_GOOGLE_XOL
default "Glassway" if BOARD_GOOGLE_GLASSWAY
config VARIANT_DIR
default "brya0" if BOARD_GOOGLE_BRYA0
@ -727,6 +732,7 @@ config VARIANT_DIR
default "dochi" if BOARD_GOOGLE_DOCHI
default "anraggar" if BOARD_GOOGLE_ANRAGGAR
default "xol" if BOARD_GOOGLE_XOL
default "glassway" if BOARD_GOOGLE_GLASSWAY
config VBOOT
select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA

View File

@ -56,6 +56,9 @@ config BOARD_GOOGLE_GIMBLE4ES
config BOARD_GOOGLE_GLADIOS
bool "-> Gladios"
config BOARD_GOOGLE_GLASSWAY
bool "-> Glassway"
config BOARD_GOOGLE_GOTHRAX
bool "-> Gothrax"

View File

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

View File

@ -0,0 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef VARIANT_GPIO_H
#define VARIANT_GPIO_H
#include <baseboard/gpio.h>
#endif

View File

@ -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 = placeholder

View File

@ -0,0 +1 @@
DRAM Part Name ID to assign

View File

@ -0,0 +1,11 @@
# 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!
# Generated IDs are dependent on the order of parts in this file,
# so new parts must always be added at the end of the file!
#
# Generate an updated Makefile.mk and dram_id.generated.txt by running the
# part_id_gen tool from util/spd_tools.
# See util/spd_tools/README.md for more details and instructions.
# Part Name

View File

@ -0,0 +1,6 @@
chip soc/intel/alderlake
device domain 0 on
end
end