Skip to content
Snippets Groups Projects
Commit f9e8a98f authored by Vasily Khoruzhick's avatar Vasily Khoruzhick Committed by Tom Rini
Browse files

zipitz2: enable caches


It speeds up loading kernel from SD or USB a lot.

Signed-off-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
parent 59deb7fe
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -27,8 +27,6 @@
#define CONFIG_ENV_ADDR 0x40000
#define CONFIG_ENV_SIZE 0x10000
#define CONFIG_SYS_DCACHE_OFF
#define CONFIG_SYS_MALLOC_LEN (128*1024)
#define CONFIG_ARCH_CPU_INIT
......@@ -65,6 +63,7 @@
#define CONFIG_CMD_MMC
#define CONFIG_CMD_SPI
#define CONFIG_CMD_USB
#define CONFIG_CMD_CACHE
/*
* MMC Card Configuration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment