Commit 3ad1b71f authored by Feng Jiang's avatar Feng Jiang Committed by Paul Walmsley
Browse files

riscv: Build loader.bin exclusively for Canaan K210



According to the explanation in commit ef10bdf9 ("riscv:
Kconfig.socs: Split ARCH_CANAAN and SOC_CANAAN_K210"),
loader.bin is a special feature of the Canaan K210 and
is not applicable to other SoCs.

Fixes: e79dfcbf ("riscv: make image compression configurable")
Signed-off-by: default avatarFeng Jiang <jiangfeng@kylinos.cn>
Reviewed-by: default avatarEmil Renner Berthing <emil.renner.berthing@canonical.com>
Link: https://lore.kernel.org/r/20251029094429.553842-1-jiangfeng@kylinos.cn


Signed-off-by: default avatarPaul Walmsley <pjw@kernel.org>
parent 225a97d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ boot-image-$(CONFIG_KERNEL_LZO) := Image.lzo
boot-image-$(CONFIG_KERNEL_ZSTD)	:= Image.zst
boot-image-$(CONFIG_KERNEL_XZ)		:= Image.xz
ifdef CONFIG_RISCV_M_MODE
boot-image-$(CONFIG_ARCH_CANAAN)	:= loader.bin
boot-image-$(CONFIG_SOC_CANAAN_K210)	:= loader.bin
endif
boot-image-$(CONFIG_EFI_ZBOOT)		:= vmlinuz.efi
boot-image-$(CONFIG_XIP_KERNEL)		:= xipImage