mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-07-03 19:49:16 +00:00
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:
parent
a731c7e369
commit
b7f2cd268b
3 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue