diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2015-08-27 19:37:12 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-22 14:17:22 -0400 |
commit | 07815eb9f3f742237085e3eda947e095926212b0 (patch) | |
tree | eee6f6372237c7c288f7b59944a38e2ffc2c7756 /arch/arm/include | |
parent | 9fd5401659c34b9b07f5d729ad35611b002830ff (diff) | |
download | u-boot-imx-07815eb9f3f742237085e3eda947e095926212b0.zip u-boot-imx-07815eb9f3f742237085e3eda947e095926212b0.tar.gz u-boot-imx-07815eb9f3f742237085e3eda947e095926212b0.tar.bz2 |
omap-common: Common serial and usbethaddr functions based on die id
Now that we have a common prototype to grab the omap die id, functions to figure
out a serial number and usb ethernet address can use it directly.
Those also get an omap_die_id prefix for better consistency.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/omap_common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 6e0b8d7..84522ea 100644 --- a/arch/arm/include/asm/omap_common.h +++ b/arch/arm/include/asm/omap_common.h @@ -603,8 +603,9 @@ 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); -void usb_set_serial_num_from_die_id(u32 *id); +void omap_die_id_serial(void); +void omap_die_id_usbethaddr(void); + void recalibrate_iodelay(void); void omap_smc1(u32 service, u32 val); |