summaryrefslogtreecommitdiff
path: root/board/trab/auto_update.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-10-14 19:43:55 +0000
committerwdenk <wdenk>2003-10-14 19:43:55 +0000
commit2d5b561e2bfdee8552a99b2cf93016cce2a74895 (patch)
tree33a47c8393624e338d0cc8914c773ab9613cb385 /board/trab/auto_update.c
parentf72da3406bf6f1c1bce9aa03b07d070413a916af (diff)
downloadu-boot-imx-2d5b561e2bfdee8552a99b2cf93016cce2a74895.zip
u-boot-imx-2d5b561e2bfdee8552a99b2cf93016cce2a74895.tar.gz
u-boot-imx-2d5b561e2bfdee8552a99b2cf93016cce2a74895.tar.bz2
* Make sure HUSH is initialized for running auto-update scripts
* Make 5200 reset command _really_ reset the board, without running any other code after it * Fix flash mapping and display on P3G4 board * Patch by Kyle Harris, 15 Jul 2003: - add support for Intel IXP425 CPU - add support for IXDP425 eval board
Diffstat (limited to 'board/trab/auto_update.c')
-rw-r--r--board/trab/auto_update.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c
index 345d2d4..40a92fd 100644
--- a/board/trab/auto_update.c
+++ b/board/trab/auto_update.c
@@ -204,6 +204,7 @@ extern int flash_write (uchar *, ulong, ulong);
extern int i2c_write_multiple (uchar, uint, int, void *, int);
extern int i2c_read_multiple (uchar, uint, int, void *, int);
extern block_dev_desc_t *get_dev (char*, int);
+extern int u_boot_hush_start(void);
int
au_check_valid(int idx, long nbytes)
@@ -538,6 +539,8 @@ do_auto_update(void)
aufl_layout[3].start = start;
aufl_layout[3].end = end;
}
+ /* make certain that HUSH is runnable */
+ u_boot_hush_start();
/* make sure that we see CTRL-C and save the old state */
old_ctrlc = disable_ctrlc(0);