Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / sh / cpu / sh4 / cpu.c
index ee36aca407d2fac0923c6564b7e4f65221c6e409..f032d88159d73805892eb9b9ee41c123c1846b5f 100644 (file)
@@ -6,7 +6,9 @@
 
 #include <common.h>
 #include <command.h>
+#include <irq_func.h>
 #include <cpu_func.h>
+#include <net.h>
 #include <netdev.h>
 #include <asm/processor.h>
 
@@ -27,10 +29,10 @@ int cleanup_before_linux (void)
        return 0;
 }
 
-int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
        disable_interrupts();
-       reset_cpu (0);
+       reset_cpu(0);
        return 0;
 }