Skip to content

Commit 3ad1b71

Browse files
flynnjiangPaul Walmsley
authored andcommitted
riscv: Build loader.bin exclusively for Canaan K210
According to the explanation in commit ef10bdf ("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: e79dfcb ("riscv: make image compression configurable") Signed-off-by: Feng Jiang <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paul Walmsley <[email protected]>
1 parent 225a97d commit 3ad1b71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/riscv/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ boot-image-$(CONFIG_KERNEL_LZO) := Image.lzo
159159
boot-image-$(CONFIG_KERNEL_ZSTD) := Image.zst
160160
boot-image-$(CONFIG_KERNEL_XZ) := Image.xz
161161
ifdef CONFIG_RISCV_M_MODE
162-
boot-image-$(CONFIG_ARCH_CANAAN) := loader.bin
162+
boot-image-$(CONFIG_SOC_CANAAN_K210) := loader.bin
163163
endif
164164
boot-image-$(CONFIG_EFI_ZBOOT) := vmlinuz.efi
165165
boot-image-$(CONFIG_XIP_KERNEL) := xipImage

0 commit comments

Comments
 (0)