]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/lib/reset.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / lib / reset.c
index 7a0358071ced67b39f7f9f77cf261c827659e276..f3ea116e8700cb8b15a85708f4d8b096d08c7f3b 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2002
  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * mailto:info@wawnet.biz
  *
  * (C) Copyright 2004 Texas Insturments
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #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 +33,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);
 
        /*NOTREACHED*/