void target_init(void) { dprintf(INFO, "target_init()\n"); spmi_init(PMIC_ARB_CHANNEL_NUM, PMIC_ARB_OWNER_ID); target_keystatus(); target_sdc_init(); if (partition_read_table()) { dprintf(CRITICAL, "Error reading the partition table info\n"); ASSERT(0); } #if LONG_PRESS_POWER_ON shutdown_detect(); #endif if (target_use_signed_kernel()) target_crypto_init_params(); #if SMD_SUPPORT rpm_smd_init(); #endif }
void target_init(void) { dprintf(INFO, "target_init()\n"); spmi_init(PMIC_ARB_CHANNEL_NUM, PMIC_ARB_OWNER_ID); target_keystatus(); target_sdc_init(); if (partition_read_table()) { dprintf(CRITICAL, "Error reading the partition table info\n"); ASSERT(0); } #if LONG_PRESS_POWER_ON shutdown_detect(); #endif #if PON_VIB_SUPPORT /* turn on vibrator to indicate that phone is booting up to end user */ vib_timed_turn_on(VIBRATE_TIME); #endif if (target_use_signed_kernel()) target_crypto_init_params(); #if SMD_SUPPORT rpm_smd_init(); #endif }
void target_init(void) { dprintf(INFO, "target_init()\n"); spmi_init(PMIC_ARB_CHANNEL_NUM, PMIC_ARB_OWNER_ID); target_keystatus(); target_sdc_init(); #if LONG_PRESS_POWER_ON shutdown_detect(); #endif #if PON_VIB_SUPPORT /* turn on vibrator to indicate that phone is booting up to end user */ vib_timed_turn_on(VIBRATE_TIME); #endif if (target_use_signed_kernel()) target_crypto_init_params(); }