ARM: stm32: Allow overriding setup_mac_address()
authorMarek Vasut <marex@denx.de>
Wed, 18 Dec 2019 15:52:19 +0000 (16:52 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 17 Jan 2020 10:44:42 +0000 (11:44 +0100)
commite71b9a64a28d16d044d1bceda1a9e69679b2769e
treea3e3d98a1226c05ca1adf626050f7c2155c88f18
parent541911f479bf68079269d2716589c0cc0ee732ff
ARM: stm32: Allow overriding setup_mac_address()

Let board code override setup_mac_address(), which is useful e.g. if the
board derives the MAC address from another source, like an I2C EEPROM.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-stm32mp/include/mach/sys_proto.h