ChromeOS: Fix <vc/google/chromeos/chromeos.h>

Change-Id: Ibbdd589119bbccd3516737c8ee9f90c4bef17c1e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58923
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Kyösti Mälkki 2021-11-03 18:34:14 +02:00 committed by Felix Held
parent f40a25bb11
commit 91c077f6e2
50 changed files with 21 additions and 35 deletions

View File

@ -18,7 +18,6 @@
#include <stage_cache.h> #include <stage_cache.h>
#include <string.h> #include <string.h>
#include <timestamp.h> #include <timestamp.h>
#include <vendorcode/google/chromeos/chromeos.h>
static void raminit_common(struct romstage_params *params) static void raminit_common(struct romstage_params *params)
{ {

View File

@ -3,7 +3,7 @@
#include <assert.h> #include <assert.h>
#include <console/console.h> #include <console/console.h>
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <security/vboot/vboot_common.h>
#define VBOOT_HASH_VSLOT 0 #define VBOOT_HASH_VSLOT 0
#define VBOOT_HASH_VSLOT_MASK (1 << (VBOOT_HASH_VSLOT)) #define VBOOT_HASH_VSLOT_MASK (1 << (VBOOT_HASH_VSLOT))

View File

@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include <console/console.h> #include <console/console.h>
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
#include "ec.h" #include "ec.h"

View File

@ -4,7 +4,6 @@
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
static const struct pad_config override_gpio_table[] = { static const struct pad_config override_gpio_table[] = {

View File

@ -4,7 +4,6 @@
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Early pad configuration in bootblock */ /* Early pad configuration in bootblock */
static const struct pad_config early_gpio_table[] = { static const struct pad_config early_gpio_table[] = {

View File

@ -4,7 +4,6 @@
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
static const struct pad_config override_gpio_table[] = { static const struct pad_config override_gpio_table[] = {

View File

@ -4,7 +4,6 @@
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
static const struct pad_config override_gpio_table[] = { static const struct pad_config override_gpio_table[] = {

View File

@ -4,7 +4,6 @@
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
static const struct pad_config override_gpio_table[] = { static const struct pad_config override_gpio_table[] = {

View File

@ -4,7 +4,6 @@
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
static const struct pad_config override_gpio_table[] = { static const struct pad_config override_gpio_table[] = {

View File

@ -4,7 +4,6 @@
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
static const struct pad_config override_gpio_table[] = { static const struct pad_config override_gpio_table[] = {

View File

@ -4,7 +4,6 @@
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
static const struct pad_config override_gpio_table[] = { static const struct pad_config override_gpio_table[] = {

View File

@ -4,7 +4,6 @@
#include <console/console.h> #include <console/console.h>
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
#include "ec.h" #include "ec.h"
#include <vendorcode/google/chromeos/chromeos.h>
void mainboard_ec_init(void) void mainboard_ec_init(void)
{ {

View File

@ -3,7 +3,6 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -3,7 +3,6 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -3,7 +3,6 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -3,7 +3,6 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -5,6 +5,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <variant/gpio.h> #include <variant/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {
/* A0 thru A6 are ESPI, configured elsewhere */ /* A0 thru A6 are ESPI, configured elsewhere */

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
/* Leave eSPI pins untouched from default settings */ /* Leave eSPI pins untouched from default settings */

View File

@ -12,7 +12,6 @@
#include <soc/nvidia/tegra/dc.h> #include <soc/nvidia/tegra/dc.h>
#include <soc/display.h> #include <soc/display.h>
#include <vendorcode/google/chromeos/chromeos.h>
static const struct pad_config sdmmc1_pad[] = { static const struct pad_config sdmmc1_pad[] = {
/* MMC1(SDCARD) */ /* MMC1(SDCARD) */

View File

@ -3,6 +3,7 @@
#include <assert.h> #include <assert.h>
#include <bl31.h> #include <bl31.h>
#include <boardid.h> #include <boardid.h>
#include <bootmode.h>
#include <console/console.h> #include <console/console.h>
#include <device/mmio.h> #include <device/mmio.h>
#include <delay.h> #include <delay.h>
@ -17,7 +18,6 @@
#include <soc/i2c.h> #include <soc/i2c.h>
#include <soc/usb.h> #include <soc/usb.h>
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "board.h" #include "board.h"

View File

@ -4,6 +4,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {
/* A0 : GPP_A0 ==> NC */ /* A0 : GPP_A0 ==> NC */

View File

@ -13,7 +13,6 @@
#include <soc/pmc.h> #include <soc/pmc.h>
#include <soc/spi.h> #include <soc/spi.h>
#include <symbols.h> #include <symbols.h>
#include <vendorcode/google/chromeos/chromeos.h>
static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE; static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;

View File

@ -13,7 +13,6 @@
#include <soc/spi.h> #include <soc/spi.h>
#include <soc/nvidia/tegra/usb.h> #include <soc/nvidia/tegra/usb.h>
#include <symbols.h> #include <symbols.h>
#include <vendorcode/google/chromeos/chromeos.h>
static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE; static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;

View File

@ -13,7 +13,6 @@
#include <soc/pmc.h> #include <soc/pmc.h>
#include <soc/spi.h> #include <soc/spi.h>
#include <symbols.h> #include <symbols.h>
#include <vendorcode/google/chromeos/chromeos.h>
static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE; static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;

View File

@ -17,7 +17,6 @@
#include <soc/mtcmos.h> #include <soc/mtcmos.h>
#include <soc/pll.h> #include <soc/pll.h>
#include <soc/usb.h> #include <soc/usb.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include <framebuffer_info.h> #include <framebuffer_info.h>
enum { enum {

View File

@ -4,6 +4,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* /*
* Pad configuration in ramstage. The order largely follows the 'GPIO Muxing' * Pad configuration in ramstage. The order largely follows the 'GPIO Muxing'

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
/* Leave eSPI pins untouched from default settings */ /* Leave eSPI pins untouched from default settings */

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* /*
* Pad configuration in ramstage. The order largely follows the 'GPIO Muxing' * Pad configuration in ramstage. The order largely follows the 'GPIO Muxing'

View File

@ -4,6 +4,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* /*
* Pad configuration in ramstage. The order largely follows the 'GPIO Muxing' * Pad configuration in ramstage. The order largely follows the 'GPIO Muxing'

View File

@ -16,7 +16,6 @@
#include <soc/spi.h> #include <soc/spi.h>
#include <soc/i2c.h> #include <soc/i2c.h>
#include <symbols.h> #include <symbols.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "board.h" #include "board.h"

View File

@ -17,7 +17,6 @@
#include <symbols.h> #include <symbols.h>
#include <timestamp.h> #include <timestamp.h>
#include <types.h> #include <types.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "board.h" #include "board.h"

View File

@ -15,7 +15,6 @@
#include <soc/spi.h> #include <soc/spi.h>
#include <soc/i2c.h> #include <soc/i2c.h>
#include <symbols.h> #include <symbols.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "board.h" #include "board.h"

View File

@ -17,7 +17,6 @@
#include <symbols.h> #include <symbols.h>
#include <timestamp.h> #include <timestamp.h>
#include <types.h> #include <types.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "board.h" #include "board.h"

View File

@ -16,7 +16,6 @@
#include <soc/spi.h> #include <soc/spi.h>
#include <soc/i2c.h> #include <soc/i2c.h>
#include <symbols.h> #include <symbols.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include <security/vboot/vboot_common.h> #include <security/vboot/vboot_common.h>
#include "board.h" #include "board.h"

View File

@ -17,7 +17,6 @@
#include <symbols.h> #include <symbols.h>
#include <timestamp.h> #include <timestamp.h>
#include <types.h> #include <types.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "board.h" #include "board.h"

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
/* Leave eSPI pins untouched from default settings */ /* Leave eSPI pins untouched from default settings */

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
#if !CONFIG(SOC_INTEL_CANNONLAKE_PCH_H) #if !CONFIG(SOC_INTEL_CANNONLAKE_PCH_H)
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* /*
* Pad configuration in ramstage. The order largely follows the 'GPIO Muxing' * Pad configuration in ramstage. The order largely follows the 'GPIO Muxing'

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
/* Leave eSPI pins untouched from default settings */ /* Leave eSPI pins untouched from default settings */

View File

@ -4,7 +4,6 @@
#include <console/console.h> #include <console/console.h>
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
#include "ec.h" #include "ec.h"
#include <vendorcode/google/chromeos/chromeos.h>
void mainboard_ec_init(void) void mainboard_ec_init(void)
{ {

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -3,6 +3,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* Pad configuration in ramstage*/ /* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = { static const struct pad_config gpio_table[] = {

View File

@ -13,7 +13,6 @@
#include <soc/pci_devs.h> #include <soc/pci_devs.h>
#include <soc/romstage.h> #include <soc/romstage.h>
#include <types.h> #include <types.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "../chip.h" #include "../chip.h"

View File

@ -5,11 +5,6 @@
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <bootmode.h>
#include <device/device.h>
#include <rules.h>
#include <security/vboot/misc.h>
#include <security/vboot/vboot_common.h>
#include <types.h> #include <types.h>
#if CONFIG(CHROMEOS) #if CONFIG(CHROMEOS)

View File

@ -7,6 +7,7 @@
#include <halt.h> #include <halt.h>
#include <security/tpm/tss.h> #include <security/tpm/tss.h>
#include <vb2_api.h> #include <vb2_api.h>
#include <security/vboot/misc.h>
#include <security/vboot/vboot_common.h> #include <security/vboot/vboot_common.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <vendorcode/google/chromeos/chromeos.h>
#include <timestamp.h> #include <timestamp.h>

View File

@ -3,6 +3,7 @@
#include <b64_decode.h> #include <b64_decode.h>
#include <cbmem.h> #include <cbmem.h>
#include <console/console.h> #include <console/console.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <vendorcode/google/chromeos/chromeos.h>