[PATCH 23/35] common: Move reset_misc() function to arch header
Simon Glass
sjg at chromium.org
Thu Dec 12 01:47:42 CET 2019
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 at chromium.org>
---
arch/arm/include/asm/u-boot-arm.h | 2 ++
include/common.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h
index 62cb5b4a98..0b93cc48c5 100644
--- a/arch/arm/include/asm/u-boot-arm.h
+++ b/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_ */
diff --git a/include/common.h b/include/common.h
index 1d85e5a68c..cf33b31499 100644
--- a/include/common.h
+++ b/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 */
--
2.24.0.525.g8f36a354ae-goog
More information about the U-Boot
mailing list