summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock/Makefile
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2018-11-27 15:49:50 +0300
committerTom Rini <trini@konsulko.com>2018-12-07 07:26:32 +0300
commit7f84fc670b17fca3d8d1b7c9472a19bb8085c890 (patch)
tree5af913847507ee1d58408c5f053bcdb2731b0133 /drivers/hwspinlock/Makefile
parent3b074fb22b8f09178200b969395fa9f3d97a67e6 (diff)
downloadu-boot-7f84fc670b17fca3d8d1b7c9472a19bb8085c890.tar.xz
dm: Add Hardware Spinlock class
This is uclass for Hardware Spinlocks. It implements two mandatory operations: lock and unlock and one optional relax operation. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'drivers/hwspinlock/Makefile')
-rw-r--r--drivers/hwspinlock/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hwspinlock/Makefile b/drivers/hwspinlock/Makefile
new file mode 100644
index 0000000000..2704d6814f
--- /dev/null
+++ b/drivers/hwspinlock/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
+#
+# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
+
+obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock-uclass.o
+obj-$(CONFIG_HWSPINLOCK_SANDBOX) += sandbox_hwspinlock.o