summaryrefslogtreecommitdiff
path: root/lib/utils/reset/objects.mk
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2022-05-13 09:26:06 +0530
committerAnup Patel <[email protected]>2022-05-13 09:26:06 +0530
commit73cf51191403be2ebdf9f9a1d17812d1550316ff (patch)
tree84da2c707e8e51365149f37584489b124e777e75 /lib/utils/reset/objects.mk
parent7fb474b9dde5d56e0d4d6a0c1627337694cdc2f2 (diff)
lib: utils/reset: Generate FDT reset driver list at compile-time
Instead of having FDT reset driver list hard-coded in the C source, we generate it using carray.sh at compile-time. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib/utils/reset/objects.mk')
-rw-r--r--lib/utils/reset/objects.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/utils/reset/objects.mk b/lib/utils/reset/objects.mk
index 6c95db39..8cddcdfb 100644
--- a/lib/utils/reset/objects.mk
+++ b/lib/utils/reset/objects.mk
@@ -8,9 +8,21 @@
#
libsbiutils-objs-y += reset/fdt_reset.o
+libsbiutils-objs-y += reset/fdt_reset_drivers.o
+
+carray-fdt_reset_drivers-y += fdt_poweroff_gpio
+carray-fdt_reset_drivers-y += fdt_reset_gpio
libsbiutils-objs-y += reset/fdt_reset_gpio.o
+
+carray-fdt_reset_drivers-y += fdt_reset_htif
libsbiutils-objs-y += reset/fdt_reset_htif.o
+
+carray-fdt_reset_drivers-y += fdt_reset_sifive_test
libsbiutils-objs-y += reset/fdt_reset_sifive_test.o
+
+carray-fdt_reset_drivers-y += fdt_reset_sunxi_wdt
libsbiutils-objs-y += reset/fdt_reset_sunxi_wdt.o
+
+carray-fdt_reset_drivers-y += fdt_reset_thead
libsbiutils-objs-y += reset/fdt_reset_thead.o
libsbiutils-objs-y += reset/fdt_reset_thead_asm.o