Searched refs:fmanfw (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/drivers/net/fm/ |
D | fdt.c | 23 struct qe_firmware *fmanfw; in fdt_fixup_fman_firmware() local 44 fmanfw = (struct qe_firmware *)simple_strtoul(p, NULL, 16); in fdt_fixup_fman_firmware() 45 if (!fmanfw) in fdt_fixup_fman_firmware() 48 hdr = &fmanfw->header; in fdt_fixup_fman_firmware() 54 printf("Data at %p is not an Fman firmware\n", fmanfw); in fdt_fixup_fman_firmware() 60 fmanfw, length); in fdt_fixup_fman_firmware() 65 crc = fdt32_to_cpu(*(u32 *)((void *)fmanfw + length)); in fdt_fixup_fman_firmware() 66 if (crc != crc32_no_comp(0, (void *)fmanfw, length)) { in fdt_fixup_fman_firmware() 67 printf("Fman firmware at %p has invalid CRC\n", fmanfw); in fdt_fixup_fman_firmware() 107 rc = fdt_setprop(blob, fwnode, "fsl,firmware", fmanfw, length); in fdt_fixup_fman_firmware()
|