diff options
Diffstat (limited to 'arch/arm/cpu/armv7/omap3/sys_info.c')
-rw-r--r-- | arch/arm/cpu/armv7/omap3/sys_info.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap3/sys_info.c b/arch/arm/cpu/armv7/omap3/sys_info.c index 549ac19189d..598457610f0 100644 --- a/arch/arm/cpu/armv7/omap3/sys_info.c +++ b/arch/arm/cpu/armv7/omap3/sys_info.c @@ -74,7 +74,11 @@ void dieid_num_r(void) ******************************************/ u32 get_cpu_type(void) { - return readl(&ctrl_base->ctrl_omap_stat); + u32 cpu_type; + cpu_type = readl(&ctrl_base->ctrl_omap_stat); + if (cpu_type == OMAP3730_WRONG_EFUSE) + cpu_type = OMAP3730; + return cpu_type; } /****************************************** |