mb/google/zork: move include to the files where it's used

platform_descriptors.h is unrelated to the contents of baseboard/gpio.h
where it was included, so move the includes to the files where it is
actually needed.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I94e59b5aac2df834d956106ac953eebfc5cf6921
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52357
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2021-04-15 00:14:12 +02:00
parent aed5ee598d
commit 659319250e
3 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <platform_descriptors.h>
void __weak variant_get_dxio_ddi_descriptors(const fsp_dxio_descriptor **dxio_descs, void __weak variant_get_dxio_ddi_descriptors(const fsp_dxio_descriptor **dxio_descs,
size_t *dxio_num, size_t *dxio_num,

View File

@ -2,6 +2,7 @@
#include <baseboard/gpio.h> #include <baseboard/gpio.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <platform_descriptors.h>
#include <soc/soc_util.h> #include <soc/soc_util.h>
void __weak variant_get_dxio_ddi_descriptors(const fsp_dxio_descriptor **dxio_descs, void __weak variant_get_dxio_ddi_descriptors(const fsp_dxio_descriptor **dxio_descs,

View File

@ -6,7 +6,6 @@
#ifndef __ACPI__ #ifndef __ACPI__
#include <amdblocks/gpio_defs.h> #include <amdblocks/gpio_defs.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <platform_descriptors.h>
#if CONFIG(BOARD_GOOGLE_BASEBOARD_TREMBYLE) #if CONFIG(BOARD_GOOGLE_BASEBOARD_TREMBYLE)
#define EC_IN_RW_OD GPIO_130 #define EC_IN_RW_OD GPIO_130