diff options
author | Wolfgang Denk | 2007-01-10 01:28:39 +0100 |
---|---|---|
committer | Wolfgang Denk | 2007-01-10 01:28:39 +0100 |
commit | 787fa15860a57833e50bd30555079a9cd4e519b8 (patch) | |
tree | ddf344513127a6ebb7505be0f87eaa00dd2885f6 /board/mcc200/mcc200.c | |
parent | f4eb54529bb3664c3a562e488b460fe075f79d67 (diff) |
Fix auto_update for MCC200 board.
The invocation of do_auto_update() is moved to the end of the
misc_init_r() function, after the flash mappings have been
initialized. Please find attached a patch that implements that
change.
Also correct the decoding of the keypad status. With this update, the
key that will trigger the update is Column 2, Row 2.
Diffstat (limited to 'board/mcc200/mcc200.c')
-rw-r--r-- | board/mcc200/mcc200.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/board/mcc200/mcc200.c b/board/mcc200/mcc200.c index 67969a60109..554c51d93fa 100644 --- a/board/mcc200/mcc200.c +++ b/board/mcc200/mcc200.c @@ -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); } |