From e71b9a64a28d16d044d1bceda1a9e69679b2769e Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 18 Dec 2019 16:52:19 +0100 Subject: 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 Cc: Patrick Delaunay Cc: Patrice Chotard Reviewed-by: Patrick Delaunay --- arch/arm/mach-stm32mp/include/mach/sys_proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/mach-stm32mp/include/mach') diff --git a/arch/arm/mach-stm32mp/include/mach/sys_proto.h b/arch/arm/mach-stm32mp/include/mach/sys_proto.h index 99eefabf6e..47e57922d1 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); -- cgit