[PATCH 05/26] x86: apl: Move priv/plat structs to headers

Simon Glass
2020-12-28T16:26:40Z

With the new of-platdata, these need to be available to dt_platdata.c
so must be in header files. Move them.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

arch/x86/cpu/apollolake/hostbridge.c | 20 +------------
arch/x86/cpu/apollolake/pmc.c | 8 +-----
arch/x86/include/asm/arch-apollolake/gpio.h | 18 ++++++++++++
.../include/asm/arch-apollolake/hostbridge.h | 28 +++++++++++++++++++
arch/x86/include/asm/arch-apollolake/pmc.h | 16 +++++++++++
drivers/pinctrl/intel/pinctrl_apl.c | 12 --------
6 files changed, 64 insertions(+), 38 deletions(-)
create mode 100644 arch/x86/include/asm/arch-apollolake/hostbridge.h
create mode 100644 arch/x86/include/asm/arch-apollolake/pmc.h

Applied to u-boot-dm/next, thanks!