path: root/arch/arm/include/asm/arch-omap4/sys_proto.h
diff options
authorJohn Rigby <john.rigby@linaro.org>2011-12-16 15:50:05 -0700
committerJohn Rigby <john.rigby@linaro.org>2012-12-06 12:16:42 -0700
commitad235ea5f1c7c2ea00b6bfcb5203869984a5cbb8 (patch)
tree4c08549447ff6a740feb596cab40387584d44b9a /arch/arm/include/asm/arch-omap4/sys_proto.h
parent5943fe4db34d5a5b2f8b265c8346a579512287d4 (diff)
OMAP4 Panda: Generate a unique usbethaddr
The panda board has a usb nic but the nic has no rom. Use the die-id to generate a unique address. This is derived from an RFC kernel patch by Andy Green that does the same thing: https://patchwork.kernel.org/patch/660541/ [RFC PATCH 1/2] OMAP2+: add cpu id register to MAC address helper Signed-off-by: John Rigby <john.rigby@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/arch-omap4/sys_proto.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap4/sys_proto.h b/arch/arm/include/asm/arch-omap4/sys_proto.h
index b48f81dc3..77f2cf7ab 100644
--- a/arch/arm/include/asm/arch-omap4/sys_proto.h
+++ b/arch/arm/include/asm/arch-omap4/sys_proto.h
@@ -58,6 +58,7 @@ void omap_vc_init(u16 speed_khz);
int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
u32 warm_reset(void);
void force_emif_self_refresh(void);
+void omap4_die_id_to_ethernet_mac(u8 *, int);
* This is used to verify if the configuration header
* was executed by Romcode prior to control of transfer