u-boot-brain/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 treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
fpga treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
gpio gpio: bcm2835: add device tree support 2016-11-28 20:09:45 -05:00
hwmon mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
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 memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
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 dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
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 remoteproc: Add support for TI power processor 2016-03-14 19:18:37 -04:00
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 Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound
spi spi: Add a debug() on bind failure 2016-11-25 17:59:30 -07:00
spmi Merge git://git.denx.de/u-boot-dm 2016-08-12 16:00:50 -04:00
sysreset xtensa: add support for the 'xtfpga' evaluation board 2016-08-15 18:46:40 -04:00
thermal thermal: Kconfig: Add IMX_THERMAL entry 2016-10-26 16:53:16 +02:00
timer Merge git://git.denx.de/u-boot-dm 2016-03-14 19:21:44 -04:00
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 drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 3k 2016-09-27 17:29:53 +02:00
Makefile spl: add USB Gadget config option 2016-11-28 19:49:49 -05:00