Searched refs:fmanfw (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/net/fm/ |
H A D | fdt.c | 21 struct qe_firmware *fmanfw; in fdt_fixup_fman_firmware() local 42 fmanfw = (struct qe_firmware *)simple_strtoul(p, NULL, 16); in fdt_fixup_fman_firmware() 43 if (!fmanfw) in fdt_fixup_fman_firmware() 46 hdr = &fmanfw->header; in fdt_fixup_fman_firmware() 52 printf("Data at %p is not an Fman firmware\n", fmanfw); in fdt_fixup_fman_firmware() 58 fmanfw, length); in fdt_fixup_fman_firmware() 63 crc = fdt32_to_cpu(*(u32 *)((void *)fmanfw + length)); in fdt_fixup_fman_firmware() 64 if (crc != crc32_no_comp(0, (void *)fmanfw, length)) { in fdt_fixup_fman_firmware() 65 printf("Fman firmware at %p has invalid CRC\n", fmanfw); in fdt_fixup_fman_firmware() 105 rc = fdt_setprop(blob, fwnode, "fsl,firmware", fmanfw, length); in fdt_fixup_fman_firmware()
|