mb/google/rex: Create deku variant
BUG=b:305793886 TEST=util/abuild/abuild -p none -t google/rex -x -a -b deku built without errors. Signed-off-by: Eran Mitrani <mitrani@google.com> Change-Id: I332e404e82a7980bb8ed1fb084fe957f526f81d1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78393 Reviewed-by: YH Lin <yueherngl@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <czapiga@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
parent
95c61c04c4
commit
05a50d7e13
|
@ -95,6 +95,10 @@ config BOARD_GOOGLE_MODEL_OVIS
|
|||
def_bool n
|
||||
select BOARD_GOOGLE_BASEBOARD_OVIS
|
||||
|
||||
config BOARD_GOOGLE_MODEL_DEKU
|
||||
def_bool n
|
||||
select BOARD_GOOGLE_BASEBOARD_OVIS
|
||||
|
||||
config BOARD_GOOGLE_REX0
|
||||
select BOARD_GOOGLE_MODEL_REX
|
||||
|
||||
|
@ -118,6 +122,12 @@ config BOARD_GOOGLE_REX_EC_ISH
|
|||
config BOARD_GOOGLE_OVIS
|
||||
select BOARD_GOOGLE_MODEL_OVIS
|
||||
|
||||
config BOARD_GOOGLE_DEKU
|
||||
select BOARD_GOOGLE_MODEL_DEKU
|
||||
|
||||
config BOARD_GOOGLE_DEKU4ES
|
||||
select BOARD_GOOGLE_MODEL_DEKU
|
||||
|
||||
config BOARD_GOOGLE_OVIS4ES
|
||||
select BOARD_GOOGLE_MODEL_OVIS
|
||||
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
|
||||
|
@ -180,6 +190,8 @@ config MAINBOARD_PART_NUMBER
|
|||
default "Karis4ES" if BOARD_GOOGLE_KARIS4ES
|
||||
default "Ovis" if BOARD_GOOGLE_OVIS
|
||||
default "Ovis4ES" if BOARD_GOOGLE_OVIS4ES
|
||||
default "Deku" if BOARD_GOOGLE_DEKU
|
||||
default "Deku4ES" if BOARD_GOOGLE_DEKU4ES
|
||||
|
||||
config VARIANT_DIR
|
||||
string
|
||||
|
@ -187,6 +199,7 @@ config VARIANT_DIR
|
|||
default "screebo" if BOARD_GOOGLE_MODEL_SCREEBO
|
||||
default "karis" if BOARD_GOOGLE_MODEL_KARIS
|
||||
default "ovis" if BOARD_GOOGLE_MODEL_OVIS
|
||||
default "deku" if BOARD_GOOGLE_MODEL_DEKU
|
||||
|
||||
config DIMM_SPD_SIZE
|
||||
default 512
|
||||
|
@ -208,7 +221,7 @@ config OVERRIDE_DEVICETREE
|
|||
|
||||
config DRIVER_TPM_I2C_BUS
|
||||
hex
|
||||
default 0x4 if BOARD_GOOGLE_MODEL_REX || BOARD_GOOGLE_MODEL_SCREEBO || BOARD_GOOGLE_MODEL_OVIS || BOARD_GOOGLE_MODEL_KARIS
|
||||
default 0x4 if BOARD_GOOGLE_MODEL_REX || BOARD_GOOGLE_MODEL_SCREEBO || BOARD_GOOGLE_MODEL_OVIS || BOARD_GOOGLE_MODEL_KARIS || BOARD_GOOGLE_MODEL_DEKU
|
||||
|
||||
config DRIVER_TPM_I2C_ADDR
|
||||
hex
|
||||
|
|
|
@ -24,6 +24,12 @@ config BOARD_GOOGLE_OVIS
|
|||
config BOARD_GOOGLE_OVIS4ES
|
||||
bool "-> Ovis4ES"
|
||||
|
||||
config BOARD_GOOGLE_DEKU
|
||||
bool "-> Deku"
|
||||
|
||||
config BOARD_GOOGLE_DEKU4ES
|
||||
bool "-> Deku4ES"
|
||||
|
||||
config BOARD_GOOGLE_REX4ES
|
||||
bool "-> Rex4ES"
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
## SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
bootblock-y += gpio.c
|
||||
romstage-y += gpio.c
|
||||
ramstage-y += gpio.c
|
|
@ -0,0 +1,30 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <types.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <vendorcode/google/chromeos/chromeos.h>
|
||||
|
||||
const struct pad_config *variant_gpio_table(size_t *num)
|
||||
{
|
||||
*num = 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const struct pad_config *variant_early_gpio_table(size_t *num)
|
||||
{
|
||||
*num = 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static const struct cros_gpio cros_gpios[] = {
|
||||
};
|
||||
|
||||
DECLARE_CROS_GPIOS(cros_gpios);
|
||||
|
||||
const struct pad_config *variant_romstage_gpio_table(size_t *num)
|
||||
{
|
||||
*num = 0;
|
||||
return NULL;
|
||||
}
|
|
@ -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 */
|
|
@ -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__ */
|
|
@ -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,3 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
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.inc 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
|
|
@ -0,0 +1,4 @@
|
|||
chip soc/intel/meteorlake
|
||||
device domain 0 on
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue