HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/41297 )
Change subject: mb/google/kukui: Remove direct 'include <soc/gpio.h>' ......................................................................
mb/google/kukui: Remove direct 'include <soc/gpio.h>'
Don't directly include <soc/gpio.h>. All code using GPIO features should always and only include <gpio.h>, which should indirectly include the SoC-specific <soc/gpio.h>.
Change-Id: Ic66befccdc3dce78a272031784465b40e6cb2204 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/google/kukui/bootblock.c M src/mainboard/google/kukui/mainboard.c 2 files changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/41297/1
diff --git a/src/mainboard/google/kukui/bootblock.c b/src/mainboard/google/kukui/bootblock.c index d5df223..2a1e7c3 100644 --- a/src/mainboard/google/kukui/bootblock.c +++ b/src/mainboard/google/kukui/bootblock.c @@ -2,7 +2,7 @@
#include <bootblock_common.h> #include <soc/spi.h> -#include <soc/gpio.h> +#include <gpio.h>
void bootblock_mainboard_init(void) { diff --git a/src/mainboard/google/kukui/mainboard.c b/src/mainboard/google/kukui/mainboard.c index e36ec8b..2b40735 100644 --- a/src/mainboard/google/kukui/mainboard.c +++ b/src/mainboard/google/kukui/mainboard.c @@ -12,7 +12,6 @@ #include <gpio.h> #include <soc/ddp.h> #include <soc/dsi.h> -#include <soc/gpio.h> #include <soc/mmu_operations.h> #include <soc/mtcmos.h> #include <soc/spm.h>