|
@@ -71,6 +71,14 @@ u32 get_cpu_rev(void)
|
|
return system_rev;
|
|
return system_rev;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifndef CONFIG_SYS_DCACHE_OFF
|
|
|
|
+void enable_caches(void)
|
|
|
|
+{
|
|
|
|
+ /* Enable D-cache. I-cache is already enabled in start.S */
|
|
|
|
+ dcache_enable();
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
+
|
|
#if defined(CONFIG_FEC_MXC)
|
|
#if defined(CONFIG_FEC_MXC)
|
|
void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
|
|
void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
|
|
{
|
|
{
|