[PATCH] arm64: dts: renesas: rzt2h-n2h-evk: Mark XSPI1 boot partitions read-only
Prabhakar <[email protected]>
| Newsgroups | org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Lad Prabhakar <[email protected]> Mark the BL2 and FIP partitions on XSPI1 as read-only to prevent them from being modified through the MTD partition interface. The corresponding boot partitions on XSPI0 are already marked read-only. Signed-off-by: Lad Prabhakar <[email protected]> --- arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi b/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi index 20d0b607ec62..395316c61f33 100644 --- a/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi +++ b/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi @@ -825,11 +825,13 @@ partitions { partition@0 { label = "bl2-1"; reg = <0x00000000 0x00060000>; + read-only; }; partition@60000 { label = "fip-1"; reg = <0x00060000 0x007a0000>; + read-only; }; partition@800000 { -- 2.43.0