[PATCH v2 06/12] arm: cpu: start: arm64 does not support relocation
Raphael Poggi
poggi.raph at gmail.com
Tue Jun 14 00:06:40 PDT 2016
For now, the relocation is not supported in arm64, so
enclosed call to "setup_c" with #if directive
Signed-off-by: Raphael Poggi <poggi.raph at gmail.com>
---
arch/arm/cpu/start.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c
index d03d1ed..25ba5fc 100644
--- a/arch/arm/cpu/start.c
+++ b/arch/arm/cpu/start.c
@@ -151,7 +151,9 @@ __noreturn void barebox_non_pbl_start(unsigned long membase,
relocate_to_adr(barebox_base);
}
+#if __LINUX_ARM_ARCH__ <= 7
setup_c();
+#endif
barrier();
--
2.1.0
More information about the barebox
mailing list