HAOUAS Elyes has uploaded this change for review.

View Change

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

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/41314/1
diff --git a/src/mainboard/intel/saddlebrook/bootblock.c b/src/mainboard/intel/saddlebrook/bootblock.c
index 6abc4c5..1ccf4c1 100644
--- a/src/mainboard/intel/saddlebrook/bootblock.c
+++ b/src/mainboard/intel/saddlebrook/bootblock.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */

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

#include <superio/nuvoton/common/nuvoton.h>
diff --git a/src/mainboard/intel/saddlebrook/romstage.c b/src/mainboard/intel/saddlebrook/romstage.c
index f96add7..a91bb67 100644
--- a/src/mainboard/intel/saddlebrook/romstage.c
+++ b/src/mainboard/intel/saddlebrook/romstage.c
@@ -2,7 +2,7 @@

#include <console/console.h>
#include <fsp/api.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/pm.h>
#include <soc/romstage.h>
#include "spd/spd.h"

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

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