u-boot/cmd
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
..
fastboot
aes.c
ambapp.c
armflash.c
bdinfo.c
bedbug.c
blkcache.c
blob.c
bmp.c
boot.c
bootefi.c
booti.c
bootldr.c
bootm.c
bootmenu.c
bootstage.c
bootz.c
cache.c
cbfs.c
clk.c
console.c
cplbinfo.c
cpu.c
cramfs.c
cros_ec.c
dataflash_mmc_mux.c
date.c
dcr.c
demo.c
dfu.c
diag.c
disk.c
display.c
dtt.c
echo.c
eeprom.c
efi.c
elf.c
ethsw.c
exit.c
ext2.c
ext4.c
fastboot.c
fat.c
fdc.c
fdt.c
fitupd.c
flash.c
fpga.c
fpgad.c
fs.c
fs_uuid.c
fuse.c
gettime.c
gpio.c
gpt.c
hash.c
help.c
host.c
i2c.c
ide.c
immap.c
ini.c
io.c
iotrace.c
irq.c
itest.c
jffs2.c
Kconfig mmc: add bkops-enable command 2016-12-01 11:09:44 +09:00
ldrinfo.c
led.c
license.c
load.c
log.c
lzmadec.c
mac.c
Makefile
md5sum.c
mdio.c common: miiphyutil: Work and report phy address in hex in mdio cmd 2016-12-02 14:36:02 +01:00
mem.c
mfsl.c
mii.c
misc.c
mmc.c mmc: add bkops-enable command 2016-12-01 11:09:44 +09:00
mmc_spi.c
mp.c
mtdparts.c
nand.c
net.c
nvedit.c
onenand.c
otp.c
part.c
pci.c
pcmcia.c
pmic.c
portio.c
pxe.c
qfw.c
read.c
reginfo.c
regulator.c
reiser.c
remoteproc.c
sata.c sata: fix sata command can not being executed bug 2016-11-28 19:49:47 -05:00
scsi.c
setexpr.c
sf.c
sha1sum.c
softswitch.c
sound.c
source.c
spi.c
spibootldr.c
spl.c
strings.c
terminal.c
test.c
thordown.c
time.c
tpm.c
tpm_test.c
trace.c
tsi148.c
ubi.c
ubifs.c
universe.c
unzip.c
usb.c
usb_mass_storage.c
version.c
ximg.c
yaffs2.c
zfs.c
zip.c