|
@@ -51,10 +51,12 @@ static int amx3_common_init(void)
|
|
|
|
|
|
|
|
/* CEFUSE domain can be turned off post bootup */
|
|
/* CEFUSE domain can be turned off post bootup */
|
|
|
cefuse_pwrdm = pwrdm_lookup("cefuse_pwrdm");
|
|
cefuse_pwrdm = pwrdm_lookup("cefuse_pwrdm");
|
|
|
- if (cefuse_pwrdm)
|
|
|
|
|
- omap_set_pwrdm_state(cefuse_pwrdm, PWRDM_POWER_OFF);
|
|
|
|
|
- else
|
|
|
|
|
|
|
+ if (!cefuse_pwrdm)
|
|
|
pr_err("PM: Failed to get cefuse_pwrdm\n");
|
|
pr_err("PM: Failed to get cefuse_pwrdm\n");
|
|
|
|
|
+ else if (omap_type() != OMAP2_DEVICE_TYPE_GP)
|
|
|
|
|
+ pr_info("PM: Leaving EFUSE power domain active\n");
|
|
|
|
|
+ else
|
|
|
|
|
+ omap_set_pwrdm_state(cefuse_pwrdm, PWRDM_POWER_OFF);
|
|
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|