u-boot/common
Stefan Roese ab5a0dcb9c net: Use 0.5 sec timeout in miiphy_reset() instead of counting loop
This patch fixes a problem I've notived on a buggy PPC4xx system. This
system has problems with the PHY MDIO communication and seemed to be
stuck/crashed in miiphy_reset(). But degugging revealed, that the CPU
didn't crash, but "only" hung in this counting loop for about 2 minutes.

This patch now uses a real timeout of 0.5 seconds (as mentioned in the
comment in miiphy_reset).

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2010-02-06 22:52:21 -08:00
..
bedbug.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
cmd_ambapp.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bdinfo.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bedbug.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bmp.c move prototypes for gunzip() and zunzip() to common.h 2009-12-21 21:39:59 +01:00
cmd_boot.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bootldr.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_bootm.c gzip/zlib: make features optional 2010-01-26 00:04:57 +01:00
cmd_cache.c Remove superfluous preprocessor tests from some cmd_*.c files. 2009-12-02 23:46:45 +01:00
cmd_console.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
cmd_cplbinfo.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_cramfs.c CRAMFS: support cramfs in RAM 2010-01-18 00:44:13 +01:00
cmd_dataflash_mmc_mux.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_date.c cmd_date: Fix spelling in error message. 2009-12-02 23:28:10 +01:00
cmd_dcr.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_df.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_diag.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_display.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_dtt.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_echo.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
cmd_eeprom.c cmd_eeprom: I2C updates 2010-01-18 00:42:37 +01:00
cmd_elf.c Less verbose output when loading vxworks 6.x images 2009-07-27 00:15:53 +02:00
cmd_exit.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
cmd_ext2.c Fix ext2load return code 2009-07-28 22:38:53 +02:00
cmd_fat.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_fdc.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_fdos.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_fdt.c common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
cmd_flash.c cmd_flash.c: fix fix compile error for boards with DataFlash 2009-07-19 19:36:14 +02:00
cmd_fpga.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_help.c cmd_help: General cleanup 2009-11-23 00:06:12 +01:00
cmd_i2c.c i2c: fix dangling comment in do_i2c_mw() 2009-12-07 22:58:46 +01:00
cmd_ide.c common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
cmd_immap.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_irq.c Move do_irqinfo() to common/cmd_irq.c 2009-12-02 23:23:20 +01:00
cmd_itest.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_jffs2.c jffs2: fix hangs/crashs when not using CONFIG_JFFS2_PART_SIZE 2010-01-26 00:07:50 +01:00
cmd_license.c move prototypes for gunzip() and zunzip() to common.h 2009-12-21 21:39:59 +01:00
cmd_load.c Remove deprecated 'autoscr' command/variables 2009-09-22 23:03:24 +02:00
cmd_log.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
cmd_mac.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_mem.c move prototypes for gunzip() and zunzip() to common.h 2009-12-21 21:39:59 +01:00
cmd_mfsl.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_mgdisk.c Remove superfluous preprocessor tests from some cmd_*.c files. 2009-12-02 23:46:45 +01:00
cmd_mii.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_misc.c Move do_irqinfo() to common/cmd_irq.c 2009-12-02 23:23:20 +01:00
cmd_mmc.c cmd_mmc: make curr_device static 2009-07-17 22:14:41 +02:00
cmd_mp.c Add support to disable cpu's in multicore processors 2010-01-26 23:17:49 -06:00
cmd_mtdparts.c cmd_mtdparts.c: fix compiler warning in debug code 2009-09-04 22:58:57 +02:00
cmd_nand.c cmd_nand: Move conditional compilation to Makefile 2009-11-13 16:56:14 -06:00
cmd_net.c Remove deprecated 'autoscr' command/variables 2009-09-22 23:03:24 +02:00
cmd_nvedit.c Add 'editenv' command 2009-10-27 20:58:25 +01:00
cmd_onenand.c common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL 2009-12-08 22:14:07 +01:00
cmd_otp.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_pci.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_pcmcia.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_portio.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_reginfo.c ppc4xx: Rework cmd reginfo 2009-10-07 09:15:26 +02:00
cmd_reiser.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_sata.c sata: namespace curr_device variable 2009-07-17 22:15:27 +02:00
cmd_scsi.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_setexpr.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_sf.c sf: add GPL-2 license info 2009-10-24 22:44:18 +02:00
cmd_source.c Remove deprecated 'autoscr' command/variables 2009-09-22 23:03:24 +02:00
cmd_spi.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_spibootldr.c Blackfin: new spibootldr command 2009-06-14 20:01:04 -04:00
cmd_strings.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_terminal.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
cmd_test.c Add 'true' and 'false' commands 2009-11-23 00:06:13 +01:00
cmd_tsi148.c cmd_tsi148: General cleanup 2009-07-23 21:33:02 +02:00
cmd_ubi.c ubi: help message correction 2009-07-20 23:54:57 +02:00
cmd_ubifs.c Command improvements for ubifs 2009-07-09 13:04:25 +02:00
cmd_universe.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_usb.c usb: write command for RAW partition. 2009-12-20 12:53:00 +01:00
cmd_version.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
cmd_vfd.c General help message cleanup 2009-06-12 20:47:16 +02:00
cmd_ximg.c cmd_ximg.c: fix error: 'i' undeclared 2010-01-31 21:51:43 +01:00
cmd_yaffs2.c General help message cleanup 2009-06-12 20:47:16 +02:00
command.c command.c: Break commands out to appropriate cmd_*.c files 2009-11-23 00:06:11 +01:00
console.c bugfix CONFIG_SYS_CONSOLE_INFO_QUIET 2009-08-30 21:00:21 +02:00
ddr_spd.c fsl-ddr: add the DDR3 SPD infrastructure 2009-03-30 13:33:50 -05:00
dlmalloc.c malloc: return NULL if not initialized yet 2010-01-15 13:26:20 +01:00
dlmalloc.src * Code cleanup: 2003-06-27 21:31:46 +00:00
env_common.c Conditionally perform common relocation fixups 2009-10-03 10:17:57 +02:00
env_dataflash.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_eeprom.c env, eeprom: add redundant environment support 2010-01-18 00:43:16 +01:00
env_embedded.c Revert "env: only build env_embedded and envcrc when needed" 2009-10-27 20:46:31 +01:00
env_flash.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_mgdisk.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_nand.c env_nand.c: print error message and fail gracefully 2010-01-27 14:22:41 -06:00
env_nowhere.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_nvram.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
env_onenand.c onenand: Fix compile errors due to FlexOneNAND 2010-01-06 16:28:00 -06:00
env_sf.c env: kill off default_environment_size 2009-08-09 22:41:42 +02:00
exports.c exports: rewrite jump table init 2009-12-02 22:53:51 +01:00
fdt_support.c fdt_support: Add multi-serial support for stdout fixup 2009-10-26 21:35:50 -05:00
flash.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
hush.c Conditionally perform common relocation fixups 2009-10-03 10:17:57 +02:00
hwconfig.c Add simple hwconfig infrastructure 2009-07-16 22:23:53 +02:00
image.c mkimage: Add Freescale imx Boot Image support (imximage) 2010-01-25 23:58:29 +01:00
iomux.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
kallsyms.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
kgdb_stubs.c kgdb: add default generic stubs 2010-01-18 00:23:00 +01:00
kgdb.c kgdb: update mem2hex/hex2mem funcs 2010-01-18 00:24:21 +01:00
lcd.c lcd: remove CONFIG_ATMEL_LCD ifdefs from lcd_setfgcolor 2010-01-27 21:23:30 +01:00
lynxkdi.c Fix implicit declaration of function 'eth_[gs]etenv_enetaddr' 2009-03-28 20:16:16 +01:00
main.c readline(): Add ability to modify a string buffer 2009-10-27 20:58:25 +01:00
Makefile CRAMFS: support cramfs in RAM 2010-01-18 00:44:13 +01:00
memsize.c Sequential accesses to non-existent memory must be synchronized, 2006-11-06 17:06:36 +01:00
miiphyutil.c net: Use 0.5 sec timeout in miiphy_reset() instead of counting loop 2010-02-06 22:52:21 -08:00
modem.c make MODEM SUPPORT generic instead of duplicate it 2009-06-12 20:45:47 +02:00
s_record.c Initial revision 2002-08-17 09:36:01 +00:00
serial.c s5pc1xx: support serial driver 2009-10-13 21:13:55 -05:00
stdio.c arm/microblaze/nios/nios2/sh: Remove relocation fixups 2009-10-03 10:17:57 +02:00
system_map.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
update.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
usb_kbd.c USB Consolidate descriptor definitions 2009-12-20 12:47:37 +01:00
usb_storage.c usb: write command for RAW partition. 2009-12-20 12:53:00 +01:00
usb.c USB: usb_control_msg wait for driver ISR to set status. 2010-02-03 22:06:59 +01:00
xyzModem.c common: fix 'dummy' is used uninitialized in this function warning 2009-07-19 21:37:02 +02:00