Lines Matching full:hdr

29 	struct fsp_header *hdr = find_fsp_header();  in do_hdr()  local
30 u32 img_addr = hdr->img_base; in do_hdr()
31 char *sign = (char *)&hdr->sign; in do_hdr()
35 CONFIG_FSP_ADDR, (int)hdr); in do_hdr()
37 for (i = 0; i < sizeof(hdr->sign); i++) in do_hdr()
39 printf(", size %d, rev %d\n", hdr->hdr_len, hdr->hdr_rev); in do_hdr()
41 if (hdr->hdr_rev == FSP_HEADER_REVISION_1) { in do_hdr()
43 (hdr->img_rev >> 8) & 0xff, hdr->img_rev & 0xff); in do_hdr()
46 (hdr->img_rev >> 24) & 0xff, (hdr->img_rev >> 16) & 0xff, in do_hdr()
47 (hdr->img_rev >> 8) & 0xff, hdr->img_rev & 0xff); in do_hdr()
50 for (i = 0; i < ARRAY_SIZE(hdr->img_id); i++) in do_hdr()
51 printf("%c", hdr->img_id[i]); in do_hdr()
52 printf(", addr 0x%08x, size %d\n", img_addr, hdr->img_size); in do_hdr()
53 if (hdr->hdr_rev == FSP_HEADER_REVISION_2) { in do_hdr()
55 hdr->img_attr & FSP_ATTR_GRAPHICS_SUPPORT ? " " : " un"); in do_hdr()
58 hdr->cfg_region_off + img_addr, hdr->cfg_region_size); in do_hdr()
59 printf("\nNumber of APIs Supported : %d\n", hdr->api_num); in do_hdr()
60 printf("\tTempRamInit : 0x%08x\n", hdr->fsp_tempram_init + img_addr); in do_hdr()
61 printf("\tFspInit : 0x%08x\n", hdr->fsp_init + img_addr); in do_hdr()
62 printf("\tFspNotify : 0x%08x\n", hdr->fsp_notify + img_addr); in do_hdr()
63 if (hdr->hdr_rev == FSP_HEADER_REVISION_2) { in do_hdr()
65 hdr->fsp_mem_init + img_addr); in do_hdr()
67 hdr->fsp_tempram_exit + img_addr); in do_hdr()
69 hdr->fsp_silicon_init + img_addr); in do_hdr()
77 const struct hob_header *hdr; in do_hob() local
82 hdr = gd->arch.hob_list; in do_hob()
84 printf("HOB list address: 0x%08x\n\n", (unsigned int)hdr); in do_hob()
90 while (!end_of_hob(hdr)) { in do_hob()
91 printf("%02x | %08x | ", i, (unsigned int)hdr); in do_hob()
92 type = hdr->type; in do_hob()
101 printf("%-9s | %04x | ", desc, hdr->len); in do_hob()
105 struct efi_guid *guid = (struct efi_guid *)(hdr + 1); in do_hob()
116 hdr = get_next_hob(hdr); in do_hob()
124 U_BOOT_CMD_MKENT(hdr, 0, 1, do_hdr, "", ""),
149 "hdr - Print FSP header information\n"