diff options
author | Nandor Han <nandor.han@vaisala.com> | 2021-06-10 16:56:43 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-23 10:16:39 -0400 |
commit | 2541ce2c1af87f74a9feb35a1cbfc20ff8d04e4b (patch) | |
tree | 916abd832f987163a13630c9442fc3857f9aeb8f /drivers/Makefile | |
parent | f534d93cbf34f1d1762b04eb5680e84bef5e1fe1 (diff) | |
download | u-boot-2541ce2c1af87f74a9feb35a1cbfc20ff8d04e4b.zip u-boot-2541ce2c1af87f74a9feb35a1cbfc20ff8d04e4b.tar.gz u-boot-2541ce2c1af87f74a9feb35a1cbfc20ff8d04e4b.tar.bz2 |
reboot-mode: add support for reboot mode control
A new driver uclass is created to handle the reboot mode control.
The new uclass driver is updating an environment variable with the
configured reboot mode. The mode is extracted from a map provided
at initialization time. The map contains a list of modes
and associated ids.
Signed-off-by: Nandor Han <nandor.han@vaisala.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
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 4081289..82d3c98 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -95,6 +95,7 @@ obj-y += dfu/ obj-$(CONFIG_PCH) += pch/ obj-y += phy/allwinner/ obj-y += phy/marvell/ +obj-$(CONFIG_DM_REBOOT_MODE) += reboot-mode/ obj-y += phy/rockchip/ obj-y += phy/socionext/ obj-y += rtc/ |