From 2c4589c5635b5ab9a16cfdb117c763f70eaabe49 Mon Sep 17 00:00:00 2001 From: Cezary Sobczak Date: Sun, 13 Mar 2022 19:54:28 +0100 Subject: [PATCH] sun20i: set CONFIG_SYS_BOOTM_LEN for RISC-V If this value is not increased, the error occurs during loading uncompressed kernel from fitImage: "Error: inflate() returned -5 Image too large: increase CONFIG_SYS_BOOTM_LEN" Signed-off-by: Cezary Sobczak Signed-off-by: Samuel Holland --- include/configs/sunxi-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index a3a6343b8c7..df01dab4f15 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -18,7 +18,7 @@ #include -#ifdef CONFIG_ARM64 +#if defined(CONFIG_ARM64) || defined(CONFIG_RISCV) #define CONFIG_SYS_BOOTM_LEN (32 << 20) #endif