Lines Matching refs:gd

102 	trace_init(gd->trace_buff, CONFIG_TRACE_BUFFER_SIZE);  in initr_trace()
111 gd->flags |= GD_FLG_RELOC | GD_FLG_FULL_MALLOC_INIT; in initr_reloc()
163 monitor_flash_len = (ulong)&__init_end - gd->relocaddr; in initr_reloc_global_data()
171 gd->arch.cpu += gd->relocaddr - CONFIG_SYS_MONITOR_BASE; in initr_reloc_global_data()
187 gd->env_addr += gd->relocaddr - CONFIG_SYS_MONITOR_BASE; in initr_reloc_global_data()
194 gd->fdt_blob += gd->reloc_off; in initr_reloc_global_data()
197 efi_runtime_relocate(gd->relocaddr, NULL); in initr_reloc_global_data()
216 trap_init(gd->relocaddr); in initr_trap()
274 debug("Pre-reloc malloc() used %#lx bytes (%ld KB)\n", gd->malloc_ptr, in initr_malloc()
275 gd->malloc_ptr / 1024); in initr_malloc()
278 malloc_start = gd->relocaddr - TOTAL_MALLOC_LEN; in initr_malloc()
312 ret = of_live_build(gd->fdt_blob, (struct device_node **)&gd->of_root); in initr_of_live()
327 gd->dm_root_f = gd->dm_root; in initr_dm()
328 gd->dm_root = NULL; in initr_dm()
330 gd->timer = NULL; in initr_dm()
364 addr = gd->relocaddr; in initr_announce()
386 bd_t *bd = gd->bd; in initr_flash()
478 mmc_initialize(gd->bd); in initr_mmc()
499 return fdtdec_get_config_int(gd->fdt_blob, "load-environment", 1); in should_load_env()
515 env_set_addr("fdtcontroladdr", gd->fdt_blob); in initr_env()
611 gd->bd->bi_boot_params = (ulong)malloc(CONFIG_SYS_BOOTPARAMS_LEN); in initr_malloc_bootparams()
612 if (!gd->bd->bi_boot_params) { in initr_malloc_bootparams()
647 bd_t *bd = gd->bd; in initr_ethaddr()
766 sprintf(memsz, "%ldk", (long int) ((gd->ram_size / 1024) - pram)); in initr_mem()
1076 gd = new_gd; in board_init_r()
1078 gd->flags &= ~GD_FLG_LOG_READY; in board_init_r()
1082 init_sequence_r[i] += gd->reloc_off; in board_init_r()