diff options
author | wdenk <wdenk> | 2002-11-11 02:11:37 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2002-11-11 02:11:37 +0000 |
commit | eb9401e3ebfa6a1550522be28895af461137f797 (patch) | |
tree | 54bfb93d9c8335071da38eaf6244625ba486515d /board/hymod | |
parent | 7f6c2cbc2bc0721c41bb776242c0b18ec70328e4 (diff) | |
download | u-boot-imx-eb9401e3ebfa6a1550522be28895af461137f797.zip u-boot-imx-eb9401e3ebfa6a1550522be28895af461137f797.tar.gz u-boot-imx-eb9401e3ebfa6a1550522be28895af461137f797.tar.bz2 |
* Patch by Andreas Oberritter, 09 Nov 2002:
Change behaviour of NetLoop(): return -1 for errors, filesize
otherwise; return code 0 is valid an means no file loaded - in this
case the environment still gets updated!
* Patches by Jon Diekema, 9 Nov 2002:
- improve ADC/DAC clocking on the SACSng board to align
the failing edges of LRCLK and SCLK
- sbc8260 configuration tweaks
- add status LED support for 82xx systems
- wire sspi/sspo commands into command handler; improved error
handlering
- add timestamp support and alternate memory test to the
SACSng configuration
Diffstat (limited to 'board/hymod')
-rw-r--r-- | board/hymod/bsp.c | 2 | ||||
-rw-r--r-- | board/hymod/fetch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/hymod/bsp.c b/board/hymod/bsp.c index a33c97c..2ceaeb5 100644 --- a/board/hymod/bsp.c +++ b/board/hymod/bsp.c @@ -197,7 +197,7 @@ do_fpga (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) copy_filename (BootFile, argv[2], sizeof (BootFile)); load_addr = simple_strtoul (argv[3], NULL, 16); - if (NetLoop (TFTP) == 0) { + if (NetLoop (TFTP) <= 0) { printf ("tftp transfer failed - aborting fgpa load\n"); return 1; } diff --git a/board/hymod/fetch.c b/board/hymod/fetch.c index 1511b08..dcbda31 100644 --- a/board/hymod/fetch.c +++ b/board/hymod/fetch.c @@ -89,7 +89,7 @@ fetch_and_parse(bd_t *bd, char *fn, ulong addr, int (*cback)(uchar *, uchar *)) copy_filename(BootFile, fn, sizeof (BootFile)); load_addr = addr; - if (NetLoop(TFTP) == 0) { + if (NetLoop(TFTP) <= 0) { printf("tftp transfer of file '%s' failed\n", fn); return (0); } |