mb/google/volteer: Create terrador variant
Create the terrador variant of the volteer reference board BUG=b:156435028 BRANCH=None TEST=util/abuild/abuild -p none -t google/volteer -x -a make sure the build includes GOOGLE_TERRADOR Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: I088861d1f8b7b4ee8de1e5ab6c7d3109ffd0531b Reviewed-on: https://review.coreboot.org/c/coreboot/+/41718 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
This commit is contained in:
parent
825005ac3d
commit
b4ab1e78cd
|
@ -64,6 +64,7 @@ config MAINBOARD_PART_NUMBER
|
|||
default "Halvor" if BOARD_GOOGLE_HALVOR
|
||||
default "Malefor" if BOARD_GOOGLE_MALEFOR
|
||||
default "Ripto" if BOARD_GOOGLE_RIPTO
|
||||
default "Terrador" if BOARD_GOOGLE_TERRADOR
|
||||
default "Trondo" if BOARD_GOOGLE_TRONDO
|
||||
default "Volteer" if BOARD_GOOGLE_VOLTEER
|
||||
|
||||
|
@ -80,6 +81,7 @@ config VARIANT_DIR
|
|||
default "halvor" if BOARD_GOOGLE_HALVOR
|
||||
default "malefor" if BOARD_GOOGLE_MALEFOR
|
||||
default "ripto" if BOARD_GOOGLE_RIPTO
|
||||
default "terrador" if BOARD_GOOGLE_TERRADOR
|
||||
default "trondo" if BOARD_GOOGLE_TRONDO
|
||||
default "volteer" if BOARD_GOOGLE_VOLTEER
|
||||
|
||||
|
|
|
@ -13,6 +13,10 @@ config BOARD_GOOGLE_RIPTO
|
|||
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
||||
select VARIANT_HAS_MIPI_CAMERA
|
||||
|
||||
config BOARD_GOOGLE_TERRADOR
|
||||
bool "-> Terrador"
|
||||
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
||||
|
||||
config BOARD_GOOGLE_TRONDO
|
||||
bool "-> Trondo"
|
||||
select BOARD_GOOGLE_BASEBOARD_VOLTEER
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
SPD_SOURCES =
|
||||
|
||||
bootblock-y += gpio.c
|
||||
|
||||
ramstage-y += gpio.c
|
|
@ -0,0 +1,36 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <baseboard/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <commonlib/helpers.h>
|
||||
|
||||
/* Pad configuration in ramstage */
|
||||
static const struct pad_config gpio_table[] = {
|
||||
|
||||
};
|
||||
|
||||
const struct pad_config *variant_base_gpio_table(size_t *num)
|
||||
{
|
||||
*num = ARRAY_SIZE(gpio_table);
|
||||
return gpio_table;
|
||||
}
|
||||
|
||||
/* Early pad configuration in bootblock */
|
||||
static const struct pad_config early_gpio_table[] = {
|
||||
|
||||
};
|
||||
|
||||
const struct pad_config *variant_early_gpio_table(size_t *num)
|
||||
{
|
||||
*num = ARRAY_SIZE(early_gpio_table);
|
||||
return early_gpio_table;
|
||||
}
|
||||
|
||||
static const struct cros_gpio cros_gpios[] = {
|
||||
};
|
||||
|
||||
const struct cros_gpio *variant_cros_gpios(size_t *num)
|
||||
{
|
||||
*num = ARRAY_SIZE(cros_gpios);
|
||||
return cros_gpios;
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/acpi/dptf.asl>
|
|
@ -0,0 +1,8 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#ifndef __VARIANT_EC_H__
|
||||
#define __VARIANT_EC_H__
|
||||
|
||||
#include <baseboard/ec.h>
|
||||
|
||||
#endif
|
|
@ -0,0 +1,10 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#ifndef VARIANT_GPIO_H
|
||||
#define VARIANT_GPIO_H
|
||||
|
||||
#include <baseboard/gpio.h>
|
||||
|
||||
/* Copied from baseboard and may need to change for the new variant. */
|
||||
|
||||
#endif
|
|
@ -0,0 +1,4 @@
|
|||
chip soc/intel/tigerlake
|
||||
device domain 0 on
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue