arm64: dts: mediatek: Increase the size BL31 reserved memory
authorAlexandre Bailon <abailon@baylibre.com>
Wed, 29 Mar 2023 08:54:24 +0000 (10:54 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 30 Mar 2023 17:20:16 +0000 (19:20 +0200)
The reserved size for BL31 is too small.
This has been highlighted by the MPU that now restrict access to BL31
memory to secure world only.
This increase the size of the reserved memory.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230203-evk-board-support-v3-3-0003e80e0095@baylibre.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8365-evk.dts

index efbbdd0c74ae63a7e26d4756a5936409a3145e55..ceb48eb1a6e6942888b9d7efb5682c673adb6b2d 100644 (file)
                #size-cells = <2>;
                ranges;
 
-               /* 128 KiB reserved for ARM Trusted Firmware (BL31) */
+               /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
                bl31_secmon_reserved: secmon@43000000 {
                        no-map;
-                       reg = <0 0x43000000 0 0x20000>;
+                       reg = <0 0x43000000 0 0x30000>;
                };
 
                /* 12 MiB reserved for OP-TEE (BL32)