]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
qcom: Don't enable LINUX_KERNEL_IMAGE_HEADER by default
authorSumit Garg <sumit.garg@linaro.org>
Fri, 12 Apr 2024 09:54:32 +0000 (15:24 +0530)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:21 +0000 (13:29 +0200)
Enabling LINUX_KERNEL_IMAGE_HEADER by default doesn't allow
ENABLE_ARM_SOC_BOOT0_HOOK to work properly on db410c when U-Boot is
loaded as a first stage bootloader. It leads to secondary CPUs bringup
failure and later causing the Linux kernel to freeze.

So fix it via selectively enabling LINUX_KERNEL_IMAGE_HEADER where it's
actually required.

Fixes: 059d526af312 ("mach-snapdragon: generalise board support")
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
arch/arm/Kconfig

index 69a7fa6ba3d3beb33ea55ef57adfdb72a6ef2d70..93e12d8d533febaf682f213ee4d70ef7797f377f 100644 (file)
@@ -1087,7 +1087,7 @@ config ARCH_SNAPDRAGON
        select BOARD_LATE_INIT
        select OF_BOARD
        select SAVE_PREV_BL_FDT_ADDR
-       select LINUX_KERNEL_IMAGE_HEADER
+       select LINUX_KERNEL_IMAGE_HEADER if !ENABLE_ARM_SOC_BOOT0_HOOK
        imply OF_UPSTREAM
        imply CMD_DM