From 1af97b277b52f41968fed161f88551c1fd85e1d4 Mon Sep 17 00:00:00 2001
From: Cezary Sobczak <cezary.sobczak@3mdeb.com>
Date: Sun, 14 Nov 2021 00:04:45 +0100
Subject: [PATCH] sun20i: set CONFIG_SYS_BOOTM_LEN

Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
---
 include/configs/sun20i.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/sun20i.h b/include/configs/sun20i.h
index e8ef1b6c4a..4f71d4be1e 100644
--- a/include/configs/sun20i.h
+++ b/include/configs/sun20i.h
@@ -8,4 +8,8 @@

 #include <configs/sunxi-common.h>

+#ifdef CONFIG_RISCV
+#define CONFIG_SYS_BOOTM_LEN           (32 << 20)
+#endif
+
 #endif /* __CONFIG_H */
--
2.37.2
