]> git.sur5r.net Git - u-boot/blobdiff - board/inka4x0/inka4x0.c
inka4x0: Add hardware diagnosis functions for inka4x0
[u-boot] / board / inka4x0 / inka4x0.c
index 507196bb2f8f0a965e6491cdeba8541d7e25889a..bb5c25d3b69acaea4ed52169fd2e5d4f08dfe435 100644 (file)
@@ -1,6 +1,9 @@
 /*
- * (C) Copyright 2003-2004
- * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ * (C) Copyright 2008-2009
+ * Andreas Pfefferle, DENX Software Engineering, ap@denx.de.
+ *
+ * (C) Copyright 2009
+ * Detlev Zundel, DENX Software Engineering, dzu@denx.de.
  *
  * (C) Copyright 2004
  * Mark Jonas, Freescale Semiconductor, mark.jonas@motorola.com.
@@ -8,6 +11,9 @@
  * (C) Copyright 2004
  * Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
  *
+ * (C) Copyright 2003-2004
+ * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ *
  * See file CREDITS for list of people who contributed to this
  * project.
  *
@@ -171,6 +177,16 @@ void flash_preinit(void)
        *(vu_long *)MPC5XXX_BOOTCS_CFG &= ~0x1; /* clear RO */
 }
 
+int misc_init_r (void) {
+       extern int inkadiag_init_r (void);
+
+       /*
+        * The command table used for the subcommands of inkadiag
+        * needs to be relocated manually.
+        */
+       return inkadiag_init_r();
+}
+
 int misc_init_f (void)
 {
        char tmp[10];