forked from OERV-BSP/u-boot
zipitz2: enable caches
It speeds up loading kernel from SD or USB a lot. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Marek Vasut <marex@denx.de>
This commit is contained in:
committed by
Tom Rini
parent
59deb7fe8d
commit
f9e8a98f16
@@ -30,10 +30,6 @@ inline void lcd_start(void) {};
|
||||
*/
|
||||
int board_init(void)
|
||||
{
|
||||
/* We have RAM, disable cache */
|
||||
dcache_disable();
|
||||
icache_disable();
|
||||
|
||||
/* arch number of Z2 */
|
||||
gd->bd->bi_arch_number = MACH_TYPE_ZIPIT2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user