From cdb97a6678826f85e7c69eae6a1c113d034c9b10 Mon Sep 17 00:00:00 2001 From: Andrei Safronov Date: Fri, 8 Dec 2006 16:23:08 +0100 Subject: automatic update mechanism --- board/mcc200/mcc200.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'board/mcc200/mcc200.c') diff --git a/board/mcc200/mcc200.c b/board/mcc200/mcc200.c index 5d74bde..67969a6 100644 --- a/board/mcc200/mcc200.c +++ b/board/mcc200/mcc200.c @@ -44,6 +44,7 @@ DECLARE_GLOBAL_DATA_PTR; extern flash_info_t flash_info[]; /* FLASH chips info */ +extern int do_auto_update(void); ulong flash_get_size (ulong base, int banknum); #ifndef CFG_RAMBOOT @@ -227,6 +228,10 @@ 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 */ -- cgit v1.1