riscv: increase the environment size for the qemu-riscv platform to 128kB
authorKarsten Merker <merker@debian.org>
Sun, 5 May 2019 21:36:29 +0000 (23:36 +0200)
committerAndes <uboot@andestech.com>
Wed, 5 Jun 2019 05:19:08 +0000 (13:19 +0800)
The existing default size of 4kB is too small as the default environment
has already nearly that size and defining a single additional environment
variable can exceed the available space.

Signed-off-by: Karsten Merker <merker@debian.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/configs/qemu-riscv.h

index b7110edebcbfb56cee394c76bc53c5dcfd328fe2..df22f780b09946a573198aa609af9a06f70480ab 100644 (file)
@@ -20,7 +20,7 @@
 #define CONFIG_STANDALONE_LOAD_ADDR    0x80200000
 
 /* Environment options */
-#define CONFIG_ENV_SIZE                        SZ_4K
+#define CONFIG_ENV_SIZE                        SZ_128K
 
 #define BOOT_TARGET_DEVICES(func) \
        func(QEMU, qemu, na) \