summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap-common/utils.c5
-rw-r--r--arch/arm/include/asm/omap_common.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/utils.c b/arch/arm/cpu/armv7/omap-common/utils.c
index df5f817..acff16b 100644
--- a/arch/arm/cpu/armv7/omap-common/utils.c
+++ b/arch/arm/cpu/armv7/omap-common/utils.c
@@ -41,6 +41,11 @@ void cancel_out(u32 *num, u32 *den, u32 den_limit)
}
}
+__weak void omap_die_id(unsigned int *die_id)
+{
+ die_id[0] = die_id[1] = die_id[2] = die_id[3] = 0;
+}
+
void __weak usb_fake_mac_from_die_id(u32 *id)
{
uint8_t device_mac[6];
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h
index 81f1616..6e0b8d7 100644
--- a/arch/arm/include/asm/omap_common.h
+++ b/arch/arm/include/asm/omap_common.h
@@ -612,6 +612,8 @@ void omap_smc1(u32 service, u32 val);
void enable_edma3_clocks(void);
void disable_edma3_clocks(void);
+void omap_die_id(unsigned int *die_id);
+
/* ABB */
#define OMAP_ABB_NOMINAL_OPP 0
#define OMAP_ABB_FAST_OPP 1