]> git.sur5r.net Git - u-boot/commit
net: gem: Allow to set the MAC from an EEPROM
authorJoe Hershberger <joe.hershberger@gmail.com>
Tue, 26 Jan 2016 17:57:03 +0000 (11:57 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 4 Apr 2016 18:27:54 +0000 (20:27 +0200)
commita509a1d40264516821d0ba2d1d6a6ab2e1a2acbd
treeaff88d2bad79e4b7a346d6c8f7a5c84612ae097b
parentb7b3efe75a46c3d6bff43b7b314d1fff90ca65ec
net: gem: Allow to set the MAC from an EEPROM

Provide board specific option how to read MAC address from ROM.
Do it in generic way to be reusable by differnet boards.
If this is not enough board specific functions can be created.

Signed-off-by: Joe Hershberger <joe.hershberger@gmail.com> # driver part
Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/include/mach/sys_proto.h
board/xilinx/zynq/board.c
drivers/net/zynq_gem.c