
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(-)