diff options
author | Green Wan <green.wan@sifive.com> | 2021-07-01 15:39:55 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-07-05 21:36:40 +0530 |
commit | b7f2cd268b639c19f3aae09e57e60d3eb2ac2ed0 (patch) | |
tree | ac81415f274f262e36c99c5c00a67daac2e67b96 /lib/utils | |
parent | a731c7e36988c3308e1978ecde491f2f6182d490 (diff) |
lib: utils: reset: unify naming of 'sifive_test' device
Unify all the file and function names of 'sifive_test' device, to use
the same prefix. This is also a preparatory patch for upcoming sifive
reset device.
Signed-off-by: Green Wan <green.wan@sifive.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/utils')
-rw-r--r-- | lib/utils/reset/fdt_reset.c | 4 | ||||
-rw-r--r-- | lib/utils/reset/fdt_reset_sifive_test.c (renamed from lib/utils/reset/fdt_reset_sifive.c) | 2 | ||||
-rw-r--r-- | lib/utils/reset/objects.mk | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/utils/reset/fdt_reset.c b/lib/utils/reset/fdt_reset.c index 1d687dc..48a49fb 100644 --- a/lib/utils/reset/fdt_reset.c +++ b/lib/utils/reset/fdt_reset.c @@ -12,12 +12,12 @@ #include <sbi_utils/fdt/fdt_helper.h> #include <sbi_utils/reset/fdt_reset.h> -extern struct fdt_reset fdt_reset_sifive; +extern struct fdt_reset fdt_reset_sifive_test; extern struct fdt_reset fdt_reset_htif; extern struct fdt_reset fdt_reset_thead; static struct fdt_reset *reset_drivers[] = { - &fdt_reset_sifive, + &fdt_reset_sifive_test, &fdt_reset_htif, &fdt_reset_thead, }; diff --git a/lib/utils/reset/fdt_reset_sifive.c b/lib/utils/reset/fdt_reset_sifive_test.c index 928dee9..f98f03d 100644 --- a/lib/utils/reset/fdt_reset_sifive.c +++ b/lib/utils/reset/fdt_reset_sifive_test.c @@ -30,7 +30,7 @@ static const struct fdt_match sifive_test_reset_match[] = { { }, }; -struct fdt_reset fdt_reset_sifive = { +struct fdt_reset fdt_reset_sifive_test = { .match_table = sifive_test_reset_match, .init = sifive_test_reset_init, }; diff --git a/lib/utils/reset/objects.mk b/lib/utils/reset/objects.mk index b6619f4..672aad9 100644 --- a/lib/utils/reset/objects.mk +++ b/lib/utils/reset/objects.mk @@ -9,6 +9,6 @@ libsbiutils-objs-y += reset/fdt_reset.o libsbiutils-objs-y += reset/fdt_reset_htif.o -libsbiutils-objs-y += reset/fdt_reset_sifive.o libsbiutils-objs-y += reset/fdt_reset_thead.o libsbiutils-objs-y += reset/fdt_reset_thead_asm.o +libsbiutils-objs-y += reset/fdt_reset_sifive_test.o |