mb/google/brox: Create greenbayupoc variant

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

BUG=b:329530883
BRANCH=None
TEST=util/abuild/abuild -p none -t google/brox -x -a
make sure the build includes GOOGLE_GREENBAYUPOC.

Change-Id: I90936d97b41e59c49dd92997146caf580bce1f4f
Signed-off-by: Eren Peng <peng.eren@inventec.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81565
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Shelley Chen <shchen@google.com>
This commit is contained in:
Eren Peng 2024-04-01 11:12:02 +08:00 committed by Felix Held
parent bebdabac0e
commit 45145ba805
8 changed files with 52 additions and 0 deletions

View File

@ -64,6 +64,9 @@ config BOARD_GOOGLE_BROX_EC_ISH
select CHROMEOS_WIFI_SAR if CHROMEOS
select SOC_INTEL_STORE_ISH_FW_VERSION
config BOARD_GOOGLE_GREENBAYUPOC
select BOARD_GOOGLE_BASEBOARD_BROX
if BOARD_GOOGLE_BROX_COMMON
config BASEBOARD_DIR
@ -114,9 +117,11 @@ config MAINBOARD_FAMILY
config MAINBOARD_PART_NUMBER
default "Brox_Ec_Ish" if BOARD_GOOGLE_BROX_EC_ISH
default "Brox" if BOARD_GOOGLE_BROX
default "Greenbayupoc" if BOARD_GOOGLE_GREENBAYUPOC
config VARIANT_DIR
default "brox" if BOARD_GOOGLE_BROX || BOARD_GOOGLE_BROX_EC_ISH
default "greenbayupoc" if BOARD_GOOGLE_GREENBAYUPOC
config VBOOT
select VBOOT_LID_SWITCH

View File

@ -7,3 +7,6 @@ config BOARD_GOOGLE_BROX
config BOARD_GOOGLE_BROX_EC_ISH
bool "-> Brox EC ISH"
config BOARD_GOOGLE_GREENBAYUPOC
bool "-> Greenbayupoc"

View File

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

View File

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

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,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# This is an auto-generated file. Do not edit!!
# Generated by:
# ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brox/variants/brox/memory src/mainboard/google/brox/variants/brox/memory/mem_parts_used.txt
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