diff options
author | Philippe Reynes <philippe.reynes@softathome.com> | 2020-07-24 18:19:45 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-28 19:30:39 -0600 |
commit | 30d66db78725e8396a3bd255cc51592c6cd7879d (patch) | |
tree | 90d70ab789bfb6e85522a989ca9631174bf45a60 /drivers/Makefile | |
parent | 037a56d6b1e2a2ce45454b2629800ee5e7f6b46e (diff) | |
download | u-boot-30d66db78725e8396a3bd255cc51592c6cd7879d.tar.gz |
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/Makefile | 1 |
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/ |