[U-Boot] [PATCH 5/7] nhk8815: start lower in RAM, so the 800x480 frame buffer fits
Alessandro Rubini
rubini-list at gnudd.com
Thu Apr 15 13:12:37 CEST 2010
From: Alessandro Rubini <rubini at unipv.it>
This simply moves u-boot to a lower address, as the frame buffer
is allocated after u-boot itself in memory.
Signed-off-by: Alessandro Rubini <rubini at unipv.it>
Acked-by: Andrea Gallo <andrea.gallo at stericsson.com>
---
board/st/nhk8815/config.mk | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/board/st/nhk8815/config.mk b/board/st/nhk8815/config.mk
index 590393b..6e5e358 100644
--- a/board/st/nhk8815/config.mk
+++ b/board/st/nhk8815/config.mk
@@ -18,9 +18,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
-#
-#
-# image should be loaded at 0x01000000
-#
-TEXT_BASE = 0x03F80000
+# Start 4MB before the end, as the frame buffer is allocate after
+# u-boot. 800x480 @ 32bpp takes 1.5MB alone, so let's play safe.
+TEXT_BASE = 0x03c00000
--
1.6.0.2
More information about the U-Boot
mailing list