I've just noticed that the following build command fails:
make PLAT=imx8mq DEBUG=1
This gives a link failure:
Building imx8mq CC lib/libc/abort.c CC lib/libc/assert.c CC lib/libc/exit.c ... AS plat/common/aarch64/platform_helpers.S PP bl31/bl31.ld.S LD build/imx8mq/debug/bl31/bl31.elf aarch64-linux-gnu-ld.bfd: build/imx8mq/debug/bl31/bl31.elf section `coherent_ram' will not fit in region `RAM' aarch64-linux-gnu-ld.bfd: BL31 image has exceeded its limit. aarch64-linux-gnu-ld.bfd: region `RAM' overflowed by 4096 bytes Makefile:885: recipe for target 'build/imx8mq/debug/bl31/bl31.elf' failed
I have not investigated from which commit this issue started to appear.