Message ID | 20240311111027.44577-2-sumit.garg@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | Add SE HMBSC board support | expand |
On 11/03/2024 11:10, Sumit Garg wrote: > 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") > Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org> > --- > arch/arm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 65fa7ba4ce7..27f3d9a43e1 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1090,7 +1090,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 CMD_DM > > config ARCH_SOCFPGA
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 65fa7ba4ce7..27f3d9a43e1 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1090,7 +1090,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 CMD_DM config ARCH_SOCFPGA
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") Signed-off-by: Sumit Garg <sumit.garg@linaro.org> --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)