This series ports the U-Boot commit 1289ff7bd7e4 ("imx8m: lock id_swap_bypass bit in tzc380 enable") to barebox and refactors the tzasc driver for the imx platform to use the `cpu_is_mx8xyz` macros. Signed-off-by: Stefan Kerkmann <s.kerkmann@xxxxxxxxxxxxxx> --- Stefan Kerkmann (3): arm: mach-imx: tzasc: lock id_swap_bypass bit arm: mach-imx: set cpu type in pbl arm: mach-imx: tzasc: convert to cpu_is_mx8xyz macros arch/arm/mach-imx/Makefile | 2 +- arch/arm/mach-imx/atf.c | 13 +++++++++---- arch/arm/mach-imx/imx8m.c | 2 +- arch/arm/mach-imx/tzasc.c | 47 ++++++++++++++++++++++++++-------------------- include/mach/imx/generic.h | 5 +++++ include/mach/imx/tzasc.h | 8 ++------ 6 files changed, 45 insertions(+), 32 deletions(-) --- base-commit: ed7c14536d521793199abf0597164a46ba68e8e5 change-id: 20240226-v2024-02-0-topic-imx8m-n-p-tzac-480c113ca052 Best regards, -- Stefan Kerkmann <s.kerkmann@xxxxxxxxxxxxxx>