Sfoglia il codice sorgente

common: Move reset_misc() function to arch header

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>
Simon Glass 4 anni fa
parent
commit
9101a5ec4a
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 0
      arch/arm/include/asm/u-boot-arm.h
  2. 0 1
      include/common.h

+ 2 - 0
arch/arm/include/asm/u-boot-arm.h

@@ -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_ */

+ 0 - 1
include/common.h

@@ -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 */