Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
wdenk | e887afc | 2002-08-27 09:44:07 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2000 |
| 4 | * Subodh Nijsure, SkyStream Networks, snijsure@skystream.com |
wdenk | e887afc | 2002-08-27 09:44:07 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
wdenk | e887afc | 2002-08-27 09:44:07 +0000 | [diff] [blame] | 7 | #include <command.h> |
Christophe Leroy | 31f6e93 | 2017-07-13 15:09:54 +0200 | [diff] [blame] | 8 | #include <asm/ppc.h> |
Jon Loeliger | 3de8b24 | 2007-06-11 19:01:54 -0500 | [diff] [blame] | 9 | |
Simon Glass | ed38aef | 2020-05-10 11:40:03 -0600 | [diff] [blame] | 10 | static int do_reginfo(struct cmd_tbl *cmdtp, int flag, int argc, |
| 11 | char *const argv[]) |
wdenk | e887afc | 2002-08-27 09:44:07 +0000 | [diff] [blame] | 12 | { |
Christophe Leroy | 31f6e93 | 2017-07-13 15:09:54 +0200 | [diff] [blame] | 13 | print_reginfo(); |
Becky Bruce | b0b3094 | 2008-01-23 16:31:06 -0600 | [diff] [blame] | 14 | |
wdenk | e887afc | 2002-08-27 09:44:07 +0000 | [diff] [blame] | 15 | return 0; |
| 16 | } |
| 17 | |
wdenk | 57b2d80 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 18 | /**************************************************/ |
| 19 | |
wdenk | f287a24 | 2003-07-01 21:06:45 +0000 | [diff] [blame] | 20 | U_BOOT_CMD( |
Wolfgang Denk | a1be476 | 2008-05-20 16:00:29 +0200 | [diff] [blame] | 21 | reginfo, 2, 1, do_reginfo, |
Peter Tyser | dfb72b8 | 2009-01-27 18:03:12 -0600 | [diff] [blame] | 22 | "print register information", |
Wolfgang Denk | c54781c | 2009-05-24 17:06:54 +0200 | [diff] [blame] | 23 | "" |
wdenk | 57b2d80 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 24 | ); |