test: dm: Move the time test over to the ut command

Unify the command for running unit tests further by moving the "ut_time"
command over to "ut time".

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Joe Hershberger
2015-05-20 14:27:30 -05:00
committed by Tom Rini
parent 40441e0bd3
commit c812f722f8
6 changed files with 13 additions and 11 deletions

View File

@@ -116,7 +116,7 @@ static int test_udelay(void)
return 0;
}
static int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
int ret = 0;
@@ -129,9 +129,3 @@ static int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return ret ? CMD_RET_FAILURE : CMD_RET_SUCCESS;
}
U_BOOT_CMD(
ut_time, 1, 1, do_ut_time,
"Very basic test of time functions",
""
);