Searched refs:ho (Results 1 – 9 of 9) sorted by relevance
24 struct spl_handoff *ho; in dram_init() local26 ho = bloblist_find(BLOBLISTT_U_BOOT_SPL_HANDOFF, sizeof(*ho)); in dram_init()27 if (!ho) in dram_init()29 handoff_load_dram_size(ho); in dram_init()57 struct spl_handoff *ho; in dram_init_banksize() local59 ho = bloblist_find(BLOBLISTT_U_BOOT_SPL_HANDOFF, sizeof(*ho)); in dram_init_banksize()60 if (!ho) in dram_init_banksize()62 handoff_load_dram_banks(ho); in dram_init_banksize()
14 void handoff_save_dram(struct spl_handoff *ho) in handoff_save_dram() argument19 ho->ram_size = gd->ram_size; in handoff_save_dram()22 ho->ram_bank[i].start = bd->bi_dram[i].start; in handoff_save_dram()23 ho->ram_bank[i].size = bd->bi_dram[i].size; in handoff_save_dram()27 void handoff_load_dram_size(struct spl_handoff *ho) in handoff_load_dram_size() argument29 gd->ram_size = ho->ram_size; in handoff_load_dram_size()32 void handoff_load_dram_banks(struct spl_handoff *ho) in handoff_load_dram_banks() argument38 bd->bi_dram[i].start = ho->ram_bank[i].start; in handoff_load_dram_banks()39 bd->bi_dram[i].size = ho->ram_bank[i].size; in handoff_load_dram_banks()
63 struct spl_handoff *ho = gd->spl_handoff; in dram_init() local65 if (!ho) { in dram_init()69 gd->ram_size = ho->ram_size; in dram_init()70 handoff_load_dram_banks(ho); in dram_init()86 struct spl_handoff *ho = gd->spl_handoff; in board_get_usable_ram_top() local88 log_debug("usable_ram_top = %lx\n", ho->arch.usable_ram_top); in board_get_usable_ram_top()90 return ho->arch.usable_ram_top; in board_get_usable_ram_top()
29 void handoff_save_dram(struct spl_handoff *ho);30 void handoff_load_dram_size(struct spl_handoff *ho);31 void handoff_load_dram_banks(struct spl_handoff *ho);43 int handoff_arch_save(struct spl_handoff *ho);
28 struct spl_handoff *ho = gd->spl_handoff; in arch_cpu_init() local30 gd->arch.hob_list = ho->arch.hob_list; in arch_cpu_init()
472 struct spl_handoff *ho; in setup_spl_handoff() local474 ho = bloblist_ensure(BLOBLISTT_U_BOOT_SPL_HANDOFF, sizeof(struct spl_handoff)); in setup_spl_handoff()475 if (!ho) in setup_spl_handoff()481 __weak int handoff_arch_save(struct spl_handoff *ho) in handoff_arch_save() argument488 struct spl_handoff *ho; in write_spl_handoff() local491 ho = bloblist_find(BLOBLISTT_U_BOOT_SPL_HANDOFF, sizeof(struct spl_handoff)); in write_spl_handoff()492 if (!ho) in write_spl_handoff()494 handoff_save_dram(ho); in write_spl_handoff()495 ret = handoff_arch_save(ho); in write_spl_handoff()
186 int handoff_arch_save(struct spl_handoff *ho) in handoff_arch_save() argument188 ho->arch.usable_ram_top = gd->bd->bi_dram[0].size; in handoff_arch_save()189 ho->arch.hob_list = gd->arch.hob_list; in handoff_arch_save()
170 int handoff_arch_save(struct spl_handoff *ho) in handoff_arch_save() argument172 ho->arch.magic = TEST_HANDOFF_MAGIC; in handoff_arch_save()
5 * Author: Ben Ho <ben.ho@mediatek.com>
Completed in 18 milliseconds