uboot/drivers
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
..
adc
bios_emulator
block
bootcount bootcounter_ram: Fix misaligned cache warning 2016-11-28 15:10:34 -05:00
clk rockchip: clk: Support setting ACLK 2016-11-25 17:59:31 -07:00
core
cpu
crypto powerpc: C29X: Move CONFIG_PPC_C29X to Kconfig option 2016-11-23 23:42:04 -08:00
ddr powerpc: MPC8555: Remove macro CONFIG_MPC8555 2016-11-23 23:42:05 -08:00
demo
dfu
dma
fpga
gpio gpio: bcm2835: add device tree support 2016-11-28 20:09:45 -05:00
hwmon
i2c
input powerpc: MPC8555: Remove macro CONFIG_MPC8555 2016-11-23 23:42:05 -08:00
led
mailbox
memory
misc
mmc mmc: Tinification of the mmc code 2016-12-01 13:51:57 +09:00
mtd mtd: nand: add support for the TC58NVG2S0H chip 2016-11-28 15:10:30 -05:00
net common: miiphyutil: Work and report phy address in hex in mdio cmd 2016-12-02 14:36:02 +01:00
pch
pci
pcmcia
phy/marvell
pinctrl
power power: regulator: Add limits checking while setting current 2016-11-25 17:59:26 -07:00
pwm pwm: imx: increase support up to PWM8 for i.MX6SX 2016-11-29 16:34:27 +01:00
qe powerpc: P1025: Remove macro CONFIG_P1025 2016-11-23 23:42:10 -08:00
ram
remoteproc
reset
rtc
serial serial: bcm283x_mu: support disabling after initialization 2016-11-28 20:09:50 -05:00
soc
sound
spi spi: Add a debug() on bind failure 2016-11-25 17:59:30 -07:00
spmi
sysreset
thermal
timer
tpm
twserial
usb spl: add USB Gadget config option 2016-11-28 19:49:49 -05:00
video bcm2835 video: Map frame buffer as 32bpp 2016-11-28 20:15:20 -05:00
watchdog
Kconfig
Makefile spl: add USB Gadget config option 2016-11-28 19:49:49 -05:00