Skip to content

Commit 7f4d41a

Browse files
GeorgeCGVcfriedt
authored andcommitted
boards: st: use NOR/PSRAM bank defines
Use existing NORSRAM defines for bank reg. Signed-off-by: Georgij Černyšiov <[email protected]>
1 parent fd6337a commit 7f4d41a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards/st/stm32h573i_dk/stm32h573i_dk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
#size-cells = <0>;
111111

112112
bank@0 {
113-
reg = <0x0>;
113+
reg = <STM32_FMC_NORSRAM_BANK1>;
114114
st,control = <STM32_FMC_DATA_ADDRESS_MUX_DISABLE
115115
STM32_FMC_MEMORY_TYPE_SRAM
116116
STM32_FMC_NORSRAM_MEM_BUS_WIDTH_16

boards/st/stm32l562e_dk/stm32l562e_dk_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
#size-cells = <0>;
7070

7171
bank@0 {
72-
reg = <0x0>;
72+
reg = <STM32_FMC_NORSRAM_BANK1>;
7373
st,control = <STM32_FMC_DATA_ADDRESS_MUX_DISABLE
7474
STM32_FMC_MEMORY_TYPE_SRAM
7575
STM32_FMC_NORSRAM_MEM_BUS_WIDTH_16

0 commit comments

Comments
 (0)