hwspinlock: enable OMAP build for AM33xx, AM43xx & DRA7xx
authorSuman Anna <s-anna@ti.com>
Wed, 2 Jul 2014 23:01:00 +0000 (18:01 -0500)
committerOhad Ben-Cohen <ohad@wizery.com>
Tue, 29 Jul 2014 08:46:28 +0000 (11:46 +0300)
HwSpinlocks are supported on TI's AM33xx, AM43xx and DRA7xx SoC
device families as well. The IPs are identical to that of
OMAP4/OMAP5, except for the number of locks.

Add a depends on to the above family of SoCs to enable the
build support for OMAP hwspinlock driver for any of the above
SoC configs.

Signed-off-by: Suman Anna <s-anna@ti.com>
[small commit log changes]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/hwspinlock/Kconfig

index 70637d2..3612cb5 100644 (file)
@@ -10,7 +10,7 @@ menu "Hardware Spinlock drivers"
 
 config HWSPINLOCK_OMAP
        tristate "OMAP Hardware Spinlock device"
-       depends on ARCH_OMAP4 || SOC_OMAP5
+       depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX
        select HWSPINLOCK
        help
          Say y here to support the OMAP Hardware Spinlock device (firstly