public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] [NEXT]arm: Enable dcache in jadecpu
@ 2010-12-03  8:47 Matthias Weisser
  2010-12-13  8:09 ` Matthias Weißer
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Weisser @ 2010-12-03  8:47 UTC (permalink / raw)
  To: u-boot

Enabling d cache leads to greatly improved image decompression times.

Signed-off-by: Matthias Weisser <weisserm@arcor.de>
---
 board/syteco/jadecpu/jadecpu.c |    1 +
 include/configs/jadecpu.h      |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/board/syteco/jadecpu/jadecpu.c b/board/syteco/jadecpu/jadecpu.c
index 69476f8..4919e06 100644
--- a/board/syteco/jadecpu/jadecpu.c
+++ b/board/syteco/jadecpu/jadecpu.c
@@ -44,6 +44,7 @@ int board_init(void)
 	gd->bd->bi_boot_params = PHYS_SDRAM + PHYS_SDRAM_SIZE - 0x10000;
 
 	icache_enable();
+	dcache_enable();
 
 	return 0;
 }
diff --git a/include/configs/jadecpu.h b/include/configs/jadecpu.h
index c119392..5a41c89 100644
--- a/include/configs/jadecpu.h
+++ b/include/configs/jadecpu.h
@@ -129,6 +129,7 @@
 #define CONFIG_CMD_FAT		1
 #define CONFIG_CMD_PING		1
 #define CONFIG_CMD_USB		1
+#define CONFIG_CMD_CACHE
 
 #define CONFIG_SYS_HUSH_PARSER
 #define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] [NEXT]arm: Enable dcache in jadecpu
  2010-12-03  8:47 [U-Boot] [PATCH] [NEXT]arm: Enable dcache in jadecpu Matthias Weisser
@ 2010-12-13  8:09 ` Matthias Weißer
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Weißer @ 2010-12-13  8:09 UTC (permalink / raw)
  To: u-boot

Am 03.12.2010 09:47, schrieb Matthias Weisser:
> Enabling d cache leads to greatly improved image decompression times.

Please do not apply this patch as it causes some commands to fail when 
dcache is enabled. I will investigate the problem a send a working patch.

Matthias

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-13  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03  8:47 [U-Boot] [PATCH] [NEXT]arm: Enable dcache in jadecpu Matthias Weisser
2010-12-13  8:09 ` Matthias Weißer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox