aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-12-18 16:52:19 +0100
committerPatrick Delaunay <patrick.delaunay@st.com>2020-01-17 11:44:42 +0100
commite71b9a64a28d16d044d1bceda1a9e69679b2769e (patch)
treea3e3d98a1226c05ca1adf626050f7c2155c88f18 /arch/arm/mach-stm32mp/include
parent541911f479bf68079269d2716589c0cc0ee732ff (diff)
downloadu-boot-e71b9a64a28d16d044d1bceda1a9e69679b2769e.zip
u-boot-e71b9a64a28d16d044d1bceda1a9e69679b2769e.tar.gz
u-boot-e71b9a64a28d16d044d1bceda1a9e69679b2769e.tar.bz2
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>
Diffstat (limited to 'arch/arm/mach-stm32mp/include')
-rw-r--r--arch/arm/mach-stm32mp/include/mach/sys_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/include/mach/sys_proto.h b/arch/arm/mach-stm32mp/include/mach/sys_proto.h
index 99eefab..47e5792 100644
--- a/arch/arm/mach-stm32mp/include/mach/sys_proto.h
+++ b/arch/arm/mach-stm32mp/include/mach/sys_proto.h
@@ -30,3 +30,5 @@ u32 get_cpu_package(void);
/* return boot mode */
u32 get_bootmode(void);
+
+int setup_mac_address(void);