[U-Boot] [PATCH 1/3] serial: ns16550: drop CONFIG_OMAP1610 from the special case

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Jul 11 13:52:15 CEST 2014


Hi Tom,



On Fri, 11 Jul 2014 20:29:02 +0900
Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:

> If CONFIG_OMAP1610 is defined, the code returning the fixed value (26)
> is enabled. But this case is covered by the following code.
> 
> (CONFIG_SYS_NS16550_CLK + (gd->baudrate * (MODE_X_DIV / 2))) /
>     (MODE_X_DIV * gd->baudrate)
> = (48000000 + (115200 * (16 / 2))) / (16 * 115200)
> = 48921600 / 1843200
> = 26
> 
> The "#ifdef CONFIG_OMAP1610" was added by commit 6f21347d more than
> ten years ago. In those days, the divide-and-round was not used.
> I guess that is why this weird code was added here.
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Tom Rini <trini at ti.com>
> Cc: Rishi Bhattacharya <rishi at ti.com>


The mail to "Rishi Bhattacharya <rishi at ti.com>"
has been bouncing.


Could you assign a new maintainer for omap5912osk board?
Or is this already a dead board?


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list