plat: rpi5: add basic Raspberry Pi 5 supportRPi5 is based on new BCM2712 SoC which is based on quad Cortex-A76.BCM2712 still does not provide secure memory so we are free to locateOP-TEE anythin
plat: rpi5: add basic Raspberry Pi 5 supportRPi5 is based on new BCM2712 SoC which is based on quad Cortex-A76.BCM2712 still does not provide secure memory so we are free to locateOP-TEE anything we want. It would be most beneficial to locate OP-TEEright after TF-A, at address 0x80000, but RPi5 loader places kernelthere and it's location can't be changed.According to PCB silkscreen, RPi5 boards can have 1GB, 2GB, 4GB or 8GBof memory. To be compatible with any variant, OP-TEE is placed closeto the end of the first gigabyte.BCM2712 uses PL011 as debug UART so we enable its driver.According to specification, BCM2712 includes cryptography extensions,but this basic port does not enable them.As there is no way to load OP-TEE image into memory during bootprocess, TF-A with OPTEE_ALLOW_SMC_LOAD=1 option should be used. Inthis case OP-TEE can be loaded via Linux kernel or U-Boot.Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>Co-developed-by: Hugo Trippaers <htrippaers@schubergphilis.com>Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...