lib: utils: Add simple FDT reset framework
authorAnup Patel <anup.patel@wdc.com>
Fri, 24 Apr 2020 11:32:48 +0000 (17:02 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 1 May 2020 05:01:37 +0000 (10:31 +0530)
commit7cc6fa4d8a65e08048e1dd469087805ce89bf306
tree14a42d7fa4873a3ad3a17e2e3dd9b3fce9c1f8c6
parent76a89403c8efa58582fe35cf942e80be7f5f36f9
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>
include/sbi_utils/reset/fdt_reset.h [new file with mode: 0644]
lib/utils/reset/fdt_reset.c [new file with mode: 0644]
lib/utils/reset/fdt_reset_htif.c [new file with mode: 0644]
lib/utils/reset/fdt_reset_sifive.c [new file with mode: 0644]
lib/utils/reset/objects.mk [new file with mode: 0644]