]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: net: fsl-mc: add support for MC reserved memory
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 27 Sep 2023 15:30:47 +0000 (18:30 +0300)
committerPeng Fan <peng.fan@nxp.com>
Tue, 10 Oct 2023 02:13:33 +0000 (10:13 +0800)
commit1dd7b5663459daa2a443d0713fda0af8564e0fee
treeba201cbb0ddab5c32cce84ff2ee55d4a577acd96
parentb9112cdfb5352d787942e6bb1aa1c35889262472
drivers: net: fsl-mc: add support for MC reserved memory

Add support for declaring in device tree the reserved memory ranges
required for MC. Since the MC firmware acts as any DMA master present
in the SoC, the reserved memory ranges need also be identity mapped
in the SMMU, so create the required 'iommu-addresses' property in
the reserved memory nodes.
For now this support is used only on LX2160A SoCs.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/lx2160a/lx2160a.c
drivers/net/fsl-mc/mc.c
include/fsl-mc/fsl_mc.h