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 bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block dm: blk: Enable CONFIG_BLK if DM_MMC is enabled 2016-10-11 10:15:53 -06:00
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 Fix codying style broken by recent libfdt sync 2016-10-24 08:04:42 -04:00
cpu cpu: Add get_vendor callback 2016-10-19 09:01:51 +02:00
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 dfu: align array in dfu_get_dev_type with enum dfu_device_type 2016-11-03 11:55:25 +01:00
dma
fpga
gpio gpio: bcm2835: add device tree support 2016-11-28 20:09:45 -05:00
hwmon
i2c sunxi: Rename CONFIG_SUNXI to CONFIG_ARCH_SUNXI 2016-10-30 11:38:04 +01:00
input powerpc: MPC8555: Remove macro CONFIG_MPC8555 2016-11-23 23:42:05 -08:00
led
mailbox libfdt: Bring in upstream stringlist functions 2016-10-13 13:54:10 -06:00
memory
misc Merge git://git.denx.de/u-boot-dm 2016-10-12 20:48:43 -04:00
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 pci: Move CONFIG_PCI_PNP to Kconfig 2016-10-28 07:13:52 -04:00
pcmcia
phy/marvell libfdt: Sync fdt_for_each_subnode() with upstream 2016-10-13 14:10:32 -06:00
pinctrl Fix codying style broken by recent libfdt sync 2016-10-24 08:04:42 -04:00
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 libfdt: Bring in upstream stringlist functions 2016-10-13 13:54:10 -06:00
rtc rtc: Use CONFIG_X86 instead of __I386__ 2016-10-11 11:55:33 +08:00
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 thermal: Kconfig: Add IMX_THERMAL entry 2016-10-26 16:53:16 +02:00
timer
tpm tpm: Tidy up use of size_t 2016-10-11 11:55:33 +08:00
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 imx_watchdog: Do not assert WDOG_B on watchdog init 2016-10-04 12:01:14 +02:00
Kconfig
Makefile spl: add USB Gadget config option 2016-11-28 19:49:49 -05:00