HAOUAS Elyes has uploaded this change for review.

View Change

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

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/41311/1
diff --git a/src/mainboard/intel/jasperlake_rvp/bootblock.c b/src/mainboard/intel/jasperlake_rvp/bootblock.c
index a8f7e41..7b0984c 100644
--- a/src/mainboard/intel/jasperlake_rvp/bootblock.c
+++ b/src/mainboard/intel/jasperlake_rvp/bootblock.c
@@ -3,7 +3,7 @@
#include <baseboard/gpio.h>
#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/jasperlake_rvp/mainboard.c b/src/mainboard/intel/jasperlake_rvp/mainboard.c
index 3b9dff9..b0f6068 100644
--- a/src/mainboard/intel/jasperlake_rvp/mainboard.c
+++ b/src/mainboard/intel/jasperlake_rvp/mainboard.c
@@ -3,7 +3,7 @@
#include <baseboard/gpio.h>
#include <baseboard/variants.h>
#include <device/device.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <smbios.h>
#include <vendorcode/google/chromeos/chromeos.h>


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

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