summaryrefslogtreecommitdiff
path: root/board/trab/trab.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-17 15:10:32 +0000
committerwdenk <wdenk>2003-09-17 15:10:32 +0000
commitf54ebdfa28a3c384cb4904f75f8228f3c6d748c5 (patch)
tree10a301981147099e9f930ac8ec042328e8c062fa /board/trab/trab.c
parent34b3049a60a37e180d73332ccddf706c049a0515 (diff)
downloadu-boot-imx-f54ebdfa28a3c384cb4904f75f8228f3c6d748c5.zip
u-boot-imx-f54ebdfa28a3c384cb4904f75f8228f3c6d748c5.tar.gz
u-boot-imx-f54ebdfa28a3c384cb4904f75f8228f3c6d748c5.tar.bz2
Add auto-update code for TRAB board using USB memory sticks
Diffstat (limited to 'board/trab/trab.c')
-rw-r--r--board/trab/trab.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/trab/trab.c b/board/trab/trab.c
index 71b3cbe..fb57f5b 100644
--- a/board/trab/trab.c
+++ b/board/trab/trab.c
@@ -169,6 +169,12 @@ int misc_init_r (void)
uchar *str;
int i;
+#ifdef CONFIG_AUTO_UPDATE
+ extern int do_auto_update(void);
+ /* this has priority over all else */
+ do_auto_update();
+#endif
+
for (i = 0; i < KEYBD_KEY_NUM; ++i) {
keybd_env[i] = '0' + ((kbd_data >> i) & 1);
}