高通 android 源代码,高通平台Android源码bootloader分析之sbl1(一)

/* Enable the secure watchdog

This is done after boot_dload_check that way if we are in the final stage

of an abnormal reset boot_dload_check will finalize the stage. */

boot_secure_watchdog_init,

/* Load SEC partition if it exists.  This must be done after QSEE is

loaded as the partition is loaded into a QSEE buffer. */

sbl1_load_sec_partition,

/* Set the memory barrier pointer to shared memory */

boot_cache_set_memory_barrier,

/*----------------------------------------------------------------------

Put SMEM in debug state such that smem_alloc() calls will return NULL.

The state is changed back to normal once smem_boot_init() is called.

This call has to be made after setting the memory barrier.

----------------------------------------------------------------------*/

boot_smem_debug_init,

/* Initialize shared memory after dload to preserve logs */

boot_smem_init,

#if !defined(FEATURE_RUMI_BOOT)

/* Stub out for rumi build. pmic api  pm_get_power_on_status gets

called from below api to get power on reason */

/*----------------------------------------------------------------------

Store Power on Status in SMEM.

Needs to be done after PMIC and SMEM initialization

----------------------------------------------------------------------*/

boot_smem_store_pon_status,

#endif

/*----------------------------------------------------------------------

Store the platform id to smem

----------------------------------------------------------------------*/

sbl1_hw_platform_smem,

/*----------------------------------------------------------------------

Get shared data out of the flash device module

----------------------------------------------------------------------*/

boot_share_flash_data,

/*----------------------------------------------------------------------

populate the ram partition table

----------------------------------------------------------------------*/

boot_populate_ram_partition_table,

/*----------------------------------------------------------------------

Initialize GPIO for low power configuration

----------------------------------------------------------------------*/

sbl1_tlmm_init,

/*-----------------------------------------------------------------------

Calls efs cookie handling api to perform efs backup/restore

-----------------------------------------------------------------------*/

sbl1_efs_handle_cookies,

/*-----------------------------------------------------------------------

APT Security Test

----------------------------------------------------------------------*/

(boot_procedure_func_type)boot_apt_test,

/* Last entry in the table. */

NULL

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值