summaryrefslogtreecommitdiff
path: root/board/trab/auto_update.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-02-24 22:44:16 +0000
committerwdenk <wdenk>2005-02-24 22:44:16 +0000
commit151ab83a936e66cf56971a0e0340609528474734 (patch)
tree0351989a9804330e02c7351c655d0102c6a00dcd /board/trab/auto_update.c
parentb9649854f6ffdeaad23daec21013552cef2e05f0 (diff)
downloadu-boot-imx-151ab83a936e66cf56971a0e0340609528474734.zip
u-boot-imx-151ab83a936e66cf56971a0e0340609528474734.tar.gz
u-boot-imx-151ab83a936e66cf56971a0e0340609528474734.tar.bz2
* Add support for ext2 filesystems and image timestamps to TQM5200 board
* Add reset code for Coral-P on INKA4x0 board * Patch by Martin Krause, 28 Jun 2004: Update for TRAB board. * Fix some missing "volatile"s in MPC5xxx FEC driver
Diffstat (limited to 'board/trab/auto_update.c')
-rw-r--r--board/trab/auto_update.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c
index 393e094..0399fe8 100644
--- a/board/trab/auto_update.c
+++ b/board/trab/auto_update.c
@@ -416,6 +416,13 @@ au_update_eeprom(int idx)
int off;
uint32_t val;
+ /* special case for prepare.img */
+ if (idx == IDX_PREPARE) {
+ /* enable the power switch */
+ *CPLD_VFD_BK &= ~POWER_OFF;
+ return 0;
+ }
+
hdr = (image_header_t *)LOAD_ADDR;
/* write the time field into EEPROM */
off = auee_off[idx].time;