diff options
| -rw-r--r-- | arch/arm/mach-ep93xx/adssphere.c | 11 | ||||
| -rw-r--r-- | arch/arm/mach-ep93xx/core.c | 23 | ||||
| -rw-r--r-- | arch/arm/mach-ep93xx/edb93xx.c | 10 | ||||
| -rw-r--r-- | arch/arm/mach-ep93xx/gesbc9312.c | 11 | ||||
| -rw-r--r-- | arch/arm/mach-ep93xx/include/mach/hardware.h | 7 | ||||
| -rw-r--r-- | arch/arm/mach-ep93xx/include/mach/ts72xx.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-ep93xx/micro9.c | 11 | ||||
| -rw-r--r-- | arch/arm/mach-ep93xx/ts72xx.c | 15 | ||||
| -rw-r--r-- | drivers/mtd/nand/ts7250.c | 5 |
9 files changed, 31 insertions, 63 deletions
diff --git a/arch/arm/mach-ep93xx/adssphere.c b/arch/arm/mach-ep93xx/adssphere.c index 3fbd9b0fbe24..caf6d5154aec 100644 --- a/arch/arm/mach-ep93xx/adssphere.c +++ b/arch/arm/mach-ep93xx/adssphere.c | |||
| @@ -12,18 +12,15 @@ | |||
| 12 | 12 | ||
| 13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
| 14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
| 15 | #include <linux/mm.h> | ||
| 16 | #include <linux/sched.h> | ||
| 17 | #include <linux/interrupt.h> | ||
| 18 | #include <linux/ioport.h> | ||
| 19 | #include <linux/mtd/physmap.h> | ||
| 20 | #include <linux/platform_device.h> | 15 | #include <linux/platform_device.h> |
| 21 | #include <linux/io.h> | 16 | #include <linux/mtd/physmap.h> |
| 22 | #include <linux/i2c.h> | 17 | |
| 23 | #include <mach/hardware.h> | 18 | #include <mach/hardware.h> |
| 19 | |||
| 24 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
| 25 | #include <asm/mach/arch.h> | 21 | #include <asm/mach/arch.h> |
| 26 | 22 | ||
| 23 | |||
| 27 | static struct physmap_flash_data adssphere_flash_data = { | 24 | static struct physmap_flash_data adssphere_flash_data = { |
| 28 | .width = 4, | 25 | .width = 4, |
| 29 | }; | 26 | }; |
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index 9399d3af9906..ce10f5b5dfbb 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c | |||
| @@ -16,40 +16,23 @@ | |||
| 16 | 16 | ||
| 17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
| 18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
| 19 | #include <linux/spinlock.h> | 19 | #include <linux/platform_device.h> |
| 20 | #include <linux/sched.h> | ||
| 21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
| 22 | #include <linux/serial.h> | ||
| 23 | #include <linux/tty.h> | ||
| 24 | #include <linux/bitops.h> | ||
| 25 | #include <linux/serial_8250.h> | ||
| 26 | #include <linux/serial_core.h> | ||
| 27 | #include <linux/device.h> | ||
| 28 | #include <linux/mm.h> | ||
| 29 | #include <linux/dma-mapping.h> | 21 | #include <linux/dma-mapping.h> |
| 30 | #include <linux/time.h> | ||
| 31 | #include <linux/timex.h> | 22 | #include <linux/timex.h> |
| 32 | #include <linux/delay.h> | 23 | #include <linux/io.h> |
| 24 | #include <linux/gpio.h> | ||
| 33 | #include <linux/termios.h> | 25 | #include <linux/termios.h> |
| 34 | #include <linux/amba/bus.h> | 26 | #include <linux/amba/bus.h> |
| 35 | #include <linux/amba/serial.h> | 27 | #include <linux/amba/serial.h> |
| 36 | #include <linux/io.h> | ||
| 37 | #include <linux/i2c.h> | 28 | #include <linux/i2c.h> |
| 38 | #include <linux/i2c-gpio.h> | 29 | #include <linux/i2c-gpio.h> |
| 39 | 30 | ||
| 40 | #include <asm/types.h> | ||
| 41 | #include <asm/setup.h> | ||
| 42 | #include <asm/memory.h> | ||
| 43 | #include <mach/hardware.h> | 31 | #include <mach/hardware.h> |
| 44 | #include <asm/irq.h> | ||
| 45 | #include <asm/system.h> | ||
| 46 | #include <asm/tlbflush.h> | ||
| 47 | #include <asm/pgtable.h> | ||
| 48 | 32 | ||
| 49 | #include <asm/mach/map.h> | 33 | #include <asm/mach/map.h> |
| 50 | #include <asm/mach/time.h> | 34 | #include <asm/mach/time.h> |
| 51 | #include <asm/mach/irq.h> | 35 | #include <asm/mach/irq.h> |
| 52 | #include <mach/gpio.h> | ||
| 53 | 36 | ||
| 54 | #include <asm/hardware/vic.h> | 37 | #include <asm/hardware/vic.h> |
| 55 | 38 | ||
diff --git a/arch/arm/mach-ep93xx/edb93xx.c b/arch/arm/mach-ep93xx/edb93xx.c index e9e45b92457e..73145ae5d3fa 100644 --- a/arch/arm/mach-ep93xx/edb93xx.c +++ b/arch/arm/mach-ep93xx/edb93xx.c | |||
| @@ -26,18 +26,16 @@ | |||
| 26 | 26 | ||
| 27 | #include <linux/kernel.h> | 27 | #include <linux/kernel.h> |
| 28 | #include <linux/init.h> | 28 | #include <linux/init.h> |
| 29 | #include <linux/mm.h> | ||
| 30 | #include <linux/sched.h> | ||
| 31 | #include <linux/interrupt.h> | ||
| 32 | #include <linux/ioport.h> | ||
| 33 | #include <linux/mtd/physmap.h> | ||
| 34 | #include <linux/platform_device.h> | 29 | #include <linux/platform_device.h> |
| 35 | #include <linux/io.h> | ||
| 36 | #include <linux/i2c.h> | 30 | #include <linux/i2c.h> |
| 31 | #include <linux/mtd/physmap.h> | ||
| 32 | |||
| 37 | #include <mach/hardware.h> | 33 | #include <mach/hardware.h> |
| 34 | |||
| 38 | #include <asm/mach-types.h> | 35 | #include <asm/mach-types.h> |
| 39 | #include <asm/mach/arch.h> | 36 | #include <asm/mach/arch.h> |
| 40 | 37 | ||
| 38 | |||
| 41 | static struct physmap_flash_data edb93xx_flash_data; | 39 | static struct physmap_flash_data edb93xx_flash_data; |
| 42 | 40 | ||
| 43 | static struct resource edb93xx_flash_resource = { | 41 | static struct resource edb93xx_flash_resource = { |
diff --git a/arch/arm/mach-ep93xx/gesbc9312.c b/arch/arm/mach-ep93xx/gesbc9312.c index 3bad500b71b6..3da7ca816d19 100644 --- a/arch/arm/mach-ep93xx/gesbc9312.c +++ b/arch/arm/mach-ep93xx/gesbc9312.c | |||
| @@ -12,18 +12,15 @@ | |||
| 12 | 12 | ||
| 13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
| 14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
| 15 | #include <linux/mm.h> | ||
| 16 | #include <linux/sched.h> | ||
| 17 | #include <linux/interrupt.h> | ||
| 18 | #include <linux/ioport.h> | ||
| 19 | #include <linux/mtd/physmap.h> | ||
| 20 | #include <linux/platform_device.h> | 15 | #include <linux/platform_device.h> |
| 21 | #include <linux/io.h> | 16 | #include <linux/mtd/physmap.h> |
| 22 | #include <linux/i2c.h> | 17 | |
| 23 | #include <mach/hardware.h> | 18 | #include <mach/hardware.h> |
| 19 | |||
| 24 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
| 25 | #include <asm/mach/arch.h> | 21 | #include <asm/mach/arch.h> |
| 26 | 22 | ||
| 23 | |||
| 27 | static struct physmap_flash_data gesbc9312_flash_data = { | 24 | static struct physmap_flash_data gesbc9312_flash_data = { |
| 28 | .width = 4, | 25 | .width = 4, |
| 29 | }; | 26 | }; |
diff --git a/arch/arm/mach-ep93xx/include/mach/hardware.h b/arch/arm/mach-ep93xx/include/mach/hardware.h index 587c07bdec5b..349fa7cb72d5 100644 --- a/arch/arm/mach-ep93xx/include/mach/hardware.h +++ b/arch/arm/mach-ep93xx/include/mach/hardware.h | |||
| @@ -4,14 +4,11 @@ | |||
| 4 | #ifndef __ASM_ARCH_HARDWARE_H | 4 | #ifndef __ASM_ARCH_HARDWARE_H |
| 5 | #define __ASM_ARCH_HARDWARE_H | 5 | #define __ASM_ARCH_HARDWARE_H |
| 6 | 6 | ||
| 7 | #include "ep93xx-regs.h" | 7 | #include <mach/ep93xx-regs.h> |
| 8 | #include <mach/platform.h> | ||
| 8 | 9 | ||
| 9 | #define pcibios_assign_all_busses() 0 | 10 | #define pcibios_assign_all_busses() 0 |
| 10 | 11 | ||
| 11 | #include "platform.h" | ||
| 12 | |||
| 13 | #include "ts72xx.h" | ||
| 14 | |||
| 15 | /* | 12 | /* |
| 16 | * The EP93xx has two external crystal oscillators. To generate the | 13 | * The EP93xx has two external crystal oscillators. To generate the |
| 17 | * required high-frequency clocks, the processor uses two phase-locked- | 14 | * required high-frequency clocks, the processor uses two phase-locked- |
diff --git a/arch/arm/mach-ep93xx/include/mach/ts72xx.h b/arch/arm/mach-ep93xx/include/mach/ts72xx.h index 34ddec081c40..2737666e800e 100644 --- a/arch/arm/mach-ep93xx/include/mach/ts72xx.h +++ b/arch/arm/mach-ep93xx/include/mach/ts72xx.h | |||
| @@ -70,7 +70,6 @@ | |||
| 70 | 70 | ||
| 71 | 71 | ||
| 72 | #ifndef __ASSEMBLY__ | 72 | #ifndef __ASSEMBLY__ |
| 73 | #include <linux/io.h> | ||
| 74 | 73 | ||
| 75 | static inline int board_is_ts7200(void) | 74 | static inline int board_is_ts7200(void) |
| 76 | { | 75 | { |
diff --git a/arch/arm/mach-ep93xx/micro9.c b/arch/arm/mach-ep93xx/micro9.c index 15d6815d78c4..0a313e82fb74 100644 --- a/arch/arm/mach-ep93xx/micro9.c +++ b/arch/arm/mach-ep93xx/micro9.c | |||
| @@ -9,21 +9,16 @@ | |||
| 9 | * published by the Free Software Foundation. | 9 | * published by the Free Software Foundation. |
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/init.h> | ||
| 13 | #include <linux/interrupt.h> | ||
| 14 | #include <linux/ioport.h> | ||
| 15 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
| 16 | #include <linux/mm.h> | 13 | #include <linux/init.h> |
| 17 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
| 18 | #include <linux/sched.h> | ||
| 19 | #include <linux/io.h> | ||
| 20 | #include <linux/i2c.h> | ||
| 21 | #include <linux/mtd/physmap.h> | 15 | #include <linux/mtd/physmap.h> |
| 22 | 16 | ||
| 23 | #include <mach/hardware.h> | 17 | #include <mach/hardware.h> |
| 24 | 18 | ||
| 25 | #include <asm/mach/arch.h> | ||
| 26 | #include <asm/mach-types.h> | 19 | #include <asm/mach-types.h> |
| 20 | #include <asm/mach/arch.h> | ||
| 21 | |||
| 27 | 22 | ||
| 28 | static struct ep93xx_eth_data micro9_eth_data = { | 23 | static struct ep93xx_eth_data micro9_eth_data = { |
| 29 | .phy_id = 0x1f, | 24 | .phy_id = 0x1f, |
diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c index 7ee024d34829..5255dddd3067 100644 --- a/arch/arm/mach-ep93xx/ts72xx.c +++ b/arch/arm/mach-ep93xx/ts72xx.c | |||
| @@ -12,19 +12,18 @@ | |||
| 12 | 12 | ||
| 13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
| 14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
| 15 | #include <linux/mm.h> | ||
| 16 | #include <linux/sched.h> | ||
| 17 | #include <linux/interrupt.h> | ||
| 18 | #include <linux/ioport.h> | ||
| 19 | #include <linux/mtd/physmap.h> | ||
| 20 | #include <linux/platform_device.h> | 15 | #include <linux/platform_device.h> |
| 21 | #include <linux/m48t86.h> | ||
| 22 | #include <linux/io.h> | 16 | #include <linux/io.h> |
| 23 | #include <linux/i2c.h> | 17 | #include <linux/m48t86.h> |
| 18 | #include <linux/mtd/physmap.h> | ||
| 19 | |||
| 24 | #include <mach/hardware.h> | 20 | #include <mach/hardware.h> |
| 21 | #include <mach/ts72xx.h> | ||
| 22 | |||
| 25 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
| 26 | #include <asm/mach/arch.h> | ||
| 27 | #include <asm/mach/map.h> | 24 | #include <asm/mach/map.h> |
| 25 | #include <asm/mach/arch.h> | ||
| 26 | |||
| 28 | 27 | ||
| 29 | static struct map_desc ts72xx_io_desc[] __initdata = { | 28 | static struct map_desc ts72xx_io_desc[] __initdata = { |
| 30 | { | 29 | { |
diff --git a/drivers/mtd/nand/ts7250.c b/drivers/mtd/nand/ts7250.c index 2c410a011317..0f5562aeedc1 100644 --- a/drivers/mtd/nand/ts7250.c +++ b/drivers/mtd/nand/ts7250.c | |||
| @@ -24,8 +24,11 @@ | |||
| 24 | #include <linux/mtd/mtd.h> | 24 | #include <linux/mtd/mtd.h> |
| 25 | #include <linux/mtd/nand.h> | 25 | #include <linux/mtd/nand.h> |
| 26 | #include <linux/mtd/partitions.h> | 26 | #include <linux/mtd/partitions.h> |
| 27 | #include <asm/io.h> | 27 | #include <linux/io.h> |
| 28 | |||
| 28 | #include <mach/hardware.h> | 29 | #include <mach/hardware.h> |
| 30 | #include <mach/ts72xx.h> | ||
| 31 | |||
| 29 | #include <asm/sizes.h> | 32 | #include <asm/sizes.h> |
| 30 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
| 31 | 34 | ||
