]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_reginfo.c
ppc: Move mirror_hack to arch_global_data
[u-boot] / common / cmd_reginfo.c
index 89fd9ec4e9e9b84298bac31aca7271baf9045f98..08a6563448692e99e172dbcc5abd279fdc5d5720 100644 (file)
@@ -33,9 +33,12 @@ extern void ppc4xx_reginfo(void);
 #include <mpc5xxx.h>
 #elif defined (CONFIG_MPC86xx)
 extern void mpc86xx_reginfo(void);
+#elif defined(CONFIG_MPC85xx)
+extern void mpc85xx_reginfo(void);
 #endif
 
-int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+static int do_reginfo(cmd_tbl_t *cmdtp, int flag, int argc,
+                      char * const argv[])
 {
 #if defined(CONFIG_8xx)
        volatile immap_t     *immap  = (immap_t *)CONFIG_SYS_IMMR;
@@ -183,6 +186,9 @@ int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 #elif defined(CONFIG_MPC86xx)
        mpc86xx_reginfo();
 
+#elif defined(CONFIG_MPC85xx)
+       mpc85xx_reginfo();
+
 #elif defined(CONFIG_BLACKFIN)
        puts("\nSystem Configuration registers\n");