mtk-openwrt / arm-trusted-firmware

Read-only mirror of Trusted Firmware-A
https://developer.trustedfirmware.org/dashboard/view/6/
Other
22 stars 20 forks source link

mediatek: mt7986: only protect BL32 memory if needed #6

Closed dangowrt closed 11 months ago

dangowrt commented 1 year ago

Existing non-secure images for MT7986 exepect the reserved memory to span 0x43000000~0x4303ffff.

Now, however, TZRAM2_SIZE added another 0x10000 on top of that which renders existing images incompatible with the updated TF-A build.

To maintain compatibility, only protect memory for BL32 if NEED_BL32 is set and hence BL32 will be used at all.

hackpascal commented 1 year ago

updated

hackpascal commented 11 months ago

All fixed.