imx8mm: add HAB support

Similar to imx8mq, the U-boot calls SIP call for HAB interfaces, and trap to ATF
to run the HAB.

Since HAB codes locates in ROM, and need to access OCRAM, CAAM RAM and DDR to
authenticate image. Add these relevant memory region to MMU. Also extend the
stack size of each core to avoid stack overflow, and extend the BL31 limit
to OCRAM end 0x940000.

Signed-off-by: Ye Li <>
(cherry picked from commit d5158f18b0b6e13760eb92afeff0a4129f63de4b)
2 files changed