diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:44:55 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 13:27:27 -0500 |
commit | 6f5fb71240cda307dcc3c031a1bce3ab4f15c308 (patch) | |
tree | 66dd4d49584a25566ade784b6b666a0849badaf8 | |
parent | 807765b0671d17943c9c1923e18d49ace479794e (diff) |
common: arm: Move s_init() to an ARM-specific header
This function is only used on ARM devices so does not belong in the global
common header file. Move it to an ARM 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 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h index 2e8c8e53d79..62cb5b4a984 100644 --- a/arch/arm/include/asm/u-boot-arm.h +++ b/arch/arm/include/asm/u-boot-arm.h @@ -23,6 +23,8 @@ extern ulong _datarellocal_start_ofs; extern ulong _datarelro_start_ofs; extern ulong IRQ_STACK_START_IN; /* 8 bytes in IRQ stack */ +void s_init(void); + /* cpu/.../cpu.c */ int cleanup_before_linux(void); diff --git a/include/common.h b/include/common.h index 463eeb5d43f..f38dc2ef3fb 100644 --- a/include/common.h +++ b/include/common.h @@ -74,8 +74,6 @@ phys_size_t get_effective_memsize(void); int testdram(void); #endif /* CONFIG_SYS_DRAM_TEST */ -void s_init(void); - void upmconfig (unsigned int, unsigned int *, unsigned int); ulong get_tbclk (void); void reset_misc (void); |