diff mbox series

[RFC,2/4] x86: Move itss.h from Apollo Lake to the generic x86 include directory

Message ID 20200122150147.25709-3-wolfgang.wallner@br-automation.com
State Accepted
Commit 142c9751a6cb7e2f9d18847570bc01c5e991aeeb
Headers show
Series x86: Move ITSS from Apollo Lake to a more generic location | expand

Commit Message

Wolfgang Wallner Jan. 22, 2020, 3:01 p.m. UTC
The code in this file is not specific to Apollo Lake. According to
coreboot sources (where this code comes from), it is common to at least:
  * Apollo Lake
  * Cannon Lake
  * Ice Lake
  * Skylake

Signed-off-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
---

 arch/x86/cpu/apollolake/itss.c                    | 2 +-
 arch/x86/include/asm/{arch-apollolake => }/itss.h | 0
 drivers/pinctrl/intel/pinctrl.c                   | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename arch/x86/include/asm/{arch-apollolake => }/itss.h (100%)

Comments

Simon Glass Jan. 30, 2020, 2:16 a.m. UTC | #1
On Wed, 22 Jan 2020 at 08:01, Wolfgang Wallner
<wolfgang.wallner at br-automation.com> wrote:
>
> The code in this file is not specific to Apollo Lake. According to
> coreboot sources (where this code comes from), it is common to at least:
>   * Apollo Lake
>   * Cannon Lake
>   * Ice Lake
>   * Skylake
>
> Signed-off-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
>
>  arch/x86/cpu/apollolake/itss.c                    | 2 +-
>  arch/x86/include/asm/{arch-apollolake => }/itss.h | 0
>  drivers/pinctrl/intel/pinctrl.c                   | 2 +-
>  3 files changed, 2 insertions(+), 2 deletions(-)
>  rename arch/x86/include/asm/{arch-apollolake => }/itss.h (100%)
>

Reviewed-by: Simon Glass <sjg at chromium.org>
diff mbox series

Patch

diff --git a/arch/x86/cpu/apollolake/itss.c b/arch/x86/cpu/apollolake/itss.c
index 95c9ebddc1..ff7a83d618 100644
--- a/arch/x86/cpu/apollolake/itss.c
+++ b/arch/x86/cpu/apollolake/itss.c
@@ -15,7 +15,7 @@ 
 #include <irq.h>
 #include <p2sb.h>
 #include <spl.h>
-#include <asm/arch/itss.h>
+#include <asm/itss.h>
 
 struct apl_itss_platdata {
 #if CONFIG_IS_ENABLED(OF_PLATDATA)
diff --git a/arch/x86/include/asm/arch-apollolake/itss.h b/arch/x86/include/asm/itss.h
similarity index 100%
rename from arch/x86/include/asm/arch-apollolake/itss.h
rename to arch/x86/include/asm/itss.h
diff --git a/drivers/pinctrl/intel/pinctrl.c b/drivers/pinctrl/intel/pinctrl.c
index 4875a3b0b5..5bf5d8b0e2 100644
--- a/drivers/pinctrl/intel/pinctrl.c
+++ b/drivers/pinctrl/intel/pinctrl.c
@@ -25,7 +25,7 @@ 
 #include <asm/intel_pinctrl.h>
 #include <asm/intel_pinctrl_defs.h>
 #include <asm/arch/gpio.h>
-#include <asm/arch/itss.h>
+#include <asm/itss.h>
 #include <dm/device-internal.h>
 #include <dt-bindings/gpio/gpio.h>