]> git.ipfire.org Git - people/ms/u-boot.git/blob - cmd/reginfo.c
powerpc: remove 4xx support
[people/ms/u-boot.git] / cmd / reginfo.c
1 /*
2 * (C) Copyright 2000
3 * Subodh Nijsure, SkyStream Networks, snijsure@skystream.com
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8 #include <common.h>
9 #include <command.h>
10 #if defined(CONFIG_MPC86xx)
11 extern void mpc86xx_reginfo(void);
12 #elif defined(CONFIG_MPC85xx)
13 extern void mpc85xx_reginfo(void);
14 #endif
15
16 static int do_reginfo(cmd_tbl_t *cmdtp, int flag, int argc,
17 char * const argv[])
18 {
19 #if defined(CONFIG_MPC86xx)
20 mpc86xx_reginfo();
21
22 #elif defined(CONFIG_MPC85xx)
23 mpc85xx_reginfo();
24 #endif
25
26 return 0;
27 }
28
29 /**************************************************/
30
31 #if defined(CONFIG_CMD_REGINFO)
32 U_BOOT_CMD(
33 reginfo, 2, 1, do_reginfo,
34 "print register information",
35 ""
36 );
37 #endif