mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-16 11:41:36 +00:00
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> |
||
---|---|---|
.. | ||
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 | ||
ldrinfo.c | ||
led.c | ||
license.c | ||
load.c | ||
log.c | ||
lzmadec.c | ||
mac.c | ||
Makefile | ||
md5sum.c | ||
mdio.c | ||
mem.c | ||
mfsl.c | ||
mii.c | ||
misc.c | ||
mmc.c | ||
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 | ||
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 |