common: Move reset_misc() function to arch header
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:45:00 +0000 (10:45 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:49 +0000 (23:06 +0530)
This function is only used on ARM devices. Move it out of the common file
and to a arch-specific header.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/u-boot-arm.h
include/common.h

index 62cb5b4..0b93cc4 100644 (file)
@@ -54,6 +54,8 @@ void do_fiq(struct pt_regs *pt_regs);
 void do_irq(struct pt_regs *pt_regswq);
 #endif
 
+void reset_misc(void);
+
 #endif /* __ASSEMBLY__ */
 
 #endif /* _U_BOOT_ARM_H_ */
index 1d85e5a..cf33b31 100644 (file)
@@ -74,7 +74,6 @@ phys_size_t get_effective_memsize(void);
 int testdram(void);
 #endif /* CONFIG_SYS_DRAM_TEST */
 
-void   reset_misc    (void);
 void   reset_cpu     (ulong addr);
 
 /* lib/uuid.c */