summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2020-07-24 19:19:45 +0300
committerSimon Glass <sjg@chromium.org>2020-07-29 04:30:39 +0300
commit30d66db78725e8396a3bd255cc51592c6cd7879d (patch)
tree90d70ab789bfb6e85522a989ca9631174bf45a60 /drivers/Makefile
parent037a56d6b1e2a2ce45454b2629800ee5e7f6b46e (diff)
downloadu-boot-30d66db78725e8396a3bd255cc51592c6cd7879d.tar.xz
dm: button: add an uclass for button
Add a new uclass for button that implements two functions: - button_get_by_label - button_get_status Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index afd159e903..2178871bfb 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0+
+obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/
obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
obj-$(CONFIG_$(SPL_TPL_)DM) += core/