OpenCloudOS-Kernel/include/linux/soc/ti
Arnd Bergmann 615dce5bf7 ARM: omap1: fix build with no SoC selected
In a multiplatform randconfig kernel, one can have
CONFIG_ARCH_OMAP1 enabled, but none of the specific SoCs.
This leads to some build issues as the code is not
meant to deal with this configuration at the moment:

arch/arm/mach-omap1/io.c:86:20: error: unused function 'omap1_map_common_io' [-Werror,-Wunused-function]
arch/arm/mach-omap1/pm.h:113:2: error: "Power management for this processor not implemented yet" [-Werror,-W#warnings]

Use the same trick as on OMAP2 and guard the actual compilation
of platform code with another Makefile ifdef check based
on an option that depends on having at least one SoC enabled.

The io.c file still needs to get compiled to allow building
device drivers with a dependency on CONFIG_ARCH_OMAP1.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-22 11:08:55 +02:00
..
k3-ringacc.h soc: ti: k3-ringacc: add AM64 DMA rings support. 2020-12-11 21:20:09 +05:30
knav_dma.h
knav_qmss.h include/: replace HTTP links with HTTPS ones 2020-08-12 10:57:59 -07:00
omap1-io.h ARM: omap1: fix build with no SoC selected 2022-04-22 11:08:55 +02:00
omap1-mux.h ARM: omap1: move some headers to include/linux/soc 2022-04-21 15:01:02 +02:00
omap1-soc.h ARM: omap1: move some headers to include/linux/soc 2022-04-21 15:01:02 +02:00
omap1-usb.h ARM: omap1: move mach/usb.h to include/linux/soc 2022-04-21 15:00:59 +02:00
ti-msgmgr.h mailbox: ti-msgmgr: Operate mailbox in polled mode during system suspend 2022-03-12 19:33:30 -06:00
ti_sci_inta_msi.h soc: ti: ti_sci_inta_msi: Remove ti_sci_inta_msi_domain_free_irqs() 2021-12-16 22:22:19 +01:00
ti_sci_protocol.h firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined 2022-02-02 13:12:37 -06:00