xref: /openbmc/u-boot/cmd/reginfo.c (revision 8ee59472)
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * (C) Copyright 2000
4  * Subodh Nijsure, SkyStream Networks, snijsure@skystream.com
5  */
6 
7 #include <common.h>
8 #include <command.h>
9 #include <asm/ppc.h>
10 
11 static int do_reginfo(cmd_tbl_t *cmdtp, int flag, int argc,
12 		       char * const argv[])
13 {
14 	print_reginfo();
15 
16 	return 0;
17 }
18 
19  /**************************************************/
20 
21 U_BOOT_CMD(
22 	reginfo,	2,	1,	do_reginfo,
23 	"print register information",
24 	""
25 );
26