diff options
author | Joe Hershberger <joe.hershberger@gmail.com> | 2016-01-26 11:57:03 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-04-04 20:27:54 +0200 |
commit | a509a1d40264516821d0ba2d1d6a6ab2e1a2acbd (patch) | |
tree | aff88d2bad79e4b7a346d6c8f7a5c84612ae097b /arch | |
parent | b7b3efe75a46c3d6bff43b7b314d1fff90ca65ec (diff) | |
download | u-boot-imx-a509a1d40264516821d0ba2d1d6a6ab2e1a2acbd.zip u-boot-imx-a509a1d40264516821d0ba2d1d6a6ab2e1a2acbd.tar.gz u-boot-imx-a509a1d40264516821d0ba2d1d6a6ab2e1a2acbd.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-zynq/include/mach/sys_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/include/mach/sys_proto.h b/arch/arm/mach-zynq/include/mach/sys_proto.h index 882beab..44c9b50 100644 --- a/arch/arm/mach-zynq/include/mach/sys_proto.h +++ b/arch/arm/mach-zynq/include/mach/sys_proto.h @@ -19,6 +19,8 @@ extern int zynq_slcr_get_mio_pin_status(const char *periph); extern void zynq_ddrc_init(void); extern unsigned int zynq_get_silicon_version(void); +int zynq_board_read_rom_ethaddr(unsigned char *ethaddr); + /* Driver extern functions */ extern void ps7_init(void); |