mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
riscv: starfive: jh7110: move uart0 clock frequency to config header
Move unnecessary clock frequency assignment out of device-tree and into the board config header so that the ns16550 serial driver can successfully init during SPL after failing to resolve the parent clock from upstream dts. The serial driver will then resolve clock frequency from device-tree node parent clock at init during Main app as it is expected by upstream. Signed-off-by: E Shattow <e@freeshell.de> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
parent
fa317411ba
commit
97833f4cf6
@ -27,7 +27,6 @@
|
||||
bootph-pre-ram;
|
||||
reg-offset = <0>;
|
||||
current-speed = <115200>;
|
||||
clock-frequency = <24000000>;
|
||||
};
|
||||
|
||||
&mmc0 {
|
||||
|
||||
@ -39,4 +39,6 @@
|
||||
"partitions=" PARTS_DEFAULT "\0" \
|
||||
"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
|
||||
|
||||
#define CFG_SYS_NS16550_CLK 24000000
|
||||
|
||||
#endif /* _STARFIVE_VISIONFIVE2_H */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user