lctr-b2xx: added patches for u-boot 2014.01-rc3.

This commit is contained in:
Ricardo Martins 2014-01-21 00:24:42 +00:00
parent 7d5ce0c2e4
commit 9cb6141508
3 changed files with 2 additions and 19 deletions

View File

@ -1,17 +0,0 @@
--- u-boot-2013.01/board/ti/am335x/board.c 2013-01-15 21:47:42.000000000 +0000
+++ u-boot-2013.01.rasm/board/ti/am335x/board.c 2013-04-09 18:39:45.938442622 +0100
@@ -73,6 +73,14 @@
return !strncmp(header.config, "SKU#02", 6);
}
+#ifndef CONFIG_SYS_DCACHE_OFF
+void enable_caches(void)
+{
+ /* Enable D-cache. I-cache is already enabled in start.S */
+ dcache_enable();
+}
+#endif
+
/*
* Read header information from EEPROM into global structure.
*/

View File

@ -112,8 +112,8 @@ index 0000000..89c5835
+#define CONFIG_BOOTCOMMAND \
+ "setenv bootargs \"console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} rootwait ro quiet\"; " \
+ "mmc dev 0; " \
+ "ext2load mmc0 0:2 ${loadaddr} /boot/kernel; " \
+ "ext2load mmc0 0:2 ${fdtaddr} /boot/board.dtb; " \
+ "ext4load mmc0 0:2 ${loadaddr} /boot/kernel; " \
+ "ext4load mmc0 0:2 ${fdtaddr} /boot/board.dtb; " \
+ "bootz ${loadaddr} - ${fdtaddr}; "
+
+#endif