]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: axi_emac: Put iobase to private structure
authorMichal Simek <michal.simek@xilinx.com>
Wed, 9 Dec 2015 13:39:42 +0000 (14:39 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:50 +0000 (15:55 +0100)
commit6609f35b9386f54af1c2ea43a4eb75fce3dc648f
treed7e3810cf64bf1b3b5e16c55b2d3ed06cef7124b
parentf36bbcceba2891bec17add339c7ff3241c3f6d94
net: axi_emac: Put iobase to private structure

Saving iobase directly to private structure helps with moving to DM.
There is an option to load iobase from pdata but it is additional load.
Pointer to private structure is available all the time.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/xilinx_axi_emac.c