mirror of
https://xff.cz/git/u-boot/
synced 2025-10-27 00:24:09 +01:00
OMAP: common: consolidate fake USB ethernet MAC address creation
TI platforms such as OMAP5uevm, PandaBoard, use equivalent logic to generate fake USB MAC address from device unique DIE ID. Consolidate this to a generic location such that other TI platforms such as BeagleBoard-XM can also use the same. NOTE: at this point in time, I dont yet see a need for a generic dummy ethernet MAC address creation function, but if there is a need in the future, this can be further abstracted out. Signed-off-by: Nishanth Menon <nm@ti.com>
This commit is contained in:
@@ -574,6 +574,8 @@ void abb_setup(u32 fuse, u32 ldovbb, u32 setup, u32 control,
|
||||
u32 txdone, u32 txdone_mask, u32 opp);
|
||||
s8 abb_setup_ldovbb(u32 fuse, u32 ldovbb);
|
||||
|
||||
void usb_fake_mac_from_die_id(u32 *id);
|
||||
|
||||
/* HW Init Context */
|
||||
#define OMAP_INIT_CONTEXT_SPL 0
|
||||
#define OMAP_INIT_CONTEXT_UBOOT_FROM_NOR 1
|
||||
|
||||
Reference in New Issue
Block a user