+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2015 Google, Inc
* Written by Simon Glass <sjg@chromium.org>
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <command.h>
#include <errno.h>
+#include <time.h>
+#include <linux/delay.h>
static int test_get_timer(void)
{
return 0;
}
-static int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_ut_time(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
int ret = 0;
return ret ? CMD_RET_FAILURE : CMD_RET_SUCCESS;
}
-
-U_BOOT_CMD(
- ut_time, 1, 1, do_ut_time,
- "Very basic test of time functions",
- ""
-);