mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
test: cmd: fdt: Rename fdt_test_get() to fdt_test_get_value()
The 'fdt get' command has a 'get value' subcommand, rename the fdt_test_get() to fdt_test_get_value() to avoid confusion about what it is testing. There is currently no get 'get name', 'get addr', 'get size' subcommand test. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4a9fe8cbe6
commit
38805e03f0
1 changed files with 3 additions and 3 deletions
|
@ -142,8 +142,8 @@ static int fdt_test_addr_resize(struct unit_test_state *uts)
|
|||
}
|
||||
FDT_TEST(fdt_test_addr_resize, UT_TESTF_CONSOLE_REC);
|
||||
|
||||
/* Test 'fdt get' reading an fdt */
|
||||
static int fdt_test_get(struct unit_test_state *uts)
|
||||
/* Test 'fdt get value' reading an fdt */
|
||||
static int fdt_test_get_value(struct unit_test_state *uts)
|
||||
{
|
||||
ulong addr;
|
||||
|
||||
|
@ -193,7 +193,7 @@ static int fdt_test_get(struct unit_test_state *uts)
|
|||
|
||||
return 0;
|
||||
}
|
||||
FDT_TEST(fdt_test_get, UT_TESTF_CONSOLE_REC);
|
||||
FDT_TEST(fdt_test_get_value, UT_TESTF_CONSOLE_REC);
|
||||
|
||||
int do_ut_fdt(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue