[U-Boot] [PATCH] ads5121: enable instruction cache

wd at denx.de wd at denx.de
Thu Mar 26 10:06:26 CET 2009


From: Wolfgang Denk <wd at denx.de>

Enabling the instruction cache significantly accelerates U-Boot
operations like CRC checking, image uncompression, etc.

Kudos to Andrea Scian for pointing out.

Signed-off-by: Wolfgang Denk <wd at denx.de>
---
 include/configs/ads5121.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/configs/ads5121.h b/include/configs/ads5121.h
index 8fda3f2..d879024 100644
--- a/include/configs/ads5121.h
+++ b/include/configs/ads5121.h
@@ -411,7 +411,7 @@
 #endif
 
 #define CONFIG_SYS_HID0_INIT	0x000000000
-#define CONFIG_SYS_HID0_FINAL	HID0_ENABLE_MACHINE_CHECK
+#define CONFIG_SYS_HID0_FINAL	(HID0_ENABLE_MACHINE_CHECK | HID0_ICE)
 #define CONFIG_SYS_HID2	HID2_HBE
 
 #define CONFIG_HIGH_BATS	1	/* High BATs supported */
-- 
1.6.0.6



More information about the U-Boot mailing list