summaryrefslogtreecommitdiffstats
path: root/commands/reginfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/reginfo.c')
-rw-r--r--commands/reginfo.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/commands/reginfo.c b/commands/reginfo.c
new file mode 100644
index 0000000000..856beaed9f
--- /dev/null
+++ b/commands/reginfo.c
@@ -0,0 +1,14 @@
+#include <common.h>
+#include <command.h>
+
+int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+{
+ reginfo();
+ return 0;
+}
+
+U_BOOT_CMD_START(reginfo)
+ .maxargs = 1,
+ .cmd = do_reginfo,
+ .usage = "print register information",
+U_BOOT_CMD_END