ARMv8: add optional Linux kernel image header
[oweals/u-boot.git] / arch / arm / cpu / armv8 / start.S
index f385ed40e1a39bc20d3505a365d58ac80dd03fc6..7a98a1c95d24af2caddfba824182e30268ceb562 100644 (file)
@@ -19,7 +19,9 @@
 
 .globl _start
 _start:
-#ifdef CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK
+#if defined(LINUX_KERNEL_IMAGE_HEADER)
+#include <asm/boot0-linux-kernel-header.h>
+#elif defined(CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK)
 /*
  * Various SoCs need something special and SoC-specific up front in
  * order to boot, allow them to set that in their boot0.h file and then