summaryrefslogtreecommitdiff
path: root/cmd/reginfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/reginfo.c')
-rw-r--r--cmd/reginfo.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/cmd/reginfo.c b/cmd/reginfo.c
new file mode 100644
index 00000000000..53b8bc41bfe
--- /dev/null
+++ b/cmd/reginfo.c
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * (C) Copyright 2000
+ * Subodh Nijsure, SkyStream Networks, snijsure@skystream.com
+ */
+
+#include <command.h>
+#include <asm/ppc.h>
+
+static int do_reginfo(struct cmd_tbl *cmdtp, int flag, int argc,
+ char *const argv[])
+{
+ print_reginfo();
+
+ return 0;
+}
+
+ /**************************************************/
+
+U_BOOT_CMD(
+ reginfo, 2, 1, do_reginfo,
+ "print register information",
+ ""
+);