diff --git a/src/mainboard/esd/atom15/acpi_tables.c b/src/mainboard/esd/atom15/acpi_tables.c index 48991f5aea..3da29ee764 100644 --- a/src/mainboard/esd/atom15/acpi_tables.c +++ b/src/mainboard/esd/atom15/acpi_tables.c @@ -28,9 +28,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/esd/atom15/fadt.c b/src/mainboard/esd/atom15/fadt.c index 38b9bfdd3f..36e4655a32 100644 --- a/src/mainboard/esd/atom15/fadt.c +++ b/src/mainboard/esd/atom15/fadt.c @@ -15,7 +15,7 @@ */ #include -#include +#include void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt) { diff --git a/src/mainboard/esd/atom15/gpio.c b/src/mainboard/esd/atom15/gpio.c index f617de48ef..b9c7829fb1 100644 --- a/src/mainboard/esd/atom15/gpio.c +++ b/src/mainboard/esd/atom15/gpio.c @@ -15,7 +15,7 @@ */ #include -#include +#include #include "irqroute.h" /* diff --git a/src/mainboard/esd/atom15/irqroute.h b/src/mainboard/esd/atom15/irqroute.h index f8660693e5..6b417981ed 100644 --- a/src/mainboard/esd/atom15/irqroute.h +++ b/src/mainboard/esd/atom15/irqroute.h @@ -17,8 +17,8 @@ #ifndef IRQROUTE_H #define IRQROUTE_H -#include -#include +#include +#include /* *IR02h GFX INT(A) - PIRQ A diff --git a/src/mainboard/esd/atom15/romstage.c b/src/mainboard/esd/atom15/romstage.c index 89fc9de8bb..3aa02d8deb 100644 --- a/src/mainboard/esd/atom15/romstage.c +++ b/src/mainboard/esd/atom15/romstage.c @@ -15,12 +15,12 @@ * GNU General Public License for more details. */ -#include +#include #include #include #include -#include -#include "chip.h" +#include +#include /** * /brief mainboard call for setup that needs to be done before fsp init diff --git a/src/mainboard/intel/bayleybay_fsp/acpi_tables.c b/src/mainboard/intel/bayleybay_fsp/acpi_tables.c index 56d287b236..f8b6f656f6 100644 --- a/src/mainboard/intel/bayleybay_fsp/acpi_tables.c +++ b/src/mainboard/intel/bayleybay_fsp/acpi_tables.c @@ -27,9 +27,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/intel/bayleybay_fsp/fadt.c b/src/mainboard/intel/bayleybay_fsp/fadt.c index 0ebfc62547..8e8de51668 100644 --- a/src/mainboard/intel/bayleybay_fsp/fadt.c +++ b/src/mainboard/intel/bayleybay_fsp/fadt.c @@ -15,7 +15,7 @@ */ #include -#include +#include void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt) { diff --git a/src/mainboard/intel/bayleybay_fsp/gpio.c b/src/mainboard/intel/bayleybay_fsp/gpio.c index 53029f1ab7..27b22c5e17 100644 --- a/src/mainboard/intel/bayleybay_fsp/gpio.c +++ b/src/mainboard/intel/bayleybay_fsp/gpio.c @@ -15,7 +15,7 @@ */ #include -#include +#include #include "irqroute.h" /* NCORE GPIOs */ diff --git a/src/mainboard/intel/bayleybay_fsp/irqroute.h b/src/mainboard/intel/bayleybay_fsp/irqroute.h index 8b6a46ed54..a24be3e748 100644 --- a/src/mainboard/intel/bayleybay_fsp/irqroute.h +++ b/src/mainboard/intel/bayleybay_fsp/irqroute.h @@ -16,8 +16,8 @@ #ifndef IRQROUTE_H #define IRQROUTE_H -#include -#include +#include +#include /* *IR02h GFX INT(A) - PIRQ A diff --git a/src/mainboard/intel/bayleybay_fsp/romstage.c b/src/mainboard/intel/bayleybay_fsp/romstage.c index 970bbd1f8e..7af782f0f3 100644 --- a/src/mainboard/intel/bayleybay_fsp/romstage.c +++ b/src/mainboard/intel/bayleybay_fsp/romstage.c @@ -25,13 +25,13 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include #include /** diff --git a/src/mainboard/intel/minnowmax/acpi_tables.c b/src/mainboard/intel/minnowmax/acpi_tables.c index 48991f5aea..3da29ee764 100644 --- a/src/mainboard/intel/minnowmax/acpi_tables.c +++ b/src/mainboard/intel/minnowmax/acpi_tables.c @@ -28,9 +28,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/intel/minnowmax/fadt.c b/src/mainboard/intel/minnowmax/fadt.c index 38b9bfdd3f..36e4655a32 100644 --- a/src/mainboard/intel/minnowmax/fadt.c +++ b/src/mainboard/intel/minnowmax/fadt.c @@ -15,7 +15,7 @@ */ #include -#include +#include void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt) { diff --git a/src/mainboard/intel/minnowmax/gpio.c b/src/mainboard/intel/minnowmax/gpio.c index 008dbee636..228b55b3ac 100644 --- a/src/mainboard/intel/minnowmax/gpio.c +++ b/src/mainboard/intel/minnowmax/gpio.c @@ -15,7 +15,7 @@ */ #include -#include +#include #include "irqroute.h" /* diff --git a/src/mainboard/intel/minnowmax/irqroute.h b/src/mainboard/intel/minnowmax/irqroute.h index 0b577bcc40..0b194aa10d 100644 --- a/src/mainboard/intel/minnowmax/irqroute.h +++ b/src/mainboard/intel/minnowmax/irqroute.h @@ -17,8 +17,8 @@ #ifndef IRQROUTE_H #define IRQROUTE_H -#include -#include +#include +#include /* *IR02h GFX INT(A) - PIRQ A diff --git a/src/mainboard/intel/minnowmax/romstage.c b/src/mainboard/intel/minnowmax/romstage.c index dd441f8bfc..7ee4f216e0 100644 --- a/src/mainboard/intel/minnowmax/romstage.c +++ b/src/mainboard/intel/minnowmax/romstage.c @@ -15,12 +15,12 @@ * GNU General Public License for more details. */ -#include +#include #include #include #include -#include -#include "chip.h" +#include +#include /** * /brief mainboard call for setup that needs to be done before fsp init diff --git a/src/mainboard/siemens/mc_tcu3/acpi_tables.c b/src/mainboard/siemens/mc_tcu3/acpi_tables.c index 56d287b236..f8b6f656f6 100644 --- a/src/mainboard/siemens/mc_tcu3/acpi_tables.c +++ b/src/mainboard/siemens/mc_tcu3/acpi_tables.c @@ -27,9 +27,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/siemens/mc_tcu3/fadt.c b/src/mainboard/siemens/mc_tcu3/fadt.c index 0ebfc62547..8e8de51668 100644 --- a/src/mainboard/siemens/mc_tcu3/fadt.c +++ b/src/mainboard/siemens/mc_tcu3/fadt.c @@ -15,7 +15,7 @@ */ #include -#include +#include void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt) { diff --git a/src/mainboard/siemens/mc_tcu3/gpio.c b/src/mainboard/siemens/mc_tcu3/gpio.c index a7e5b0563d..fc5178fcd6 100644 --- a/src/mainboard/siemens/mc_tcu3/gpio.c +++ b/src/mainboard/siemens/mc_tcu3/gpio.c @@ -15,7 +15,7 @@ */ #include -#include +#include #include "irqroute.h" /* NCORE GPIOs */ diff --git a/src/mainboard/siemens/mc_tcu3/irqroute.h b/src/mainboard/siemens/mc_tcu3/irqroute.h index 8b6a46ed54..a24be3e748 100644 --- a/src/mainboard/siemens/mc_tcu3/irqroute.h +++ b/src/mainboard/siemens/mc_tcu3/irqroute.h @@ -16,8 +16,8 @@ #ifndef IRQROUTE_H #define IRQROUTE_H -#include -#include +#include +#include /* *IR02h GFX INT(A) - PIRQ A diff --git a/src/mainboard/siemens/mc_tcu3/lcd_panel.c b/src/mainboard/siemens/mc_tcu3/lcd_panel.c index 0ee93172cd..91159f98d2 100644 --- a/src/mainboard/siemens/mc_tcu3/lcd_panel.c +++ b/src/mainboard/siemens/mc_tcu3/lcd_panel.c @@ -16,7 +16,7 @@ #include #include #include "modhwinfo.h" -#include "baytrail/gpio.h" +#include "soc/gpio.h" #include "lcd_panel.h" #include "ptn3460.h" diff --git a/src/mainboard/siemens/mc_tcu3/ptn3460.c b/src/mainboard/siemens/mc_tcu3/ptn3460.c index cdcae684f3..e371e53c7f 100644 --- a/src/mainboard/siemens/mc_tcu3/ptn3460.c +++ b/src/mainboard/siemens/mc_tcu3/ptn3460.c @@ -14,7 +14,7 @@ */ #include -#include "baytrail/i2c.h" +#include "soc/i2c.h" #include "ptn3460.h" /** \brief This functions sets up the DP2LVDS-converter to be used with the diff --git a/src/mainboard/siemens/mc_tcu3/romstage.c b/src/mainboard/siemens/mc_tcu3/romstage.c index f19ec83cfc..49483e53e0 100644 --- a/src/mainboard/siemens/mc_tcu3/romstage.c +++ b/src/mainboard/siemens/mc_tcu3/romstage.c @@ -25,13 +25,13 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include #include #include "modhwinfo.h" diff --git a/src/soc/intel/fsp_baytrail/Makefile.inc b/src/soc/intel/fsp_baytrail/Makefile.inc index 54ad88a6fa..79fc7eb79c 100644 --- a/src/soc/intel/fsp_baytrail/Makefile.inc +++ b/src/soc/intel/fsp_baytrail/Makefile.inc @@ -55,7 +55,7 @@ ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smm.c ramstage-y += placeholders.c ramstage-y += i2c.c -CPPFLAGS_common += -I$(src)/soc/intel/fsp_baytrail/ +CPPFLAGS_common += -I$(src)/soc/intel/fsp_baytrail/include CPPFLAGS_common += -I$(src)/soc/intel/fsp_baytrail/fsp endif diff --git a/src/soc/intel/fsp_baytrail/acpi.c b/src/soc/intel/fsp_baytrail/acpi.c index 2aa8c00c8c..e55709cb49 100644 --- a/src/soc/intel/fsp_baytrail/acpi.c +++ b/src/soc/intel/fsp_baytrail/acpi.c @@ -28,21 +28,21 @@ #include #include #include -#include +#include #include -#include -#include +#include +#include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/soc/intel/fsp_baytrail/acpi/gpio.asl b/src/soc/intel/fsp_baytrail/acpi/gpio.asl index 1d96cec262..d0e9be5366 100644 --- a/src/soc/intel/fsp_baytrail/acpi/gpio.asl +++ b/src/soc/intel/fsp_baytrail/acpi/gpio.asl @@ -14,8 +14,8 @@ * GNU General Public License for more details. */ -#include -#include +#include +#include /* SouthCluster GPIO */ Device (GPSC) diff --git a/src/soc/intel/fsp_baytrail/acpi/southcluster.asl b/src/soc/intel/fsp_baytrail/acpi/southcluster.asl index c775263b2b..2fbdb16113 100644 --- a/src/soc/intel/fsp_baytrail/acpi/southcluster.asl +++ b/src/soc/intel/fsp_baytrail/acpi/southcluster.asl @@ -14,9 +14,9 @@ * GNU General Public License for more details. */ -#include -#include -#include "../baytrail/baytrail.h" +#include +#include +#include "../include/soc/baytrail.h" Scope(\) { diff --git a/src/soc/intel/fsp_baytrail/bootblock/bootblock.c b/src/soc/intel/fsp_baytrail/bootblock/bootblock.c index bba5cf497c..2b1eb10fd7 100644 --- a/src/soc/intel/fsp_baytrail/bootblock/bootblock.c +++ b/src/soc/intel/fsp_baytrail/bootblock/bootblock.c @@ -19,12 +19,12 @@ #include #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include /* diff --git a/src/soc/intel/fsp_baytrail/chip.c b/src/soc/intel/fsp_baytrail/chip.c index bd3b74726c..6bdb7b4d28 100644 --- a/src/soc/intel/fsp_baytrail/chip.c +++ b/src/soc/intel/fsp_baytrail/chip.c @@ -16,8 +16,8 @@ #include #include #include -#include -#include +#include +#include #include #include "chip.h" diff --git a/src/soc/intel/fsp_baytrail/cpu.c b/src/soc/intel/fsp_baytrail/cpu.c index 5f9fc4b8e6..3451383ea1 100644 --- a/src/soc/intel/fsp_baytrail/cpu.c +++ b/src/soc/intel/fsp_baytrail/cpu.c @@ -27,11 +27,11 @@ #include #include -#include -#include -#include +#include +#include +#include #if IS_ENABLED(CONFIG_HAVE_SMI_HANDLER) -#include +#include static void smm_relocate(void *unused); static void enable_smis(void *unused); diff --git a/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c b/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c index 462d007767..1327533d46 100755 --- a/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c +++ b/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c @@ -21,18 +21,18 @@ #include #include #include -#include +#include #include #include "../chip.h" #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #ifdef __PRE_RAM__ -#include +#include #endif #ifdef __PRE_RAM__ diff --git a/src/soc/intel/fsp_baytrail/gpio.c b/src/soc/intel/fsp_baytrail/gpio.c index 3497a637be..862e42b9fe 100644 --- a/src/soc/intel/fsp_baytrail/gpio.c +++ b/src/soc/intel/fsp_baytrail/gpio.c @@ -15,9 +15,9 @@ #include #include -#include -#include -#include +#include +#include +#include /* * GPIO-to-Pad LUTs diff --git a/src/soc/intel/fsp_baytrail/i2c.c b/src/soc/intel/fsp_baytrail/i2c.c index 0d96fafb47..6cf07a4d67 100644 --- a/src/soc/intel/fsp_baytrail/i2c.c +++ b/src/soc/intel/fsp_baytrail/i2c.c @@ -14,11 +14,11 @@ */ #include -#include -#include -#include +#include +#include +#include #include -#include +#include /* Wait for the transmit FIFO till there is at least one slot empty. * FIFO stall due to transmit abort will be checked and resolved diff --git a/src/soc/intel/fsp_baytrail/baytrail/acpi.h b/src/soc/intel/fsp_baytrail/include/soc/acpi.h similarity index 97% rename from src/soc/intel/fsp_baytrail/baytrail/acpi.h rename to src/soc/intel/fsp_baytrail/include/soc/acpi.h index f9b2900d1f..7dfec72c55 100644 --- a/src/soc/intel/fsp_baytrail/baytrail/acpi.h +++ b/src/soc/intel/fsp_baytrail/include/soc/acpi.h @@ -18,7 +18,7 @@ #define _BAYTRAIL_ACPI_H_ #include -#include +#include #include void acpi_create_intel_hpet(acpi_hpet_t * hpet); diff --git a/src/soc/intel/fsp_baytrail/baytrail/baytrail.h b/src/soc/intel/fsp_baytrail/include/soc/baytrail.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/baytrail.h rename to src/soc/intel/fsp_baytrail/include/soc/baytrail.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/device_nvs.h b/src/soc/intel/fsp_baytrail/include/soc/device_nvs.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/device_nvs.h rename to src/soc/intel/fsp_baytrail/include/soc/device_nvs.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/ehci.h b/src/soc/intel/fsp_baytrail/include/soc/ehci.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/ehci.h rename to src/soc/intel/fsp_baytrail/include/soc/ehci.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/gfx.h b/src/soc/intel/fsp_baytrail/include/soc/gfx.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/gfx.h rename to src/soc/intel/fsp_baytrail/include/soc/gfx.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/gpio.h b/src/soc/intel/fsp_baytrail/include/soc/gpio.h similarity index 99% rename from src/soc/intel/fsp_baytrail/baytrail/gpio.h rename to src/soc/intel/fsp_baytrail/include/soc/gpio.h index 736f3ce01f..e1164a3866 100644 --- a/src/soc/intel/fsp_baytrail/baytrail/gpio.h +++ b/src/soc/intel/fsp_baytrail/include/soc/gpio.h @@ -18,7 +18,7 @@ #include #include -#include +#include /* #define GPIO_DEBUG */ diff --git a/src/soc/intel/fsp_baytrail/baytrail/i2c.h b/src/soc/intel/fsp_baytrail/include/soc/i2c.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/i2c.h rename to src/soc/intel/fsp_baytrail/include/soc/i2c.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/iomap.h b/src/soc/intel/fsp_baytrail/include/soc/iomap.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/iomap.h rename to src/soc/intel/fsp_baytrail/include/soc/iomap.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/iosf.h b/src/soc/intel/fsp_baytrail/include/soc/iosf.h similarity index 99% rename from src/soc/intel/fsp_baytrail/baytrail/iosf.h rename to src/soc/intel/fsp_baytrail/include/soc/iosf.h index 20f5566338..1c38884bb4 100644 --- a/src/soc/intel/fsp_baytrail/baytrail/iosf.h +++ b/src/soc/intel/fsp_baytrail/include/soc/iosf.h @@ -17,7 +17,7 @@ #define _BAYTRAIL_IOSF_H_ #include -#include +#include /* * The Bay Trail SoC has a message network called IOSF Sideband. The access diff --git a/src/soc/intel/fsp_baytrail/baytrail/irq.h b/src/soc/intel/fsp_baytrail/include/soc/irq.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/irq.h rename to src/soc/intel/fsp_baytrail/include/soc/irq.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/lpc.h b/src/soc/intel/fsp_baytrail/include/soc/lpc.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/lpc.h rename to src/soc/intel/fsp_baytrail/include/soc/lpc.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/msr.h b/src/soc/intel/fsp_baytrail/include/soc/msr.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/msr.h rename to src/soc/intel/fsp_baytrail/include/soc/msr.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/nvm.h b/src/soc/intel/fsp_baytrail/include/soc/nvm.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/nvm.h rename to src/soc/intel/fsp_baytrail/include/soc/nvm.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/nvs.h b/src/soc/intel/fsp_baytrail/include/soc/nvs.h similarity index 98% rename from src/soc/intel/fsp_baytrail/baytrail/nvs.h rename to src/soc/intel/fsp_baytrail/include/soc/nvs.h index cbfdd13ef7..17c60ddcf7 100644 --- a/src/soc/intel/fsp_baytrail/baytrail/nvs.h +++ b/src/soc/intel/fsp_baytrail/include/soc/nvs.h @@ -17,7 +17,7 @@ #ifndef _BAYTRAIL_NVS_H_ #define _BAYTRAIL_NVS_H_ -#include +#include typedef struct { /* Miscellaneous */ diff --git a/src/soc/intel/fsp_baytrail/baytrail/pattrs.h b/src/soc/intel/fsp_baytrail/include/soc/pattrs.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/pattrs.h rename to src/soc/intel/fsp_baytrail/include/soc/pattrs.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/pci_devs.h b/src/soc/intel/fsp_baytrail/include/soc/pci_devs.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/pci_devs.h rename to src/soc/intel/fsp_baytrail/include/soc/pci_devs.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/pcie.h b/src/soc/intel/fsp_baytrail/include/soc/pcie.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/pcie.h rename to src/soc/intel/fsp_baytrail/include/soc/pcie.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/pmc.h b/src/soc/intel/fsp_baytrail/include/soc/pmc.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/pmc.h rename to src/soc/intel/fsp_baytrail/include/soc/pmc.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/ramstage.h b/src/soc/intel/fsp_baytrail/include/soc/ramstage.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/ramstage.h rename to src/soc/intel/fsp_baytrail/include/soc/ramstage.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/reset.h b/src/soc/intel/fsp_baytrail/include/soc/reset.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/reset.h rename to src/soc/intel/fsp_baytrail/include/soc/reset.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/romstage.h b/src/soc/intel/fsp_baytrail/include/soc/romstage.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/romstage.h rename to src/soc/intel/fsp_baytrail/include/soc/romstage.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/smm.h b/src/soc/intel/fsp_baytrail/include/soc/smm.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/smm.h rename to src/soc/intel/fsp_baytrail/include/soc/smm.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/spi.h b/src/soc/intel/fsp_baytrail/include/soc/spi.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/spi.h rename to src/soc/intel/fsp_baytrail/include/soc/spi.h diff --git a/src/soc/intel/fsp_baytrail/baytrail/xhci.h b/src/soc/intel/fsp_baytrail/include/soc/xhci.h similarity index 100% rename from src/soc/intel/fsp_baytrail/baytrail/xhci.h rename to src/soc/intel/fsp_baytrail/include/soc/xhci.h diff --git a/src/soc/intel/fsp_baytrail/iosf.c b/src/soc/intel/fsp_baytrail/iosf.c index 334e2dcfd1..e6b6039ad1 100644 --- a/src/soc/intel/fsp_baytrail/iosf.c +++ b/src/soc/intel/fsp_baytrail/iosf.c @@ -15,7 +15,7 @@ */ #include -#include +#include #if !defined(__PRE_RAM__) #define IOSF_PCI_BASE (CONFIG_MMCONF_BASE_ADDRESS + (IOSF_PCI_DEV << 12)) diff --git a/src/soc/intel/fsp_baytrail/memmap.c b/src/soc/intel/fsp_baytrail/memmap.c index 0c2c14d4b6..1886c6fa93 100644 --- a/src/soc/intel/fsp_baytrail/memmap.c +++ b/src/soc/intel/fsp_baytrail/memmap.c @@ -16,8 +16,8 @@ #include #include -#include -#include +#include +#include #include uintptr_t smm_region_start(void) diff --git a/src/soc/intel/fsp_baytrail/northcluster.c b/src/soc/intel/fsp_baytrail/northcluster.c index 3b27c39eaa..5b6866640f 100644 --- a/src/soc/intel/fsp_baytrail/northcluster.c +++ b/src/soc/intel/fsp_baytrail/northcluster.c @@ -20,13 +20,13 @@ #include #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include -#include +#include #include #include diff --git a/src/soc/intel/fsp_baytrail/nvm.c b/src/soc/intel/fsp_baytrail/nvm.c index 896e9b0058..ed0d12165b 100644 --- a/src/soc/intel/fsp_baytrail/nvm.c +++ b/src/soc/intel/fsp_baytrail/nvm.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include /* This module assumes the flash is memory mapped just below 4GiB in the * address space for reading. Also this module assumes an area it erased diff --git a/src/soc/intel/fsp_baytrail/placeholders.c b/src/soc/intel/fsp_baytrail/placeholders.c index c9a9da4e8b..9a08e6f3f4 100644 --- a/src/soc/intel/fsp_baytrail/placeholders.c +++ b/src/soc/intel/fsp_baytrail/placeholders.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include void acpi_create_serialio_ssdt(acpi_header_t *ssdt) {} diff --git a/src/soc/intel/fsp_baytrail/pmutil.c b/src/soc/intel/fsp_baytrail/pmutil.c index 1757dcc687..3759174346 100644 --- a/src/soc/intel/fsp_baytrail/pmutil.c +++ b/src/soc/intel/fsp_baytrail/pmutil.c @@ -17,10 +17,10 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include #if defined(__SMM__) diff --git a/src/soc/intel/fsp_baytrail/ramstage.c b/src/soc/intel/fsp_baytrail/ramstage.c index abd44511ea..a322ee351e 100644 --- a/src/soc/intel/fsp_baytrail/ramstage.c +++ b/src/soc/intel/fsp_baytrail/ramstage.c @@ -26,13 +26,13 @@ #include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include /* Global PATTRS */ DEFINE_PATTRS; diff --git a/src/soc/intel/fsp_baytrail/reset.c b/src/soc/intel/fsp_baytrail/reset.c index fc1bddfcef..fd38f61255 100644 --- a/src/soc/intel/fsp_baytrail/reset.c +++ b/src/soc/intel/fsp_baytrail/reset.c @@ -14,8 +14,8 @@ */ #include -#include -#include +#include +#include void cold_reset(void) { diff --git a/src/soc/intel/fsp_baytrail/romstage/pmc.c b/src/soc/intel/fsp_baytrail/romstage/pmc.c index e2f4452996..8df2341947 100644 --- a/src/soc/intel/fsp_baytrail/romstage/pmc.c +++ b/src/soc/intel/fsp_baytrail/romstage/pmc.c @@ -18,12 +18,12 @@ #include #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include "../chip.h" void tco_disable(void) diff --git a/src/soc/intel/fsp_baytrail/romstage/report_platform.c b/src/soc/intel/fsp_baytrail/romstage/report_platform.c index 23440190ff..1e32262999 100644 --- a/src/soc/intel/fsp_baytrail/romstage/report_platform.c +++ b/src/soc/intel/fsp_baytrail/romstage/report_platform.c @@ -16,10 +16,10 @@ #include #include -#include -#include +#include +#include #include -#include +#include #include static void print_dram_info(void) diff --git a/src/soc/intel/fsp_baytrail/romstage/romstage.c b/src/soc/intel/fsp_baytrail/romstage/romstage.c index 6773a5bd00..b485be1e83 100644 --- a/src/soc/intel/fsp_baytrail/romstage/romstage.c +++ b/src/soc/intel/fsp_baytrail/romstage/romstage.c @@ -26,16 +26,16 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include #include -#include -#include +#include +#include #include #include #include diff --git a/src/soc/intel/fsp_baytrail/romstage/uart.c b/src/soc/intel/fsp_baytrail/romstage/uart.c index 50a194bf48..10a00f8524 100644 --- a/src/soc/intel/fsp_baytrail/romstage/uart.c +++ b/src/soc/intel/fsp_baytrail/romstage/uart.c @@ -14,11 +14,11 @@ */ #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include void byt_config_com1_and_enable(void) { diff --git a/src/soc/intel/fsp_baytrail/smihandler.c b/src/soc/intel/fsp_baytrail/smihandler.c index 4d8bcc0f51..e0a55f8e31 100644 --- a/src/soc/intel/fsp_baytrail/smihandler.c +++ b/src/soc/intel/fsp_baytrail/smihandler.c @@ -23,9 +23,9 @@ #include #include -#include -#include -#include +#include +#include +#include /* GNVS needs to be set by coreboot initiating a software SMI. */ static global_nvs_t *gnvs; diff --git a/src/soc/intel/fsp_baytrail/smm.c b/src/soc/intel/fsp_baytrail/smm.c index 236106ca26..eb24d219fa 100644 --- a/src/soc/intel/fsp_baytrail/smm.c +++ b/src/soc/intel/fsp_baytrail/smm.c @@ -22,9 +22,9 @@ #include #include -#include -#include -#include +#include +#include +#include /* Save the gpio route register. The settings are committed from * southcluster_smm_enable_smi(). */ diff --git a/src/soc/intel/fsp_baytrail/southcluster.c b/src/soc/intel/fsp_baytrail/southcluster.c index 6182948462..3ad692fb2a 100644 --- a/src/soc/intel/fsp_baytrail/southcluster.c +++ b/src/soc/intel/fsp_baytrail/southcluster.c @@ -30,15 +30,15 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include "chip.h" #include #include diff --git a/src/soc/intel/fsp_baytrail/spi.c b/src/soc/intel/fsp_baytrail/spi.c index adbc0e2fc3..1b85fc58ee 100644 --- a/src/soc/intel/fsp_baytrail/spi.c +++ b/src/soc/intel/fsp_baytrail/spi.c @@ -23,8 +23,8 @@ #include #include -#include -#include +#include +#include #ifdef __SMM__ #define pci_read_config_byte(dev, reg, targ)\ diff --git a/src/soc/intel/fsp_baytrail/tsc_freq.c b/src/soc/intel/fsp_baytrail/tsc_freq.c index f002187b10..66fde22d99 100644 --- a/src/soc/intel/fsp_baytrail/tsc_freq.c +++ b/src/soc/intel/fsp_baytrail/tsc_freq.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include unsigned bus_freq_khz(void) { @@ -49,9 +49,9 @@ unsigned long tsc_freq_mhz(void) #if !defined(__SMM__) #if !defined(__PRE_RAM__) -#include +#include #else -#include +#include #endif void set_max_freq(void)