summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorJustin Waters <justin@justin-linux.(none)>2008-01-21 13:46:21 -0500
committerJustin Waters <justin@justin-linux.(none)>2008-01-21 13:46:21 -0500
commit037af3481edfb2b7a3fbed1dffd277df25f677b9 (patch)
tree2c39b8891b4494298b7ee447c480645d96e13bdb /lib_arm
parentba999c531ed16ec749b2b6f4b0133cee38842b91 (diff)
Add Atmel AT91 patch version 1.5
This patch adds support for the following boards: AT91RM9200-EK AT91SAM9260-EK AT91SAM9261-EK AT91SAM9263-EK AT91SAM9RL-EK It was downloaded from http://www.linux4sam.org/twiki/pub/Linux4SAM/U-Boot/u-boot-1.1.5_atmel_1.5.diff.bz2 Signed-off-by: Justin Waters <justin.waters@timesys.com>
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index babc2543eb..c275a2d2dd 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -284,6 +284,9 @@ void start_armboot (void)
# ifndef PAGE_SIZE
# define PAGE_SIZE 4096
# endif
+
+#if !defined (CONFIG_AT91SAM9261EK) && !defined (CONFIG_AT91SAM9263EK) && \
+ !defined (CONFIG_AT91SAM9RLEK)
/*
* reserve memory for LCD display (always full pages)
*/
@@ -291,6 +294,7 @@ void start_armboot (void)
addr = (_bss_end + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1);
size = lcd_setmem (addr);
gd->fb_base = addr;
+#endif
#endif /* CONFIG_LCD */
/* armboot_start is defined in the board-specific linker script */