[PATCH] riscv: starfive: jh7110: move uart0 clock frequency to config header

Leo Liang ycliang at andestech.com
Mon May 12 20:14:45 CEST 2025


On Sat, May 03, 2025 at 04:52:52AM -0700, E Shattow wrote:
> 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 at freeshell.de>
> ---
>  arch/riscv/dts/jh7110-common-u-boot.dtsi | 1 -
>  include/configs/starfive-visionfive2.h   | 2 ++
>  2 files changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list