Skip to contentSkip to conversation

armv8: ls1012a: Pass PPFE firmware to Linux through FDT

PATCH Superseded Biwen Li 1 participant 1 message Apr 26, 2021

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Biwen Li

author
#0 lore raw

PATCH v2 1/1 armv8: ls1012a: Pass PPFE firmware to Linux through FDT

From: Chaitanya Sakinam <[email protected]>

Read Linux PPFE firmware from flash partition and pass it to Linux through FDT entry. So that we can avoid placing PPFE firmware in Linux rootfs. (FDT may increase at max by 64KB)

---
Change in v2:
- update subject and description

 arch/arm/cpu/armv8/fsl-layerscape/fdt.c |  3 ++
 drivers/net/pfe_eth/pfe_firmware.c      | 58 ++++++++++++++++++++++++-
 2 files changed, 60 insertions(+), 1 deletion(-)
arch/arm/cpu/armv8/fsl-layerscape/fdt.c +3 -0
index 7f29aa4725..16a252ecbe 100644
@@ -534,6 +534,9 @@ void ft_cpu_setup(void *blob, struct bd_info *bd)
 #ifdef CONFIG_SYS_DPAA_FMAN
 	fdt_fixup_fman_firmware(blob);
 #endif
+#ifdef CONFIG_FSL_PFE
+	fdt_fixup_pfe_firmware(blob);
+#endif
 #ifndef CONFIG_ARCH_LS1012A
 	fsl_fdt_disable_usb(blob);
 #endif
drivers/net/pfe_eth/pfe_firmware.c +57 -1

70 lines not on this page · raw message

Signature · 1 line
2.17.1