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 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2016-11-23 23:42:16 -08:00 
		 
	
		
			
			
			
			
			
			2016-11-17 14:18:55 +01:00 
		 
	
		
			
			
			
			
			
			2016-11-21 09:20:32 -08:00 
		 
	
		
			
			
			
			
			
			2016-11-07 11:28:16 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-06 20:57:40 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-05-31 09:38:11 +02:00 
		 
	
		
			
			
			
			
			
			2016-01-14 22:11:34 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-12 08:26:59 +08:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:26:33 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-08-15 15:26:33 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-23 18:33:18 -04:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2016-08-15 15:29:03 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-08-15 15:29:03 -05:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:29:03 -05:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:29:03 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
			
			
			
			
			
			2016-05-24 11:42:03 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-13 20:03:33 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2016-08-22 14:21:20 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
			
			
			
			
			
			2016-09-06 13:18:19 -04:00 
		 
	
		
			
			
			
			
			
			2016-07-06 10:45:00 -05:00 
		 
	
		
			
			
			
			
			
			2016-01-14 22:11:34 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2016-11-07 11:28:15 -06:00 
		 
	
		
			
			
			
			
			
			2016-08-15 13:34:45 -05:00 
		 
	
		
			
			
			
			
			
			2016-08-15 13:34:45 -05:00 
		 
	
		
			
			
			
			
			
			2016-02-05 12:47:23 +08:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:26:33 -05:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:26:33 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-08-15 15:29:03 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-08-15 13:34:49 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-31 10:13:17 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-08-15 15:26:33 -05:00 
		 
	
		
			
			
			
			
			
			2016-09-23 17:55:42 -04:00 
		 
	
		
			
			
			
			
			
			2016-01-14 22:11:34 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-01-14 22:11:34 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-09-23 17:55:42 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-01-14 22:11:34 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-11-07 11:28:15 -06:00 
		 
	
		
			
			
			
			
			
			2016-11-28 20:15:18 -05:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2016-02-06 12:00:59 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2016-09-23 17:55:42 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-01 20:05:14 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-11 13:27:15 -05:00 
		 
	
		
			
			
			
			
			
			2016-11-07 11:28:15 -06:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:26:33 -05:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:29:03 -05:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:26:33 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-08-15 15:26:33 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-11-07 11:28:16 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-13 12:25:21 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-13 14:10:32 -06:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
			
			
			
			
			
			2016-05-02 18:37:09 -04:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2015-11-05 08:22:21 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
			
			
			
			
			
			2016-09-21 15:04:32 +02:00 
		 
	
		
			
			
			
			
			
			2016-02-05 12:47:23 +08:00 
		 
	
		
			
			
			
			
			
			2016-05-31 09:38:11 +02:00 
		 
	
		
			
			
			
			
			
			2016-02-01 22:14:02 +01:00 
		 
	
		
			
			
			
			
			
			2016-02-01 22:14:02 +01:00 
		 
	
		
			
			
			
			
			
			2016-02-01 22:14:02 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-13 12:25:29 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-21 17:39:40 -06:00 
		 
	
		
			
			
			
			
			
			2016-01-07 12:18:58 -07:00 
		 
	
		
			
			
			
			
			
			2016-09-23 17:55:42 -04:00 
		 
	
		
			
			
			
			
			
			2016-05-05 21:39:26 -04:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:29:03 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2015-09-11 17:14:43 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-11 17:14:43 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-28 15:10:31 -05:00 
		 
	
		
			
			
			
			
			
			2015-07-21 17:39:40 -06:00 
		 
	
		
			
			
			
			
			
			2016-09-23 17:55:42 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
			
			
			
			
			
			2016-09-23 17:55:42 -04:00 
		 
	
		
			
			
			
			
			
			2016-04-06 08:34:44 -07:00 
		 
	
		
			
			
			
			
			
			2016-04-04 20:28:38 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-23 22:25:27 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2015-04-18 11:11:33 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2016-01-27 15:57:20 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2016-12-02 14:36:02 +01:00