summaryrefslogtreecommitdiff
path: root/board/mcc200/mcc200.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-12-21 14:50:33 +0100
committerStefan Roese <sr@denx.de>2006-12-21 14:50:33 +0100
commit78fddb8432f3f98d1427741d5f22996177d8fee9 (patch)
tree9fe8cb40a818690fe35604a3181457b5c9342675 /board/mcc200/mcc200.c
parent701f649aa304e547639fb8bbfdfec0753e9b3b9a (diff)
parentcdb97a6678826f85e7c69eae6a1c113d034c9b10 (diff)
downloadu-boot-imx-78fddb8432f3f98d1427741d5f22996177d8fee9.zip
u-boot-imx-78fddb8432f3f98d1427741d5f22996177d8fee9.tar.gz
u-boot-imx-78fddb8432f3f98d1427741d5f22996177d8fee9.tar.bz2
Merge with git+ssh://sr@pollux.denx.org/home/sr/git/u-boot/denx/.git
Diffstat (limited to 'board/mcc200/mcc200.c')
-rw-r--r--board/mcc200/mcc200.c5
1 files changed, 5 insertions, 0 deletions
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
*/