@@ -9,7 +9,7 @@ menuconfig HWSPINLOCK
9
9
config HWSPINLOCK_OMAP
10
10
tristate "OMAP Hardware Spinlock device"
11
11
depends on HWSPINLOCK
12
- depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3
12
+ depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST
13
13
help
14
14
Say y here to support the OMAP Hardware Spinlock device (firstly
15
15
introduced in OMAP4).
@@ -19,7 +19,7 @@ config HWSPINLOCK_OMAP
19
19
config HWSPINLOCK_QCOM
20
20
tristate "Qualcomm Hardware Spinlock device"
21
21
depends on HWSPINLOCK
22
- depends on ARCH_QCOM
22
+ depends on ARCH_QCOM || COMPILE_TEST
23
23
select MFD_SYSCON
24
24
help
25
25
Say y here to support the Qualcomm Hardware Mutex functionality, which
@@ -31,7 +31,7 @@ config HWSPINLOCK_QCOM
31
31
config HWSPINLOCK_SIRF
32
32
tristate "SIRF Hardware Spinlock device"
33
33
depends on HWSPINLOCK
34
- depends on ARCH_SIRF
34
+ depends on ARCH_SIRF || COMPILE_TEST
35
35
help
36
36
Say y here to support the SIRF Hardware Spinlock device, which
37
37
provides a synchronisation mechanism for the various processors
@@ -42,7 +42,7 @@ config HWSPINLOCK_SIRF
42
42
43
43
config HWSPINLOCK_SPRD
44
44
tristate "SPRD Hardware Spinlock device"
45
- depends on ARCH_SPRD
45
+ depends on ARCH_SPRD || COMPILE_TEST
46
46
depends on HWSPINLOCK
47
47
help
48
48
Say y here to support the SPRD Hardware Spinlock device.
@@ -51,7 +51,7 @@ config HWSPINLOCK_SPRD
51
51
52
52
config HWSPINLOCK_STM32
53
53
tristate "STM32 Hardware Spinlock device"
54
- depends on MACH_STM32MP157
54
+ depends on MACH_STM32MP157 || COMPILE_TEST
55
55
depends on HWSPINLOCK
56
56
help
57
57
Say y here to support the STM32 Hardware Spinlock device.
@@ -61,7 +61,7 @@ config HWSPINLOCK_STM32
61
61
config HSEM_U8500
62
62
tristate "STE Hardware Semaphore functionality"
63
63
depends on HWSPINLOCK
64
- depends on ARCH_U8500
64
+ depends on ARCH_U8500 || COMPILE_TEST
65
65
help
66
66
Say y here to support the STE Hardware Semaphore functionality, which
67
67
provides a synchronisation mechanism for the various processor on the
0 commit comments