Tom Rini | 83d290c | 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 | f3603b4 | 2017-07-13 15:09:54 +0200 | [diff] [blame] | 8 | #include <asm/ppc.h> |
Jon Loeliger | 65c450b | 2007-06-11 19:01:54 -0500 | [diff] [blame] | 9 | |
Simon Glass | 0914011 | 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 | f3603b4 | 2017-07-13 15:09:54 +0200 | [diff] [blame] | 13 | print_reginfo(); |
Becky Bruce | 4f93f8b | 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 | 8bde7f7 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 18 | /**************************************************/ |
| 19 | |
wdenk | 0d49839 | 2003-07-01 21:06:45 +0000 | [diff] [blame] | 20 | U_BOOT_CMD( |
Wolfgang Denk | 53677ef | 2008-05-20 16:00:29 +0200 | [diff] [blame] | 21 | reginfo, 2, 1, do_reginfo, |
Peter Tyser | 2fb2604 | 2009-01-27 18:03:12 -0600 | [diff] [blame] | 22 | "print register information", |
Wolfgang Denk | a89c33d | 2009-05-24 17:06:54 +0200 | [diff] [blame] | 23 | "" |
wdenk | 8bde7f7 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 24 | ); |