am33xx: Update serial pdata
[oweals/u-boot.git] / arch / arm / cpu / pxa / pxa2xx.c
index c9a7d45392f3cb92f299a6d3cb6f62261d308656..2f12fb9c82553c74263e0b41e6116540cd5a3bfe 100644 (file)
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#include <common.h>
+#include <asm/arch/pxa-regs.h>
 #include <asm/io.h>
 #include <asm/system.h>
 #include <command.h>
-#include <common.h>
-#include <asm/arch/pxa-regs.h>
 
 /* Flush I/D-cache */
 static void cache_flush(void)
@@ -279,6 +279,7 @@ void reset_cpu(ulong ignored)
        tmp = readl(OSCR);
        tmp += 0x1000;
        writel(tmp, OSMR3);
+       writel(MDREFR_SLFRSH, MDREFR);
 
        for (;;)
                ;