diff options
| author | Anup Patel <[email protected]> | 2023-07-21 18:11:52 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-07-31 14:09:21 +0530 |
| commit | 4a344a9b4cc89f64ab5326f428696e15bc2fcdba (patch) | |
| tree | 6025d1514967f91cd2df114992f84b261ccc7877 /lib/utils/reset/objects.mk | |
| parent | f21d8f7d59114fdf73a56603ff082ce23797d9e5 (diff) | |
lib: utils/reset: Add syscon based reboot and poweroff
Let us have common FDT based reset driver for syscon reboot and
poweroff. The device tree bindings for syscon reboot and poweroff
are already available in the Linux kernel sources.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Xiang W <[email protected]>
Diffstat (limited to 'lib/utils/reset/objects.mk')
| -rw-r--r-- | lib/utils/reset/objects.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/utils/reset/objects.mk b/lib/utils/reset/objects.mk index c9f851cd..17287a5e 100644 --- a/lib/utils/reset/objects.mk +++ b/lib/utils/reset/objects.mk @@ -26,6 +26,10 @@ libsbiutils-objs-$(CONFIG_FDT_RESET_SIFIVE_TEST) += reset/fdt_reset_sifive_test. carray-fdt_reset_drivers-$(CONFIG_FDT_RESET_SUNXI_WDT) += fdt_reset_sunxi_wdt libsbiutils-objs-$(CONFIG_FDT_RESET_SUNXI_WDT) += reset/fdt_reset_sunxi_wdt.o +carray-fdt_reset_drivers-$(CONFIG_FDT_RESET_SYSCON) += fdt_syscon_poweroff +carray-fdt_reset_drivers-$(CONFIG_FDT_RESET_SYSCON) += fdt_syscon_reboot +libsbiutils-objs-$(CONFIG_FDT_RESET_SYSCON) += reset/fdt_reset_syscon.o + carray-fdt_reset_drivers-$(CONFIG_FDT_RESET_THEAD) += fdt_reset_thead libsbiutils-objs-$(CONFIG_FDT_RESET_THEAD) += reset/fdt_reset_thead.o libsbiutils-objs-$(CONFIG_FDT_RESET_THEAD) += reset/fdt_reset_thead_asm.o |
