summaryrefslogtreecommitdiff
path: root/board/ti/panda
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-08-27 17:37:12 (GMT)
committerTom Rini <trini@konsulko.com>2015-10-22 18:17:22 (GMT)
commit07815eb9f3f742237085e3eda947e095926212b0 (patch)
treeeee6f6372237c7c288f7b59944a38e2ffc2c7756 /board/ti/panda
parent9fd5401659c34b9b07f5d729ad35611b002830ff (diff)
downloadu-boot-07815eb9f3f742237085e3eda947e095926212b0.tar.xz
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 'board/ti/panda')
-rw-r--r--board/ti/panda/panda.c4
1 files changed, 1 insertions, 3 deletions
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;
}