Skip to content

imx8m: Automatically add the optee firmware node to the FDT

Alban Bedel u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3optee: Add an helper to add the optee firmware node in the FDTinclude/tee/optee.h lib/optee/optee.c+55 -160 replies
2/3imx8m: Automatically add the optee firmware node to the FDTarch/arm/mach-imx/imx8m/soc.c+9 -04 replies
3/3imx8: Use the optee lib to add the optee firmware node to the FDTarch/arm/mach-imx/imx8/fdt.c configs/apalis-imx8_defconfig configs/cgtqmx8_defconfig +6 more+16 -510 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] imx8m: Automatically add the optee firmware node to the FDT

Hi everyone,

this short series is about letting u-boot automatically add the optee firmware node to the DTB on imx8m. The imx8 already does that using its own function and the optee lib has a very similar function which copy the DT node from u-boot DT.

So this series start by adding a new helper to the optee lib to add the optee firmware node with the provided parameters. This function is then used to add this functionality to the imx8m boards and to replace the custom code used on the imx8 boards.

Alban Bedel (3):
optee: Add an helper to add the optee firmware node in the FDT
imx8m: Automatically add the optee firmware node to the FDT
imx8: Use the optee lib to add the optee firmware node to the FDT

 arch/arm/mach-imx/imx8/fdt.c           | 59 ++++---------------------
 arch/arm/mach-imx/imx8m/soc.c          |  9 ++++
 configs/apalis-imx8_defconfig          |  1 +
 configs/cgtqmx8_defconfig              |  1 +
 configs/colibri-imx8x_defconfig        |  1 +
 configs/deneb_defconfig                |  1 +
 configs/giedi_defconfig                |  1 +
 configs/imx8qm_mek_defconfig           |  1 +
 configs/imx8qm_rom7720_a1_4G_defconfig |  1 +
 configs/imx8qxp_mek_defconfig          |  1 +
 include/tee/optee.h                    | 11 +++++
 lib/optee/optee.c                      | 60 +++++++++++++++++++-------
 12 files changed, 80 insertions(+), 67 deletions(-)
Signature · 1 line
2.34.1