[PATCH] ARM: OMAP: debug_ll: Use Kconfig UART base address

Ahmad Fatoum a.fatoum at pengutronix.de
Thu May 5 01:09:38 PDT 2022


On 05.05.22 10:01, Alexander Shiyan wrote:
> чт, 5 мая 2022 г. в 10:55, Lucas Stach <l.stach at pengutronix.de>:
>> Am Donnerstag, dem 05.05.2022 um 10:36 +0300 schrieb Alexander Shiyan:
>>> Signed-off-by: Alexander Shiyan <eagle.alexander923 at gmail.com>
>> Is this really a change in the right direction? The way it is currently
>> done seems to mix well with overall multi-image theme of Barebox. By
>> using a Kconfig for that, the setting will most likely be wrong for a
>> subset of boards in a multi-image build.
> 
> Same as PUTC_LL, right?
> 
> Actually the debug code is already wrong when we create multiple
> images with different UARTs.

There is pbl_set_putc(), which can be called after relocation
for use by the PBL console and is multi-image friendly.

> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox


-- 
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