HAOUAS Elyes has uploaded this change for review.

View Change

mb/intel/coffeelake_rvp: 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: I19c167470963fe29ff35d4f36ee1c277108fd1df
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M src/mainboard/intel/coffeelake_rvp/bootblock.c
M src/mainboard/intel/coffeelake_rvp/chromeos.c
M src/mainboard/intel/coffeelake_rvp/mainboard.c
3 files changed, 2 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/41308/1
diff --git a/src/mainboard/intel/coffeelake_rvp/bootblock.c b/src/mainboard/intel/coffeelake_rvp/bootblock.c
index c39a8ff..00c94cc 100644
--- a/src/mainboard/intel/coffeelake_rvp/bootblock.c
+++ b/src/mainboard/intel/coffeelake_rvp/bootblock.c
@@ -2,7 +2,7 @@

#include <baseboard/variants.h>
#include <bootblock_common.h>
-#include <soc/gpio.h>
+#include <gpio.h>

void bootblock_mainboard_init(void)
{
diff --git a/src/mainboard/intel/coffeelake_rvp/chromeos.c b/src/mainboard/intel/coffeelake_rvp/chromeos.c
index 5fb7922..77f2c12 100644
--- a/src/mainboard/intel/coffeelake_rvp/chromeos.c
+++ b/src/mainboard/intel/coffeelake_rvp/chromeos.c
@@ -4,7 +4,6 @@
#include <baseboard/variants.h>
#include <boot/coreboot_tables.h>
#include <gpio.h>
-#include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>

void fill_lb_gpios(struct lb_gpios *gpios)
diff --git a/src/mainboard/intel/coffeelake_rvp/mainboard.c b/src/mainboard/intel/coffeelake_rvp/mainboard.c
index aa073bc..bfb5e0c 100644
--- a/src/mainboard/intel/coffeelake_rvp/mainboard.c
+++ b/src/mainboard/intel/coffeelake_rvp/mainboard.c
@@ -4,7 +4,7 @@
#include <baseboard/variants.h>
#include <device/device.h>
#include <nhlt.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/nhlt.h>
#include <vendorcode/google/chromeos/chromeos.h>


To view, visit change 41308. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I19c167470963fe29ff35d4f36ee1c277108fd1df
Gerrit-Change-Number: 41308
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange