Hello,

Is there a reason there are inconsistencies in the handling of PLAT_XLAT_TABLES_DYNAMIC? Specifically I'm referring to in some places it uses #ifdef logic:
https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/lib/utils/mem_region.c#n46

and then in others it's using #if: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/include/lib/xlat_tables/xlat_tables_v2.h#n294

Also in some places it uses add_define:
https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/services/std_svc/spmd/spmd.mk#n26

and in others it's explicitly adding the define (w/ or w/out a value) to the _FLAGS for an image.
https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/plat/imx/imx8m/imx8mn/platform.mk#n75
https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/plat/arm/board/rdn2/platform.mk#n68

I wanted to make use of this config option and noticed it wasn't getting picked up even when it was set and was considering cleaning up the usage of it by adding it to make_helpers/defaults.mk and then changing all the #ifdef's for it to be #if's.

Thanks,

--
Jeffrey Kardatzke
jkardatzke@google.com
Google, Inc.