blob: c8a04b1754eb5ace63a18bad5d5d40f3ccbd4743 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
wdenke887afc2002-08-27 09:44:07 +00002/*
3 * (C) Copyright 2000
4 * Subodh Nijsure, SkyStream Networks, snijsure@skystream.com
wdenke887afc2002-08-27 09:44:07 +00005 */
6
7#include <common.h>
8#include <command.h>
Christophe Leroyf3603b42017-07-13 15:09:54 +02009#include <asm/ppc.h>
Jon Loeliger65c450b2007-06-11 19:01:54 -050010
Simon Glass09140112020-05-10 11:40:03 -060011static int do_reginfo(struct cmd_tbl *cmdtp, int flag, int argc,
12 char *const argv[])
wdenke887afc2002-08-27 09:44:07 +000013{
Christophe Leroyf3603b42017-07-13 15:09:54 +020014 print_reginfo();
Becky Bruce4f93f8b2008-01-23 16:31:06 -060015
wdenke887afc2002-08-27 09:44:07 +000016 return 0;
17}
18
wdenk8bde7f72003-06-27 21:31:46 +000019 /**************************************************/
20
wdenk0d498392003-07-01 21:06:45 +000021U_BOOT_CMD(
Wolfgang Denk53677ef2008-05-20 16:00:29 +020022 reginfo, 2, 1, do_reginfo,
Peter Tyser2fb26042009-01-27 18:03:12 -060023 "print register information",
Wolfgang Denka89c33d2009-05-24 17:06:54 +020024 ""
wdenk8bde7f72003-06-27 21:31:46 +000025);