Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327098
b: refs/heads/master
c: 0146422
h: refs/heads/master
v: v3
  • Loading branch information
Rob Herring committed Sep 14, 2012
1 parent a681daa commit 0135d1b
Show file tree
Hide file tree
Showing 26 changed files with 24 additions and 86 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce91574c202b8581ad15bfb1427af824f462c3d2
refs/heads/master: 01464226ac6089bd6a33f9899cc792c2355ebf39
21 changes: 21 additions & 0 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,13 @@ config ARM_PATCH_PHYS_VIRT
this feature (eg, building a kernel for a single machine) and
you need to shrink the kernel to the minimal size.

config NEED_MACH_GPIO_H
bool
help
Select this when mach/gpio.h is required to provide special
definitions for this platform. The need for mach/gpio.h should
be avoided when possible.

config NEED_MACH_IO_H
bool
help
Expand Down Expand Up @@ -345,6 +352,7 @@ config ARCH_AT91
select HAVE_CLK
select CLKDEV_LOOKUP
select IRQ_DOMAIN
select NEED_MACH_GPIO_H
select NEED_MACH_IO_H if PCCARD
help
This enables support for systems based on Atmel
Expand Down Expand Up @@ -523,6 +531,7 @@ config ARCH_IOP32X
bool "IOP32x-based"
depends on MMU
select CPU_XSCALE
select NEED_MACH_GPIO_H
select NEED_MACH_IO_H
select NEED_RET_TO_USER
select PLAT_IOP
Expand All @@ -536,6 +545,7 @@ config ARCH_IOP33X
bool "IOP33x-based"
depends on MMU
select CPU_XSCALE
select NEED_MACH_GPIO_H
select NEED_MACH_IO_H
select NEED_RET_TO_USER
select PLAT_IOP
Expand Down Expand Up @@ -645,6 +655,7 @@ config ARCH_MMP
select PLAT_PXA
select SPARSE_IRQ
select GENERIC_ALLOCATOR
select NEED_MACH_GPIO_H
help
Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.

Expand Down Expand Up @@ -733,6 +744,7 @@ config ARCH_PXA
select MULTI_IRQ_HANDLER
select ARM_CPU_SUSPEND if PM
select HAVE_IDE
select NEED_MACH_GPIO_H
help
Support for Intel/Marvell's PXA2xx/PXA3xx processor line.

Expand Down Expand Up @@ -795,6 +807,7 @@ config ARCH_SA1100
select CLKDEV_LOOKUP
select ARCH_REQUIRE_GPIOLIB
select HAVE_IDE
select NEED_MACH_GPIO_H
select NEED_MACH_MEMORY_H
select SPARSE_IRQ
help
Expand All @@ -810,6 +823,7 @@ config ARCH_S3C24XX
select HAVE_S3C2410_I2C if I2C
select HAVE_S3C_RTC if RTC_CLASS
select HAVE_S3C2410_WATCHDOG if WATCHDOG
select NEED_MACH_GPIO_H
select NEED_MACH_IO_H
help
Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
Expand Down Expand Up @@ -837,6 +851,7 @@ config ARCH_S3C64XX
select SAMSUNG_GPIOLIB_4BIT
select HAVE_S3C2410_I2C if I2C
select HAVE_S3C2410_WATCHDOG if WATCHDOG
select NEED_MACH_GPIO_H
help
Samsung S3C64XX series based systems

Expand All @@ -851,6 +866,7 @@ config ARCH_S5P64X0
select GENERIC_CLOCKEVENTS
select HAVE_S3C2410_I2C if I2C
select HAVE_S3C_RTC if RTC_CLASS
select NEED_MACH_GPIO_H
help
Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
SMDK6450.
Expand All @@ -865,6 +881,7 @@ config ARCH_S5PC100
select HAVE_S3C2410_I2C if I2C
select HAVE_S3C_RTC if RTC_CLASS
select HAVE_S3C2410_WATCHDOG if WATCHDOG
select NEED_MACH_GPIO_H
help
Samsung S5PC100 series based systems

Expand All @@ -882,6 +899,7 @@ config ARCH_S5PV210
select HAVE_S3C2410_I2C if I2C
select HAVE_S3C_RTC if RTC_CLASS
select HAVE_S3C2410_WATCHDOG if WATCHDOG
select NEED_MACH_GPIO_H
select NEED_MACH_MEMORY_H
help
Samsung S5PV210/S5PC110 series based systems
Expand All @@ -899,6 +917,7 @@ config ARCH_EXYNOS
select HAVE_S3C_RTC if RTC_CLASS
select HAVE_S3C2410_I2C if I2C
select HAVE_S3C2410_WATCHDOG if WATCHDOG
select NEED_MACH_GPIO_H
select NEED_MACH_MEMORY_H
help
Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5)
Expand Down Expand Up @@ -971,6 +990,7 @@ config ARCH_DAVINCI
select GENERIC_ALLOCATOR
select GENERIC_IRQ_CHIP
select ARCH_HAS_HOLES_MEMORYMODEL
select NEED_MACH_GPIO_H
help
Support for TI's DaVinci platform.

Expand All @@ -983,6 +1003,7 @@ config ARCH_OMAP
select CLKSRC_MMIO
select GENERIC_CLOCKEVENTS
select ARCH_HAS_HOLES_MEMORYMODEL
select NEED_MACH_GPIO_H
help
Support for TI's OMAP platform (OMAP1/2/3/4).

Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/include/asm/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#endif

/* not all ARM platforms necessarily support this API ... */
#ifdef CONFIG_NEED_MACH_GPIO_H
#include <mach/gpio.h>
#endif

#ifndef __ARM_GPIOLIB_COMPLEX
/* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-dove/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-ep93xx/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-highbank/include/mach/gpio.h

This file was deleted.

2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-ixp4xx/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-kirkwood/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-msm/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-mxs/include/mach/gpio.h

This file was deleted.

4 changes: 0 additions & 4 deletions trunk/arch/arm/mach-nomadik/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-orion5x/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-picoxcell/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-realview/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-shmobile/include/mach/gpio.h

This file was deleted.

19 changes: 0 additions & 19 deletions trunk/arch/arm/mach-spear13xx/include/mach/gpio.h

This file was deleted.

19 changes: 0 additions & 19 deletions trunk/arch/arm/mach-spear3xx/include/mach/gpio.h

This file was deleted.

19 changes: 0 additions & 19 deletions trunk/arch/arm/mach-spear6xx/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-tegra/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-u300/include/mach/gpio.h

This file was deleted.

5 changes: 0 additions & 5 deletions trunk/arch/arm/mach-ux500/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-versatile/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-vexpress/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/mach-vt8500/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/plat-mxc/include/mach/gpio.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/arm/plat-spear/include/plat/gpio.h

This file was deleted.

0 comments on commit 0135d1b

Please sign in to comment.