From 56f43a77ca48a17f5e106e920fd92b5d42f5b949 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 335f8304133..7fc0fe63f06 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