]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/lib/reset.c
karo: merge with Ka-Ro specific tree for secure boot support
[karo-tx-uboot.git] / arch / arm / lib / reset.c
index 3b057e3a3d8f9208a506799420d828453e4fa6f2..18d3e7eeffec16f71f0e5116d0bd66ee9e74eaea 100644 (file)
 
 #include <common.h>
 
+__weak void reset_misc(void)
+{
+}
+
 int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        puts ("resetting ...\n");
@@ -30,6 +34,8 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        udelay (50000);                         /* wait 50 ms */
 
        disable_interrupts();
+
+       reset_misc();
        reset_cpu(0);
        hang();
 }