|
@@ -305,10 +305,6 @@ void main_loop (void)
|
|
trab_vfd (bmp);
|
|
trab_vfd (bmp);
|
|
#endif /* CONFIG_VFD && VFD_TEST_LOGO */
|
|
#endif /* CONFIG_VFD && VFD_TEST_LOGO */
|
|
|
|
|
|
-#if defined(CONFIG_UPDATE_TFTP)
|
|
|
|
- update_tftp ();
|
|
|
|
-#endif /* CONFIG_UPDATE_TFTP */
|
|
|
|
-
|
|
|
|
#ifdef CONFIG_BOOTCOUNT_LIMIT
|
|
#ifdef CONFIG_BOOTCOUNT_LIMIT
|
|
bootcount = bootcount_load();
|
|
bootcount = bootcount_load();
|
|
bootcount++;
|
|
bootcount++;
|
|
@@ -369,6 +365,10 @@ void main_loop (void)
|
|
}
|
|
}
|
|
#endif /* CONFIG_PREBOOT */
|
|
#endif /* CONFIG_PREBOOT */
|
|
|
|
|
|
|
|
+#if defined(CONFIG_UPDATE_TFTP)
|
|
|
|
+ update_tftp ();
|
|
|
|
+#endif /* CONFIG_UPDATE_TFTP */
|
|
|
|
+
|
|
#if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0)
|
|
#if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0)
|
|
s = getenv ("bootdelay");
|
|
s = getenv ("bootdelay");
|
|
bootdelay = s ? (int)simple_strtol(s, NULL, 10) : CONFIG_BOOTDELAY;
|
|
bootdelay = s ? (int)simple_strtol(s, NULL, 10) : CONFIG_BOOTDELAY;
|