diff options
author | Justin Waters <justin.waters@timesys.com> | 2013-04-24 17:38:39 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2013-04-24 17:38:39 -0400 |
commit | 75c641ece39c136001340df61f0ad57028ce4ffc (patch) | |
tree | e5f2c5f5764770a34d0e39b5eace575fd4751527 /arch/arm/cpu/armv7/omap3/sys_info.c | |
parent | 1341f103ac87882633b019a5a137056818234248 (diff) |
LogicPD Support for OMAP3/DM3/AM3 boards 2.1 Update
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; } /****************************************** |