[PATCH v2] asm/debug_ll_ns16550.h: add parament divisor
Sascha Hauer
s.hauer at pengutronix.de
Tue Sep 29 02:57:18 EDT 2020
On Sun, Sep 27, 2020 at 05:32:57PM +0800, Du Huanpeng wrote:
> From: duhuanpeng <u74147 at gmail.com>
>
> add a parameters for the assembly version for passing divisor,
> and set the default value to DEBUG_LL_UART_ADDR when no parameter
> is given.
> now it is possiable to recalculate divisor in runtime to keep
> the baudrate unchanged. when pll settings changed outside of barebox.
> e.g. jtag.
>
> Signed-off-by: duhuanpeng <u74147 at gmail.com>
> ---
> arch/mips/include/asm/debug_ll_ns16550.h | 4 ++--
> arch/riscv/include/asm/debug_ll_ns16550.h | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list