ARM: omap1: move mach/*.h into mach directory

Most of the header files are no longer referenced from outside
arch/arm/mach-omap1, so move them all to that place directly
and change their users to use the new location.

The exceptions are:

- mach/compress.h is used by the core architecture code
- mach/serial.h is used by mach/compress.h

The mach/memory.h is empty and gets removed in the process,
avoiding the need for CONFIG_NEED_MACH_MEMORY_H.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2019-08-06 16:16:03 +02:00
parent df99e7bbbe
commit 7e0a9e622d
59 changed files with 127 additions and 188 deletions

View File

@ -492,7 +492,6 @@ config ARCH_OMAP1
select GPIOLIB select GPIOLIB
select HAVE_LEGACY_CLK select HAVE_LEGACY_CLK
select IRQ_DOMAIN select IRQ_DOMAIN
select NEED_MACH_MEMORY_H
select SPARSE_IRQ select SPARSE_IRQ
help help
Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx) Support for older TI OMAP1 (omap7xx, omap15xx or omap16xx)

View File

@ -13,14 +13,15 @@
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/platform_data/ams-delta-fiq.h> #include <linux/platform_data/ams-delta-fiq.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/irq.h> #include <asm/irq.h>
#include "hardware.h"
#include "ams-delta-fiq.h" #include "ams-delta-fiq.h"
#include "board-ams-delta.h" #include "board-ams-delta.h"
#include "iomap.h" #include "iomap.h"
#include "soc.h"
/* /*
* OMAP1510 GPIO related symbol copied from arch/arm/mach-omap1/gpio15xx.c. * OMAP1510 GPIO related symbol copied from arch/arm/mach-omap1/gpio15xx.c.

View File

@ -21,7 +21,9 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/fiq.h> #include <asm/fiq.h>
#include <linux/soc/ti/omap1-io.h>
#include "hardware.h"
#include "ams-delta-fiq.h" #include "ams-delta-fiq.h"
#include "board-ams-delta.h" #include "board-ams-delta.h"

View File

@ -16,7 +16,7 @@
#ifndef __AMS_DELTA_FIQ_H #ifndef __AMS_DELTA_FIQ_H
#define __AMS_DELTA_FIQ_H #define __AMS_DELTA_FIQ_H
#include <mach/irqs.h> #include "irqs.h"
/* /*
* Interrupt number used for passing control from FIQ to IRQ. * Interrupt number used for passing control from FIQ to IRQ.

View File

@ -36,11 +36,9 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <linux/platform_data/keypad-omap.h> #include <linux/platform_data/keypad-omap.h>
#include <mach/mux.h>
#include <mach/hardware.h> #include "hardware.h"
#include "usb.h" #include "usb.h"
#include "ams-delta-fiq.h" #include "ams-delta-fiq.h"
#include "board-ams-delta.h" #include "board-ams-delta.h"
#include "iomap.h" #include "iomap.h"

View File

@ -23,13 +23,13 @@
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/tc.h> #include <linux/soc/ti/omap1-io.h>
#include <mach/mux.h>
#include "flash.h"
#include <linux/platform_data/keypad-omap.h> #include <linux/platform_data/keypad-omap.h>
#include "tc.h"
#include <mach/hardware.h> #include "mux.h"
#include "flash.h"
#include "hardware.h"
#include "iomap.h" #include "iomap.h"
#include "common.h" #include "common.h"
#include "fpga.h" #include "fpga.h"

View File

@ -14,15 +14,13 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <mach/hardware.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/mux.h> #include "hardware.h"
#include "mux.h"
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
/* assume no Mini-AB port */ /* assume no Mini-AB port */

View File

@ -28,22 +28,20 @@
#include <linux/mfd/tps65010.h> #include <linux/mfd/tps65010.h>
#include <linux/smc91x.h> #include <linux/smc91x.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/omap-dma.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>
#include <linux/platform_data/keypad-omap.h>
#include <linux/leds.h> #include <linux/leds.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/mux.h> #include "tc.h"
#include <linux/omap-dma.h> #include "mux.h"
#include <mach/tc.h>
#include <linux/platform_data/keypad-omap.h>
#include "flash.h" #include "flash.h"
#include "hardware.h"
#include <mach/hardware.h>
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
#include "board-h2.h" #include "board-h2.h"

