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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05.05.22 10:01, Alexander Shiyan wrote:
> чт, 5 мая 2022 г. в 10:55, Lucas Stach <l.stach@xxxxxxxxxxxxxx>:
>> Am Donnerstag, dem 05.05.2022 um 10:36 +0300 schrieb Alexander Shiyan:
>>> Signed-off-by: Alexander Shiyan <eagle.alexander923@xxxxxxxxx>
>> 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@xxxxxxxxxxxxxxxxxxx
> 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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux