diff options
author | Subramaniam C.A <subramaniam.ca@ti.com> | 2011-10-26 13:18:00 -0500 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-03-13 11:20:11 +0800 |
commit | 3329245e6597925ed3ef51a719584e7f1b081bd4 (patch) | |
tree | d727f80740b327397b66cf0d007ef1ab275f58de | |
parent | d046a396c30a9211f586b916c60432fdd63a79c5 (diff) |
hwspinlock: added support for omap5
Need to enable hwspinlock for omap5. Hence enabled the
dependency for hwspinlock on ARCH_OMAP5.
Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 1 | ||||
-rw-r--r-- | drivers/hwspinlock/Kconfig | 11 |
2 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 5af1a51d072..4f027c800e3 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -301,6 +301,7 @@ obj-y += $(smc91x-m) $(smc91x-y) smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o obj-y += $(smsc911x-m) $(smsc911x-y) obj-$(CONFIG_ARCH_OMAP4) += hwspinlock.o +obj-$(CONFIG_ARCH_OMAP5) += hwspinlock.o obj-y += common-board-devices.o twl-common.o diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig index c7c3128393d..4eb570f4b48 100644 --- a/drivers/hwspinlock/Kconfig +++ b/drivers/hwspinlock/Kconfig @@ -4,14 +4,19 @@ # HWSPINLOCK always gets selected by whoever wants it. config HWSPINLOCK - tristate + tristate "Generic Hardware Spinlock framework" + depends on (ARCH_OMAP4 || ARCH_OMAP5) + help + Say y here to support the generic hardware spinlock framework. + You only need to enable this if you have hardware spinlock module + on your system (usually only relevant if your system has remote slave + coprocessors). menu "Hardware Spinlock drivers" config HWSPINLOCK_OMAP tristate "OMAP Hardware Spinlock device" - depends on ARCH_OMAP4 - select HWSPINLOCK + depends on HWSPINLOCK && (ARCH_OMAP4 || ARCH_OMAP5) help Say y here to support the OMAP Hardware Spinlock device (firstly introduced in OMAP4). |