View File

@ -29,6 +29,8 @@
#include <linux/smc91x.h> #include <linux/smc91x.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>
#include <linux/platform_data/keypad-omap.h>
#include <linux/omap-dma.h>
#include <linux/leds.h> #include <linux/leds.h>
#include <asm/setup.h> #include <asm/setup.h>
@ -37,16 +39,12 @@
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/mux.h> #include "tc.h"
#include <mach/tc.h> #include "mux.h"
#include <linux/platform_data/keypad-omap.h>
#include <linux/omap-dma.h>
#include "flash.h" #include "flash.h"
#include "hardware.h"
#include <mach/hardware.h> #include "irqs.h"
#include <mach/irqs.h>
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
#include "board-h3.h" #include "board-h3.h"

View File

@ -23,16 +23,16 @@
#include <linux/spi/ads7846.h> #include <linux/spi/ads7846.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/platform_data/keypad-omap.h> #include <linux/platform_data/keypad-omap.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <mach/omap7xx.h> #include "hardware.h"
#include "omap7xx.h"
#include "mmc.h" #include "mmc.h"
#include "irqs.h"
#include <mach/irqs.h>
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
/* LCD register definition */ /* LCD register definition */

View File

@ -23,19 +23,17 @@
#include <linux/input.h> #include <linux/input.h>
#include <linux/smc91x.h> #include <linux/smc91x.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/platform_data/keypad-omap.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/mux.h> #include "tc.h"
#include "mux.h"
#include "flash.h" #include "flash.h"
#include <mach/tc.h> #include "hardware.h"
#include <linux/platform_data/keypad-omap.h>
#include <mach/hardware.h>
#include "usb.h" #include "usb.h"
#include "iomap.h" #include "iomap.h"
#include "common.h" #include "common.h"
#include "mmc.h" #include "mmc.h"

View File

@ -28,11 +28,9 @@
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/mux.h> #include "mux.h"
#include "hardware.h"
#include <mach/hardware.h>
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
#include "clock.h" #include "clock.h"
#include "mmc.h" #include "mmc.h"

View File

@ -42,18 +42,17 @@
#include <linux/mfd/tps65010.h> #include <linux/mfd/tps65010.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>
#include <linux/platform_data/omap1_bl.h> #include <linux/platform_data/omap1_bl.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include "tc.h"
#include "flash.h" #include "flash.h"
#include <mach/mux.h> #include "mux.h"
#include <mach/tc.h> #include "hardware.h"
#include <mach/hardware.h>
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
/* Name of the GPIO chip used by the OMAP for GPIOs 0..15 */ /* Name of the GPIO chip used by the OMAP for GPIOs 0..15 */

View File

@ -25,21 +25,19 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/apm-emulation.h> #include <linux/apm-emulation.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/omap-dma.h>
#include <linux/platform_data/keypad-omap.h>
#include <linux/platform_data/omap1_bl.h> #include <linux/platform_data/omap1_bl.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include "tc.h"
#include "flash.h" #include "flash.h"
#include <mach/mux.h> #include "mux.h"
#include <mach/tc.h> #include "hardware.h"
#include <linux/omap-dma.h>
#include <linux/platform_data/keypad-omap.h>
#include <mach/hardware.h>
#include "usb.h" #include "usb.h"
#include "mmc.h" #include "mmc.h"
#include "common.h" #include "common.h"

View File

@ -24,22 +24,20 @@
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/spi/ads7846.h> #include <linux/spi/ads7846.h>
#include <linux/omap-dma.h>
#include <linux/platform_data/omap1_bl.h> #include <linux/platform_data/omap1_bl.h>
#include <linux/platform_data/leds-omap.h> #include <linux/platform_data/leds-omap.h>
#include <linux/platform_data/keypad-omap.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include "tc.h"
#include "flash.h" #include "flash.h"
#include <mach/mux.h> #include "mux.h"
#include <linux/omap-dma.h> #include "hardware.h"
#include <mach/tc.h>
#include <linux/platform_data/keypad-omap.h>
#include <mach/hardware.h>
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
#define PALMTT_USBDETECT_GPIO 0 #define PALMTT_USBDETECT_GPIO 0

