Instead of setting CONFIG_SYS_BOOTMAPSZ instead set bootm_size to 512M in the
default environment. This causes boot_start_lmb to use addresses which are
covered by the kernels lowmem mapping, which is required by the boot protocol.

This should mean that workarounds such as fdt_high=ffffffff and
initrd_high=ffffffff are no longer required.

Signed-off-by: Ian Campbell <i...@hellion.org.uk>
Cc: Tom Rini <tr...@ti.com>
---
 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 efa77f2..2757145 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -102,7 +102,6 @@
 
 /* Flat Device Tree (FDT/DT) support */
 #define CONFIG_OF_LIBFDT
-#define CONFIG_SYS_BOOTMAPSZ           (256 << 20)
 
 /*
  * Miscellaneous configurable options
@@ -170,6 +169,7 @@
 #endif
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
+       "bootm_size=0x20000000\0" \
        "console=ttyS0,115200\0" \
        "panicarg=panic=10\0" \
        "extraargs=\0" \
-- 
1.8.5.3

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to