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>
This commit is contained in:
Green Wan 2021-07-01 15:39:55 +08:00 committed by Anup Patel
parent a731c7e369
commit b7f2cd268b
3 changed files with 4 additions and 4 deletions

View file

@ -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,
};

View file

@ -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,
};

View file

@ -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