View File

@ -28,20 +28,18 @@
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/spi/ads7846.h> #include <linux/spi/ads7846.h>
#include <linux/platform_data/omap1_bl.h> #include <linux/platform_data/omap1_bl.h>
#include <linux/platform_data/keypad-omap.h>
#include <linux/omap-dma.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include "tc.h"
#include "flash.h" #include "flash.h"
#include <mach/mux.h> #include "mux.h"
#include <linux/omap-dma.h> #include "hardware.h"
#include <mach/tc.h>
#include <linux/platform_data/keypad-omap.h>
#include <mach/hardware.h>
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
#define PALMZ71_USBDETECT_GPIO 0 #define PALMZ71_USBDETECT_GPIO 0

View File

@ -19,17 +19,16 @@
#include <linux/smc91x.h> #include <linux/smc91x.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/platform_data/keypad-omap.h> #include <linux/platform_data/keypad-omap.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/tc.h> #include "tc.h"
#include <mach/mux.h> #include "mux.h"
#include "flash.h" #include "flash.h"
#include "hardware.h"
#include <mach/hardware.h>
#include "iomap.h" #include "iomap.h"
#include "common.h" #include "common.h"
#include "fpga.h" #include "fpga.h"

View File

@ -12,9 +12,8 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <mach/hardware.h> #include "hardware.h"
#include "board-sx1.h" #include "board-sx1.h"
#include "mmc.h" #include "mmc.h"
#if IS_ENABLED(CONFIG_MMC_OMAP) #if IS_ENABLED(CONFIG_MMC_OMAP)

View File

@ -26,20 +26,18 @@
#include <linux/export.h> #include <linux/export.h>
#include <linux/omapfb.h> #include <linux/omapfb.h>
#include <linux/platform_data/keypad-omap.h> #include <linux/platform_data/keypad-omap.h>
#include <linux/omap-dma.h>
#include "tc.h"
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include "flash.h" #include "flash.h"
#include <mach/mux.h> #include "mux.h"
#include <linux/omap-dma.h>
#include <mach/tc.h>
#include "board-sx1.h" #include "board-sx1.h"
#include "hardware.h"
#include <mach/hardware.h>
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
/* Write to I2C device */ /* Write to I2C device */

View File

@ -16,11 +16,11 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/clkdev.h> #include <linux/clkdev.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/hardware.h> #include "hardware.h"
#include "soc.h" #include "soc.h"
#include "iomap.h" #include "iomap.h"
#include "clock.h" #include "clock.h"

View File

@ -16,14 +16,13 @@
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/cpufreq.h> #include <linux/cpufreq.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/mach-types.h> /* for machine_is_* */ #include <asm/mach-types.h> /* for machine_is_* */
#include "soc.h" #include "soc.h"
#include "hardware.h"
#include <mach/hardware.h>
#include "usb.h" /* for OTG_BASE */ #include "usb.h" /* for OTG_BASE */
#include "iomap.h" #include "iomap.h"
#include "clock.h" #include "clock.h"
#include "sram.h" #include "sram.h"

View File

@ -31,8 +31,7 @@
#include <asm/exception.h> #include <asm/exception.h>
#include <mach/irqs.h> #include "irqs.h"
#include "soc.h" #include "soc.h"
#include "i2c.h" #include "i2c.h"

View File

@ -14,15 +14,15 @@
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/platform_data/omap-wd-timer.h> #include <linux/platform_data/omap-wd-timer.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/tc.h> #include "tc.h"
#include <mach/mux.h> #include "mux.h"
#include <mach/omap7xx.h>
#include <mach/hardware.h>
#include "omap7xx.h"
#include "hardware.h"
#include "common.h" #include "common.h"
#include "clock.h" #include "clock.h"
#include "mmc.h" #include "mmc.h"

View File

