Repository navigation
dockchannel_uart: Add Dockchannel UART as fallback for the hardware UART - #546
Conversation
Signed-off-by: Sven Peter <sven@svenpeter.dev>
1176414 to
a3f8df3
Compare
jannau
left a comment
There was a problem hiding this comment.
Is there a reason why this doesn't implement EARLY_UART using dockchannel-uart? I thought you already had code for it.
| return; | ||
|
|
||
| while (read32(uart_base + DATA_TX_FREE) == 0) | ||
| ; |
There was a problem hiding this comment.
Do we want to change our .clang-format to format this on a single line? It looks a little bit ugly as is
There was a problem hiding this comment.
Yeah, I'll see what I can do later this week
There was a problem hiding this comment.
feel free to merge as. We can reformat and change clang-format later. The option should be AllowShortBlocksOnASingleLine: Empty
edit: but requires writing it as
while (read32(uart_base + DATA_TX_FREE) == 0) {}
Yeah, it's just untested and I haven't gotten around to collecting the MMIO base for all SoCs. I was planning to submit both at a later time but Nick found this useful already |
No description provided.