Skip to content

Commit 07433cf

Browse files
committed
boards: st: b_u585i_iot02a: Extract external partitions
The S and NS shares the extermal NOR memory. This extracts the external NOR partition definitions from b_u585i_iot02a-common.dtsi and move to b_u585i_iot02a.dts to allow NS software defined their own external partition layout. Signed-off-by: BUDKE Gerson Fernando <[email protected]>
1 parent 071b571 commit 07433cf

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

boards/st/b_u585i_iot02a/b_u585i_iot02a-common.dtsi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +146,6 @@ stm32_lp_tick_source: &lptim1 {
146146
data-rate = <OSPI_DTR_TRANSFER>;
147147
four-byte-opcodes;
148148
status = "okay";
149-
150-
partitions {
151-
compatible = "fixed-partitions";
152-
#address-cells = <1>;
153-
#size-cells = <1>;
154-
155-
partition@0 {
156-
reg = <0x00000000 DT_SIZE_M(64)>;
157-
};
158-
};
159149
};
160150
};
161151

boards/st/b_u585i_iot02a/b_u585i_iot02a.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,18 @@
7676
};
7777
};
7878

79+
&mx25lm51245 {
80+
partitions {
81+
compatible = "fixed-partitions";
82+
#address-cells = <1>;
83+
#size-cells = <1>;
84+
85+
partition@0 {
86+
reg = <0x00000000 DT_SIZE_M(64)>;
87+
};
88+
};
89+
};
90+
7991
&gpdma1 {
8092
status = "okay";
8193
};

0 commit comments

Comments
 (0)