summaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/beagle/beagle.c8
-rw-r--r--board/ti/dra7xx/evm.c5
-rw-r--r--board/ti/omap5_uevm/evm.c5
-rw-r--r--board/ti/panda/panda.c4
4 files changed, 5 insertions, 17 deletions
diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index b0d06a5..149b5db 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -506,12 +506,8 @@ int misc_init_r(void)
musb_register(&musb_plat, &musb_board_data, (void *)MUSB_BASE);
#endif
- if (generate_fake_mac) {
- unsigned int die_id[4] = { 0 };
-
- omap_die_id(die_id);
- usb_fake_mac_from_die_id(die_id);
- }
+ if (generate_fake_mac)
+ omap_die_id_usbethaddr();
return 0;
}
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index d4f5078..eebec88 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -57,15 +57,12 @@ int board_init(void)
int board_late_init(void)
{
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
- unsigned int die_id[4] = { 0 };
-
if (omap_revision() == DRA722_ES1_0)
setenv("board_name", "dra72x");
else
setenv("board_name", "dra7xx");
- omap_die_id(die_id);
- usb_set_serial_num_from_die_id(die_id);
+ omap_die_id_serial();
#endif
return 0;
}
diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c
index 0484087..853f196 100644
--- a/board/ti/omap5_uevm/evm.c
+++ b/board/ti/omap5_uevm/evm.c
@@ -189,14 +189,11 @@ static void enable_host_clocks(void)
*/
int misc_init_r(void)
{
- unsigned int die_id[4] = { 0 };
-
#ifdef CONFIG_PALMAS_POWER
palmas_init_settings();
#endif
- omap_die_id(die_id);
- usb_fake_mac_from_die_id(die_id);
+ omap_die_id_usbethaddr();
return 0;
}
diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c
index 4de7ea1..eb9ce63 100644
--- a/board/ti/panda/panda.c
+++ b/board/ti/panda/panda.c
@@ -209,7 +209,6 @@ int misc_init_r(void)
{
int phy_type;
u32 auxclk, altclksrc;
- unsigned int die_id[4] = { 0 };
/* EHCI is not supported on ES1.0 */
if (omap_revision() == OMAP4430_ES1_0)
@@ -263,8 +262,7 @@ int misc_init_r(void)
writel(altclksrc, &scrm->altclksrc);
- omap_die_id(die_id);
- usb_fake_mac_from_die_id(die_id);
+ omap_die_id_usbethaddr();
return 0;
}