From b5320b2dc1a0c2f710929f4a0aa17529b973b62f Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 7 Jul 2020 18:27:30 +0200 Subject: [PATCH] soc/intel/baytrail: Rename "pmc.h" to "pm.h" This reduces the differences between Bay Trail and Braswell. Tested with BUILD_TIMELESS=1, Google Ninja remains identical. Change-Id: I3d4c1285bdc4b061383b7bb6262f69671166b9c4 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43185 Tested-by: build bot (Jenkins) Reviewed-by: Frans Hendriks --- src/mainboard/google/rambi/irqroute.h | 2 +- src/mainboard/google/rambi/mainboard_smi.c | 2 +- src/soc/intel/baytrail/acpi.c | 2 +- src/soc/intel/baytrail/bootblock/bootblock.c | 2 +- src/soc/intel/baytrail/ehci.c | 2 +- src/soc/intel/baytrail/elog.c | 2 +- src/soc/intel/baytrail/gpio.c | 2 +- src/soc/intel/baytrail/include/soc/{pmc.h => pm.h} | 6 +++--- src/soc/intel/baytrail/lpe.c | 2 +- src/soc/intel/baytrail/pmutil.c | 2 +- src/soc/intel/baytrail/ramstage.c | 2 +- src/soc/intel/baytrail/romstage/pmc.c | 2 +- src/soc/intel/baytrail/romstage/romstage.c | 2 +- src/soc/intel/baytrail/smihandler.c | 2 +- src/soc/intel/baytrail/smm.c | 2 +- src/soc/intel/baytrail/southcluster.c | 2 +- src/soc/intel/baytrail/xhci.c | 2 +- 17 files changed, 19 insertions(+), 19 deletions(-) rename src/soc/intel/baytrail/include/soc/{pmc.h => pm.h} (99%) diff --git a/src/mainboard/google/rambi/irqroute.h b/src/mainboard/google/rambi/irqroute.h index 8d6235886f..b5c4f731ff 100644 --- a/src/mainboard/google/rambi/irqroute.h +++ b/src/mainboard/google/rambi/irqroute.h @@ -2,7 +2,7 @@ #include #include -#include +#include #define PCI_DEV_PIRQ_ROUTES \ PCI_DEV_PIRQ_ROUTE(GFX_DEV, A, B, C, D), \ diff --git a/src/mainboard/google/rambi/mainboard_smi.c b/src/mainboard/google/rambi/mainboard_smi.c index 76cc0ed1a4..c434860ea5 100644 --- a/src/mainboard/google/rambi/mainboard_smi.c +++ b/src/mainboard/google/rambi/mainboard_smi.c @@ -11,7 +11,7 @@ #include "ec.h" #include -#include +#include /* The wake gpio is SUS_GPIO[0]. */ #define WAKE_GPIO_EN SUS_GPIO_EN0 diff --git a/src/soc/intel/baytrail/acpi.c b/src/soc/intel/baytrail/acpi.c index 9bcd78698b..8267199ab1 100644 --- a/src/soc/intel/baytrail/acpi.c +++ b/src/soc/intel/baytrail/acpi.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/soc/intel/baytrail/bootblock/bootblock.c b/src/soc/intel/baytrail/bootblock/bootblock.c index 0db8d9a40b..54e7261d3b 100644 --- a/src/soc/intel/baytrail/bootblock/bootblock.c +++ b/src/soc/intel/baytrail/bootblock/bootblock.c @@ -7,7 +7,7 @@ #include #include #include -#include +#include static void setup_mmconfig(void) { diff --git a/src/soc/intel/baytrail/ehci.c b/src/soc/intel/baytrail/ehci.c index 16baa512b8..5ae834efdd 100644 --- a/src/soc/intel/baytrail/ehci.c +++ b/src/soc/intel/baytrail/ehci.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/soc/intel/baytrail/elog.c b/src/soc/intel/baytrail/elog.c index fa77173dcd..93a43c5a12 100644 --- a/src/soc/intel/baytrail/elog.c +++ b/src/soc/intel/baytrail/elog.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include static void log_power_and_resets(const struct chipset_power_state *ps) { diff --git a/src/soc/intel/baytrail/gpio.c b/src/soc/intel/baytrail/gpio.c index a250cf0e1b..38e2d2fbd4 100644 --- a/src/soc/intel/baytrail/gpio.c +++ b/src/soc/intel/baytrail/gpio.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include /* GPIO-to-Pad LUTs */ diff --git a/src/soc/intel/baytrail/include/soc/pmc.h b/src/soc/intel/baytrail/include/soc/pm.h similarity index 99% rename from src/soc/intel/baytrail/include/soc/pmc.h rename to src/soc/intel/baytrail/include/soc/pm.h index 8b18589f16..0481159416 100644 --- a/src/soc/intel/baytrail/include/soc/pmc.h +++ b/src/soc/intel/baytrail/include/soc/pm.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _BAYTRAIL_PMC_H_ -#define _BAYTRAIL_PMC_H_ +#ifndef _BAYTRAIL_PM_H_ +#define _BAYTRAIL_PM_H_ #include @@ -275,4 +275,4 @@ int rtc_failure(void); #endif /* !defined(__ASSEMBLER__) && !defined(__ACPI__) */ -#endif /* _BAYTRAIL_PMC_H_ */ +#endif /* _BAYTRAIL_PM_H_ */ diff --git a/src/soc/intel/baytrail/lpe.c b/src/soc/intel/baytrail/lpe.c index 3a12a4b5a8..c41db94813 100644 --- a/src/soc/intel/baytrail/lpe.c +++ b/src/soc/intel/baytrail/lpe.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include "chip.h" diff --git a/src/soc/intel/baytrail/pmutil.c b/src/soc/intel/baytrail/pmutil.c index b6f3130e74..8addc530ce 100644 --- a/src/soc/intel/baytrail/pmutil.c +++ b/src/soc/intel/baytrail/pmutil.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #if defined(__SIMPLE_DEVICE__) diff --git a/src/soc/intel/baytrail/ramstage.c b/src/soc/intel/baytrail/ramstage.c index 995fe20679..099eb588d3 100644 --- a/src/soc/intel/baytrail/ramstage.c +++ b/src/soc/intel/baytrail/ramstage.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/soc/intel/baytrail/romstage/pmc.c b/src/soc/intel/baytrail/romstage/pmc.c index 48a8e71118..e495a2bd20 100644 --- a/src/soc/intel/baytrail/romstage/pmc.c +++ b/src/soc/intel/baytrail/romstage/pmc.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include "../chip.h" diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c index fa1735174b..ddd657a404 100644 --- a/src/soc/intel/baytrail/romstage/romstage.c +++ b/src/soc/intel/baytrail/romstage/romstage.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include static struct chipset_power_state power_state; diff --git a/src/soc/intel/baytrail/smihandler.c b/src/soc/intel/baytrail/smihandler.c index e5f53ff4aa..42d63e8610 100644 --- a/src/soc/intel/baytrail/smihandler.c +++ b/src/soc/intel/baytrail/smihandler.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include static int smm_initialized; diff --git a/src/soc/intel/baytrail/smm.c b/src/soc/intel/baytrail/smm.c index c70388abad..d16f9189cd 100644 --- a/src/soc/intel/baytrail/smm.c +++ b/src/soc/intel/baytrail/smm.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include /* Save settings which will be committed in SMI functions. */ diff --git a/src/soc/intel/baytrail/southcluster.c b/src/soc/intel/baytrail/southcluster.c index 38f51ff521..b7157c70f6 100644 --- a/src/soc/intel/baytrail/southcluster.c +++ b/src/soc/intel/baytrail/southcluster.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include #include "chip.h" diff --git a/src/soc/intel/baytrail/xhci.c b/src/soc/intel/baytrail/xhci.c index ce526c096d..9ff30e3d59 100644 --- a/src/soc/intel/baytrail/xhci.c +++ b/src/soc/intel/baytrail/xhci.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include