summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-12-24 16:08:30 +0100
committerHans de Goede <hdegoede@redhat.com>2015-01-14 14:56:39 +0100
commit8c95c55661e9bd51c284bb9d26f5a2b058f562d0 (patch)
treea3df897f7876400ee7b8a2cd66f134e95b5091ef /include/configs
parente2bbdfb1e3a3def3586703622a4dade46019f943 (diff)
downloadblackbird-obmc-uboot-8c95c55661e9bd51c284bb9d26f5a2b058f562d0.tar.gz
blackbird-obmc-uboot-8c95c55661e9bd51c284bb9d26f5a2b058f562d0.zip
sunxi: sunxi-common.h: Reduce bootm_size to take the framebuffer into account
Before video output support can be enabled on the A13-OLinuXinoM, bootm_size must first be reduced to take into account that the framebuffer is shaved of the top of the DRAM. For other boards this is not an issue since bootm was set to 256M and all boards have at least 512M except for the A13-OLinuXinoM. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/sunxi-common.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 7e264ba7df..64d379a3ef 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -272,10 +272,13 @@
#ifndef CONFIG_SPL_BUILD
#include <config_distro_defaults.h>
-/* 256M RAM (minimum), 32M uncompressed kernel, 16M compressed kernel, 1M fdt,
- * 1M script, 1M pxe and the ramdisk at the end */
+/*
+ * 240M RAM (256M minimum minus space for the framebuffer),
+ * 32M uncompressed kernel, 16M compressed kernel, 1M fdt,
+ * 1M script, 1M pxe and the ramdisk at the end.
+ */
#define MEM_LAYOUT_ENV_SETTINGS \
- "bootm_size=0x10000000\0" \
+ "bootm_size=0xf000000\0" \
"kernel_addr_r=0x42000000\0" \
"fdt_addr_r=0x43000000\0" \
"scriptaddr=0x43100000\0" \
OpenPOWER on IntegriCloud