aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/reset/objects.mk
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-04-24 17:02:48 +0530
committerAnup Patel <anup@brainfault.org>2020-05-01 10:31:37 +0530
commit7cc6fa4d8a65e08048e1dd469087805ce89bf306 (patch)
tree14a42d7fa4873a3ad3a17e2e3dd9b3fce9c1f8c6 /lib/utils/reset/objects.mk
parent76a89403c8efa58582fe35cf942e80be7f5f36f9 (diff)
downloadopensbi-7cc6fa4d8a65e08048e1dd469087805ce89bf306.zip
opensbi-7cc6fa4d8a65e08048e1dd469087805ce89bf306.tar.gz
opensbi-7cc6fa4d8a65e08048e1dd469087805ce89bf306.tar.bz2
lib: utils: Add simple FDT reset framework
We add simple reset framework which will select and use reset driver based on details in FDT passed by previous booting stage. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
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
new file mode 100644
index 0000000..b447261
--- /dev/null
+++ b/lib/utils/reset/objects.mk
@@ -0,0 +1,12 @@
+#
+# SPDX-License-Identifier: BSD-2-Clause
+#
+# Copyright (c) 2020 Western Digital Corporation or its affiliates.
+#
+# Authors:
+# Anup Patel <anup.patel@wdc.com>
+#
+
+libsbiutils-objs-y += reset/fdt_reset.o
+libsbiutils-objs-y += reset/fdt_reset_htif.o
+libsbiutils-objs-y += reset/fdt_reset_sifive.o