uboot/common
Michal Simek 15a2acdf85 common: miiphyutil: Work and report phy address in hex in mdio cmd
It is confusing that mdio commands work and report phy id as
decimal value when mii is working with hex values.

For example:
ZynqMP> mdio list
gem:
21 - TI DP83867 <--> ethernet@ff0e0000
ZynqMP> mdio read ethernet@ff0e0000 0
Reading from bus gem
PHY at address 21:
0 - 0x1140
ZynqMP> mii dump 21 0
Incorrect PHY address. Range should be 0-31
...
ZynqMP> mii dump 15
0.     (1140)                 -- PHY control register --
  (8000:0000) 0.15    =     0    reset

U-Boot normally takes hex values that's why this patch is changing mdio
command to handle hex instead of changing mii command to handle decimal
values.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-12-02 14:36:02 +01:00
..
eeprom
init
spl SPL: mmc: Make spl_mmc_load_image available 2016-12-01 14:06:41 +09:00
Kconfig Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-10-28 11:12:03 -04:00
Makefile common: dfu: saperate the dfu common functionality 2016-09-27 23:30:18 +02:00
autoboot.c
bedbug.c
board_f.c board_f: Drop the extra fdtdec_prepare_fdt() 2016-10-11 11:55:33 +08:00
board_info.c generic-board: make show_board_info a weak function 2016-11-28 15:10:32 -05:00
board_r.c common/board_f: enable initr_trap for MIPS 2016-11-30 16:13:05 +01:00
bootm.c bootm: fix passing argc to standalone apps 2016-10-01 20:04:37 -04:00
bootm_os.c
bootretry.c
bootstage.c
bouncebuf.c
cli.c
cli_hush.c
cli_readline.c
cli_simple.c
command.c
console.c Convert CONSOLE_PRE_CONSOLE_BUFFER options to Kconfig 2016-10-23 18:33:19 -04:00
cros_ec.c
ddr_spd.c
dfu.c cmd: dfu: Add error handling for board_usb_init 2016-11-03 11:55:25 +01:00
dlmalloc.c
dlmalloc.src
edid.c
env_attr.c
env_callback.c
env_common.c Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
env_dataflash.c
env_eeprom.c
env_embedded.c tools/env: Correct include kconfig 2016-11-23 23:41:23 -08:00
env_ext4.c
env_fat.c
env_flags.c
env_flash.c
env_mmc.c
env_nand.c
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c
env_sata.c
env_sf.c
env_ubi.c
exports.c
fb_mmc.c fastboot: move FASTBOOT_FLASH options into Kconfig 2016-10-01 20:04:59 -04:00
fb_nand.c
fdt_support.c cmd/fdt: add possibilty to have 'extrasize' on fdt resize 2016-10-13 13:54:10 -06:00
flash.c
hash.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
hwconfig.c
ide.c
image-android.c
image-fdt.c cmd/fdt: add possibilty to have 'extrasize' on fdt resize 2016-10-13 13:54:10 -06:00
image-fit.c image-fit: Fix compiling error caused by autoconf.h 2016-11-23 10:40:08 -08:00
image-sig.c image: Combine image_sig_algo with image_sign_info 2016-11-21 14:07:31 -05:00
image-sparse.c
image.c image: Protect against overflow in unknown_msg() 2016-11-05 07:27:43 -04:00
iomux.c
iotrace.c
kallsyms.c
kgdb.c
kgdb_stubs.c
lcd.c
lcd_console.c
lcd_console_rotation.c
lcd_simplefb.c
lynxkdi.c
main.c
malloc_simple.c
memsize.c
menu.c
miiphyutil.c common: miiphyutil: Work and report phy address in hex in mdio cmd 2016-12-02 14:36:02 +01:00
s_record.c
sata.c sata: fix sata command can not being executed bug 2016-11-28 19:49:47 -05:00
scsi.c
splash.c
splash_source.c
stdio.c stdio: Correct numbering logic in stdio_probe_device() 2016-11-25 17:59:30 -07:00
system_map.c
update.c
usb.c usb: squash lines for immediate return 2016-09-23 17:53:48 -04:00
usb_hub.c
usb_kbd.c Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig 2016-10-23 18:34:17 -04:00
usb_storage.c usb: squash lines for immediate return 2016-09-23 17:53:48 -04:00
xyzModem.c xyz-modem: Change getc timeout loop waiting 2016-11-28 19:49:48 -05:00