]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/mcc200/mcc200.c
Merge with /home/hs/SC3/u-boot
[karo-tx-uboot.git] / board / mcc200 / mcc200.c
index 67969a601092c273c8678f6783117048e9f71c44..af047e2a0772a281303f99590ddc79fe1739bc12 100644 (file)
@@ -92,8 +92,8 @@ static void sdram_start (int hi_addr)
 
 /*
  * ATTENTION: Although partially referenced initdram does NOT make real use
- *            use of CFG_SDRAM_BASE. The code does not work if CFG_SDRAM_BASE
- *            is something else than 0x00000000.
+ *           use of CFG_SDRAM_BASE. The code does not work if CFG_SDRAM_BASE
+ *           is something else than 0x00000000.
  */
 
 long int initdram (int board_type)
@@ -228,10 +228,6 @@ int misc_init_r (void)
 {
        ulong flash_sup_end, snum;
 
-#ifdef CONFIG_AUTO_UPDATE
-       /* this has priority over all else */
-       do_auto_update();
-#endif
        /*
         * Adjust flash start and offset to detected values
         */
@@ -294,6 +290,9 @@ int misc_init_r (void)
                flash_info[0].sector_count = snum;
        }
 
+#ifdef CONFIG_AUTO_UPDATE
+       do_auto_update();
+#endif
        return (0);
 }