diff options
author | Simon Glass | 2019-12-28 10:45:00 -0700 |
---|---|---|
committer | Tom Rini | 2020-01-17 13:27:30 -0500 |
commit | 9101a5ec4a6cbcb50e037fb7287ad4e73b2d625d (patch) | |
tree | b90d31b44b71ef471e448744472da99cd694a01d | |
parent | 049f8d6f4acc0eff71c9db5c3ca6276b56ce3357 (diff) |
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>
-rw-r--r-- | arch/arm/include/asm/u-boot-arm.h | 2 | ||||
-rw-r--r-- | include/common.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h index 62cb5b4a984..0b93cc48c50 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 1d85e5a68c9..cf33b314995 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 */ |