mb/google/nissa: Create dirks variant
Create the dirks variant of nissa reference board by copying the template files to a new directory named for the variant. The dirks variant is a twinlake platform. BUG=b:389391653 TEST=util/abuild/abuild -p none -t google/brya -x -a make sure the build includes GOOGLE_DIRKS Change-Id: I57ffb6025ee2115fa558668dc685a1970fc738d0 Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85947 Reviewed-by: Jayvik Desai <jayvik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Dinesh Gehlot <digehlot@google.com> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
parent
1e720b0a9b
commit
43bfdd6416
8 changed files with 50 additions and 0 deletions
|
|
@ -219,6 +219,10 @@ config BOARD_GOOGLE_CROTA
|
|||
select INTEL_GMA_HAVE_VBT
|
||||
select SOC_INTEL_RAPTORLAKE
|
||||
|
||||
config BOARD_GOOGLE_DIRKS
|
||||
select BOARD_GOOGLE_BASEBOARD_NISSA
|
||||
select SOC_INTEL_TWINLAKE
|
||||
|
||||
config BOARD_GOOGLE_DOCHI
|
||||
select BOARD_GOOGLE_BASEBOARD_BRYA
|
||||
select CHROMEOS_WIFI_SAR if CHROMEOS
|
||||
|
|
@ -738,6 +742,7 @@ config DRIVER_TPM_I2C_BUS
|
|||
default 0x0 if BOARD_GOOGLE_CRAASK
|
||||
default 0x0 if BOARD_GOOGLE_CRAASKOV
|
||||
default 0x1 if BOARD_GOOGLE_CROTA
|
||||
default 0x0 if BOARD_GOOGLE_DIRKS
|
||||
default 0x1 if BOARD_GOOGLE_DOCHI
|
||||
default 0x0 if BOARD_GOOGLE_DOMIKA
|
||||
default 0x1 if BOARD_GOOGLE_FELWINTER
|
||||
|
|
@ -817,6 +822,7 @@ config TPM_TIS_ACPI_INTERRUPT
|
|||
default 13 if BOARD_GOOGLE_CRAASK
|
||||
default 13 if BOARD_GOOGLE_CRAASKOV
|
||||
default 13 if BOARD_GOOGLE_CROTA
|
||||
default 13 if BOARD_GOOGLE_DIRKS
|
||||
default 13 if BOARD_GOOGLE_DOCHI
|
||||
default 13 if BOARD_GOOGLE_DOMIKA
|
||||
default 13 if BOARD_GOOGLE_FELWINTER
|
||||
|
|
@ -900,6 +906,7 @@ config MAINBOARD_PART_NUMBER
|
|||
default "Craask" if BOARD_GOOGLE_CRAASK
|
||||
default "Craaskov" if BOARD_GOOGLE_CRAASKOV
|
||||
default "Crota" if BOARD_GOOGLE_CROTA
|
||||
default "Dirks" if BOARD_GOOGLE_DIRKS
|
||||
default "Dochi" if BOARD_GOOGLE_DOCHI
|
||||
default "Domika" if BOARD_GOOGLE_DOMIKA
|
||||
default "Felwinter" if BOARD_GOOGLE_FELWINTER
|
||||
|
|
@ -972,6 +979,7 @@ config VARIANT_DIR
|
|||
default "craask" if BOARD_GOOGLE_CRAASK
|
||||
default "craaskov" if BOARD_GOOGLE_CRAASKOV
|
||||
default "crota" if BOARD_GOOGLE_CROTA
|
||||
default "dirks" if BOARD_GOOGLE_DIRKS
|
||||
default "dochi" if BOARD_GOOGLE_DOCHI
|
||||
default "yavilla" if BOARD_GOOGLE_DOMIKA
|
||||
default "felwinter" if BOARD_GOOGLE_FELWINTER
|
||||
|
|
|
|||
|
|
@ -38,6 +38,9 @@ config BOARD_GOOGLE_CONSTITUTION
|
|||
config BOARD_GOOGLE_CROTA
|
||||
bool "-> Crota"
|
||||
|
||||
config BOARD_GOOGLE_DIRKS
|
||||
bool "-> Dirks"
|
||||
|
||||
config BOARD_GOOGLE_DOCHI
|
||||
bool "-> Dochi"
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1 @@
|
|||
DRAM Part Name ID to assign
|
||||
|
|
@ -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
|
||||
6
src/mainboard/google/brya/variants/dirks/overridetree.cb
Normal file
6
src/mainboard/google/brya/variants/dirks/overridetree.cb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
chip soc/intel/alderlake
|
||||
|
||||
device domain 0 on
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue