Merge branch 'sf' of git://git.denx.de/u-boot-blackfin
[oweals/u-boot.git] / arch / arm / cpu / armv7 / tegra2 / board.c
index 404d34c230a6b57816d07e247a295d333b2d108b..349d50e1ac4adbc1b509d0d5a7302d384a42c663 100644 (file)
@@ -120,7 +120,7 @@ static void setup_uarts(int uart_ids)
                if (uart_ids & (1 << i)) {
                        enum periph_id id = id_for_uart[i];
 
-                       funcmux_select(id, 0);
+                       funcmux_select(id, FUNCMUX_DEFAULT);
                        clock_ll_start_uart(id);
                }
        }
@@ -141,3 +141,11 @@ void board_init_uart_f(void)
 #endif
        setup_uarts(uart_ids);
 }
+
+#ifndef CONFIG_SYS_DCACHE_OFF
+void enable_caches(void)
+{
+       /* Enable D-cache. I-cache is already enabled in start.S */
+       dcache_enable();
+}
+#endif