1. 程式人生 > >高通 MSM8K bootloader 之四: ramdump

高通 MSM8K bootloader 之四: ramdump

boot_procedure_func_type sbl1_pre_dload_procs[] =
{
 ............
  /*-----------------------------------------------------------------------
   * Ram dump to eMMC raw partition, this function will reset device 
   * after successful dump collection if cookie is set 
   *----------------------------------------------------------------------*/
  (boot_procedure_func_type) boot_ram_dump_to_raw_parition,

#ifdef FEATURE_BOOT_RAMDUMPS_TO_SD_CARD   
  /*----------------------------------------------------------------------
   * Take the Ramdumps to SD card if  cookie file is
   *   present in SD card 
   *---------------------------------------------------------------------*/
  boot_ram_dumps_to_sd_card,

#endif /*FEATURE_BOOT_RAMDUMPS_TO_SD_CARD*/  

  NULL
};