mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-23 05:00:24 +09:00
ARM: dts: stm32: Fix timer initialization for stm32 MCU's board
Commit 4b2be78ab6
("time: Fix get_ticks being non-monotonic")
puts in evidence that get_ticks is called before timer initialization.
Fix it by initializing timer before relocation.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
61c88ace4b
commit
183362947c
@ -217,3 +217,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&timer5 {
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
};
|
||||||
|
@ -192,3 +192,7 @@
|
|||||||
&rcc {
|
&rcc {
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&timer5 {
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
};
|
||||||
|
@ -235,14 +235,6 @@
|
|||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
&rcc {
|
|
||||||
u-boot,dm-pre-reloc;
|
|
||||||
};
|
|
||||||
|
|
||||||
&syscfg {
|
|
||||||
u-boot,dm-pre-reloc;
|
|
||||||
};
|
|
||||||
|
|
||||||
&qspi {
|
&qspi {
|
||||||
reg = <0xA0001000 0x1000>, <0x90000000 0x1000000>;
|
reg = <0xA0001000 0x1000>, <0x90000000 0x1000000>;
|
||||||
flash0: n25q128a@0 {
|
flash0: n25q128a@0 {
|
||||||
@ -255,3 +247,15 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&rcc {
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
};
|
||||||
|
|
||||||
|
&syscfg {
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
};
|
||||||
|
|
||||||
|
&timer5 {
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
};
|
||||||
|
@ -239,7 +239,3 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&timer5 {
|
|
||||||
u-boot,dm-pre-reloc;
|
|
||||||
};
|
|
||||||
|
@ -218,3 +218,7 @@
|
|||||||
&sdmmc1 {
|
&sdmmc1 {
|
||||||
compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
|
compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&timer5 {
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user