summaryrefslogtreecommitdiff
path: root/common/cmd_reginfo.c
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-01-23 16:31:06 -0600
committerJon Loeliger <jdl@freescale.com>2008-01-24 12:12:56 -0600
commit4f93f8b1a4d35b6d302842132edba920ef8f62aa (patch)
tree0f5b405423ac1342a4b732031aa11bceccbafb8e /common/cmd_reginfo.c
parentddcebcb638715a6278da93b553d5016f99823816 (diff)
86xx: Add reginfo command
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'common/cmd_reginfo.c')
-rw-r--r--common/cmd_reginfo.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/common/cmd_reginfo.c b/common/cmd_reginfo.c
index bb6aa30d18a..11af22bc3f6 100644
--- a/common/cmd_reginfo.c
+++ b/common/cmd_reginfo.c
@@ -31,6 +31,8 @@
#include <mpc5xx.h>
#elif defined (CONFIG_MPC5200)
#include <mpc5xxx.h>
+#elif defined (CONFIG_MPC86xx)
+extern void mpc86xx_reginfo(void);
#endif
int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -329,14 +331,18 @@ int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
*(volatile ulong*)MPC5XXX_SDRAM_CS0CFG);
printf ("\tSDRAMCS1: %08X\n",
*(volatile ulong*)MPC5XXX_SDRAM_CS1CFG);
-#endif /* CONFIG_MPC5200 */
+#elif defined(CONFIG_MPC86xx)
+ mpc86xx_reginfo();
+#endif /* CONFIG_MPC86xx */
+
return 0;
}
/**************************************************/
#if ( defined(CONFIG_8xx) || defined(CONFIG_405GP) || \
- defined(CONFIG_405EP) || defined(CONFIG_MPC5200) ) && \
+ defined(CONFIG_405EP) || defined(CONFIG_MPC5200) || \
+ defined(CONFIG_MPC86xx)) && \
defined(CONFIG_CMD_REGINFO)
U_BOOT_CMD(