summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:55 -0700
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 23:06:48 +0530
commitb14d1af81dbe32e89316c9226c7a2aa52b28cb41 (patch)
treeedff8d1613d7293934922c56a203fe199eb9eb4f /arch/arm
parent7fefef5078d427e5b9e22e19352d492029cea6f2 (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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/u-boot-arm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h
index 2e8c8e53d7..62cb5b4a98 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);