@ -24,7 +24,7 @@
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/dmaengine.h> #include <linux/dmaengine.h>
#include <linux/omap-dma.h> #include <linux/omap-dma.h>
#include <mach/tc.h> #include "tc.h"
#include "soc.h" #include "soc.h"

View File

@ -21,7 +21,7 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/irqs.h> #include "irqs.h"
#if IS_ENABLED(CONFIG_FB_OMAP) #if IS_ENABLED(CONFIG_FB_OMAP)

View File

@ -6,11 +6,12 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>
#include <linux/mtd/map.h> #include <linux/mtd/map.h>
#include <linux/soc/ti/omap1-io.h>
#include "tc.h"
#include <mach/tc.h>
#include "flash.h" #include "flash.h"
#include <mach/hardware.h>
void omap1_set_vpp(struct platform_device *pdev, int enable) void omap1_set_vpp(struct platform_device *pdev, int enable)
{ {

View File

@ -24,8 +24,7 @@
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include <mach/hardware.h> #include "hardware.h"
#include "iomap.h" #include "iomap.h"
#include "common.h" #include "common.h"
#include "fpga.h" #include "fpga.h"

View File

@ -18,8 +18,9 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>
#include <linux/soc/ti/omap1-soc.h>
#include <mach/irqs.h> #include "irqs.h"
#define OMAP1_MPUIO_VBASE OMAP1_MPUIO_BASE #define OMAP1_MPUIO_VBASE OMAP1_MPUIO_BASE
#define OMAP1510_GPIO_BASE 0xFFFCE000 #define OMAP1510_GPIO_BASE 0xFFFCE000

View File

@ -18,9 +18,10 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>
#include <linux/soc/ti/omap1-io.h>
#include <mach/irqs.h> #include "hardware.h"
#include "irqs.h"
#include "soc.h" #include "soc.h"
#define OMAP1610_GPIO1_BASE 0xfffbe400 #define OMAP1610_GPIO1_BASE 0xfffbe400

View File

@ -19,8 +19,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/platform_data/gpio-omap.h> #include <linux/platform_data/gpio-omap.h>
#include <mach/irqs.h> #include "irqs.h"
#include "soc.h" #include "soc.h"
#define OMAP7XX_GPIO1_BASE 0xfffbc000 #define OMAP7XX_GPIO1_BASE 0xfffbc000

View File

@ -1,6 +1,4 @@
/* /*
* arch/arm/mach-omap1/include/mach/hardware.h
*
* Hardware definitions for TI OMAP processors and boards * Hardware definitions for TI OMAP processors and boards
* *
* NOTE: Please put device driver specific defines into a separate header * NOTE: Please put device driver specific defines into a separate header
@ -42,7 +40,7 @@
#include <asm/types.h> #include <asm/types.h>
#include <linux/soc/ti/omap1-soc.h> #include <linux/soc/ti/omap1-soc.h>
#include <mach/tc.h> #include "tc.h"
/* Almost all documentation for chip and board memory maps assumes /* Almost all documentation for chip and board memory maps assumes
* BM is clear. Most devel boards have a switch to control booting * BM is clear. Most devel boards have a switch to control booting

View File

@ -7,7 +7,8 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/platform_data/i2c-omap.h> #include <linux/platform_data/i2c-omap.h>
#include <mach/mux.h>
#include "mux.h"
#include "soc.h" #include "soc.h"
#define OMAP_I2C_SIZE 0x3f #define OMAP_I2C_SIZE 0x3f

View File

@ -12,12 +12,11 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/system_info.h> #include <asm/system_info.h>
#include "soc.h" #include "soc.h"
#include "hardware.h"
#include <mach/hardware.h>
#include "common.h" #include "common.h"
#define OMAP_DIE_ID_0 0xfffe1800 #define OMAP_DIE_ID_0 0xfffe1800

View File

@ -1,12 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* arch/arm/mach-omap1/include/mach/memory.h
*/
#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H
/* REVISIT: omap1 legacy drivers still rely on this */
#include <mach/hardware.h>
#endif

View File

@ -9,14 +9,13 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/omap-dma.h>
#include <asm/tlb.h> #include <asm/tlb.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <mach/mux.h> #include "tc.h"
#include <mach/tc.h> #include "mux.h"
#include <linux/omap-dma.h>
#include "iomap.h" #include "iomap.h"
#include "common.h" #include "common.h"
#include "clock.h" #include "clock.h"

View File

@ -47,9 +47,7 @@
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include "soc.h" #include "soc.h"
#include "hardware.h"
#include <mach/hardware.h>
#include "common.h" #include "common.h"
#define IRQ_BANK(irq) ((irq) >> 5) #define IRQ_BANK(irq) ((irq) >> 5)

View File

@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* /*
* arch/arm/plat-omap/include/mach/irqs.h
*
* Copyright (C) Greg Lonnon 2001 * Copyright (C) Greg Lonnon 2001
* Updated for OMAP-1610 by Tony Lindgren <tony@atomide.com> * Updated for OMAP-1610 by Tony Lindgren <tony@atomide.com>
* *

View File

@ -15,14 +15,13 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/omap-dma.h> #include <linux/omap-dma.h>
#include <mach/mux.h> #include <linux/soc/ti/omap1-io.h>
#include "soc.h"
#include <linux/platform_data/asoc-ti-mcbsp.h> #include <linux/platform_data/asoc-ti-mcbsp.h>
#include <mach/irqs.h> #include "mux.h"
#include "soc.h"
#include "irqs.h"
#include "iomap.h" #include "iomap.h"
#define DPS_RSTCT2_PER_EN (1 << 0) #define DPS_RSTCT2_PER_EN (1 << 0)

View File

@ -14,7 +14,8 @@
#ifndef __ARCH_OMAP_MTD_XIP_H__ #ifndef __ARCH_OMAP_MTD_XIP_H__
#define __ARCH_OMAP_MTD_XIP_H__ #define __ARCH_OMAP_MTD_XIP_H__
#include <mach/hardware.h> #include "hardware.h"
#include <linux/soc/ti/omap1-io.h>
#define OMAP_MPU_TIMER_BASE (0xfffec500) #define OMAP_MPU_TIMER_BASE (0xfffec500)
#define OMAP_MPU_TIMER_OFFSET 0x100 #define OMAP_MPU_TIMER_OFFSET 0x100

View File

@ -12,10 +12,10 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/soc/ti/omap1-io.h>
#include <mach/hardware.h> #include "hardware.h"
#include "mux.h"
#include <mach/mux.h>
#ifdef CONFIG_OMAP_MUX #ifdef CONFIG_OMAP_MUX

View File

@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* /*
* arch/arm/plat-omap/include/mach/mux.h
*
* Table of the Omap register configurations for the FUNC_MUX and * Table of the Omap register configurations for the FUNC_MUX and
* PULL_DWN combinations. * PULL_DWN combinations.
* *

View File

@ -20,9 +20,9 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/soc/ti/omap1-io.h>
#include <mach/hardware.h> #include "hardware.h"
#include "common.h" #include "common.h"
#define OCPI_BASE 0xfffec320 #define OCPI_BASE 0xfffec320

View File

@ -34,10 +34,11 @@
#include <linux/omap-dma.h> #include <linux/omap-dma.h>
#include <mach/hardware.h>
#include <linux/soc/ti/omap1-io.h> #include <linux/soc/ti/omap1-io.h>
#include <linux/soc/ti/omap1-soc.h> #include <linux/soc/ti/omap1-soc.h>
#include "tc.h"
/* /*
* MAX_LOGICAL_DMA_CH_COUNT: the maximum number of logical DMA * MAX_LOGICAL_DMA_CH_COUNT: the maximum number of logical DMA
* channels that an instance of the SDMA IP block can support. Used * channels that an instance of the SDMA IP block can support. Used

View File

@ -52,13 +52,14 @@
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include <mach/tc.h> #include <linux/soc/ti/omap1-io.h>
#include <mach/mux.h> #include "tc.h"
#include <linux/omap-dma.h> #include <linux/omap-dma.h>
#include <clocksource/timer-ti-dm.h> #include <clocksource/timer-ti-dm.h>
#include <mach/irqs.h> #include "hardware.h"
#include "mux.h"
#include "irqs.h"
#include "iomap.h" #include "iomap.h"
#include "clock.h" #include "clock.h"
#include "pm.h" #include "pm.h"

View File

@ -34,6 +34,8 @@
#ifndef __ARCH_ARM_MACH_OMAP1_PM_H #ifndef __ARCH_ARM_MACH_OMAP1_PM_H
#define __ARCH_ARM_MACH_OMAP1_PM_H #define __ARCH_ARM_MACH_OMAP1_PM_H
#include <linux/soc/ti/omap1-io.h>
/* /*
* ---------------------------------------------------------------------------- * ----------------------------------------------------------------------------
* Register and offset definitions to be used in PM assembler code * Register and offset definitions to be used in PM assembler code

View File

@ -6,8 +6,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/reboot.h> #include <linux/reboot.h>
#include <mach/hardware.h> #include "hardware.h"
#include "iomap.h" #include "iomap.h"
#include "common.h" #include "common.h"

View File

@ -19,8 +19,9 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/mux.h> #include <mach/serial.h>
#include "mux.h"
#include "pm.h" #include "pm.h"
#include "soc.h" #include "soc.h"

View File

@ -36,7 +36,7 @@
#include <asm/assembler.h> #include <asm/assembler.h>
#include <mach/hardware.h> #include "hardware.h"
#include "iomap.h" #include "iomap.h"
#include "pm.h" #include "pm.h"

View File

@ -1,6 +1,6 @@
/* /*
* We can move linux/soc/ti/omap1-soc.h here once the drivers are fixed * We can move linux/soc/ti/omap1-soc.h here once the drivers are fixed
*/ */
#include <mach/hardware.h> #include "hardware.h"
#include <mach/irqs.h> #include "irqs.h"
#include <asm/irq.h> #include <asm/irq.h>

View File

@ -6,11 +6,11 @@
*/ */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/assembler.h> #include <asm/assembler.h>
#include <mach/hardware.h> #include "hardware.h"
#include "iomap.h" #include "iomap.h"
.text .text

View File

@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
/* /*
* arch/arm/plat-omap/include/mach/tc.h
*
* OMAP Traffic Controller * OMAP Traffic Controller
* *
* Copyright (C) 2004 Nokia Corporation * Copyright (C) 2004 Nokia Corporation

View File

@ -47,10 +47,10 @@
#include <asm/irq.h> #include <asm/irq.h>
#include <mach/hardware.h>
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include "hardware.h"
#include "iomap.h" #include "iomap.h"
#include "common.h" #include "common.h"

View File

@ -26,6 +26,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/platform_data/dmtimer-omap.h> #include <linux/platform_data/dmtimer-omap.h>
#include <linux/soc/ti/omap1-io.h>
#include <clocksource/timer-ti-dm.h> #include <clocksource/timer-ti-dm.h>

View File

@ -51,7 +51,7 @@
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include <mach/hardware.h> #include "hardware.h"
#include "common.h" #include "common.h"
/* /*

View File

@ -12,13 +12,13 @@
#include <linux/dma-map-ops.h> #include <linux/dma-map-ops.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/soc/ti/omap1-io.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <mach/mux.h> #include "hardware.h"
#include "mux.h"
#include "usb.h" #include "usb.h"
#include "common.h" #include "common.h"
/* These routines should handle the standard chip-specific modes /* These routines should handle the standard chip-specific modes

View File

@ -1,21 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* OMAP cpu type detection
*
* Copyright (C) 2004, 2008 Nokia Corporation
*
* Copyright (C) 2009-11 Texas Instruments.
*
* Written by Tony Lindgren <tony.lindgren@nokia.com>
*
* Added OMAP4/5 specific defines - Santosh Shilimkar<santosh.shilimkar@ti.com>
*/
#ifndef __ASM_ARCH_OMAP_CPU_H
#define __ASM_ARCH_OMAP_CPU_H
#ifdef CONFIG_ARCH_OMAP1
#include <mach/soc.h>
#endif
#endif