summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/smihandler.c
diff options
context:
space:
mode:
authorDinesh Gehlot <digehlot@google.com>2023-01-17 05:06:10 +0000
committerElyes Haouas <ehaouas@noos.fr>2023-01-18 05:19:19 +0000
commitba09eb71c8ffe94ea752cdbc83ac5f400ebc3772 (patch)
tree5bc5f89dd5b538b82a0d490204bed049d57380f8 /src/soc/intel/braswell/smihandler.c
parent4da8830c3d4f65b2bd53ed1c0f4fd7f623ca8c1e (diff)
soc/intel/braswell: Use common gpio.h include
Replace the intelblocks/gpio.h, soc/gpio.h and soc/gpio_defs.h includes with the common gpio.h which includes soc/gpio.h which includes intelblocks/gpio.h which includes soc/gpio_defs.h. This patch also fixes alphabetic ordering of included headers. BUG=b:261778357 TEST=Able to build and boot. Signed-off-by: Dinesh Gehlot <digehlot@google.com> Change-Id: I55fa5941a9255f60c2aa23b90d16cf342d6f458f Reviewed-on: https://review.coreboot.org/c/coreboot/+/72032 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/soc/intel/braswell/smihandler.c')
-rw-r--r--src/soc/intel/braswell/smihandler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/braswell/smihandler.c b/src/soc/intel/braswell/smihandler.c
index f34eb6448f..44a66123d8 100644
--- a/src/soc/intel/braswell/smihandler.c
+++ b/src/soc/intel/braswell/smihandler.c
@@ -2,20 +2,20 @@
#include <arch/hlt.h>
#include <arch/io.h>
-#include <device/mmio.h>
-#include <device/pci_ops.h>
#include <console/console.h>
#include <cpu/x86/cache.h>
#include <cpu/x86/smm.h>
#include <cpu/intel/em64t100_save_state.h>
+#include <device/mmio.h>
+#include <device/pci_ops.h>
#include <device/pci_def.h>
#include <elog.h>
+#include <gpio.h>
#include <soc/nvs.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <spi-generic.h>
#include <stdint.h>
-#include <soc/gpio.h>
#include <smmstore.h>
void southbridge_smi_set_eos(void)