Paul Mackerras writes:
> Currently microwatt-based SoCs come with a "potato" UART. This
> adds udbg support for the potato UART, giving us both an early
> debug console, and a runtime console using the hvc-udbg support.
Can y'all get a real UART?
There's more code here than in the platform itse
Hi!
On Sat, May 09, 2020 at 03:03:40PM +1000, Paul Mackerras wrote:
> + __asm__ volatile("mtmsrd %3,0; ldcix %0,%1,%2; mtmsrd %4,0"
> + : "=r" (val) : "b" (potato_uart_base), "r" (offset),
> +"r" (msr & ~MSR_DR), "r" (msr));
That should be "=&r"(v
Currently microwatt-based SoCs come with a "potato" UART. This
adds udbg support for the potato UART, giving us both an early
debug console, and a runtime console using the hvc-udbg support.
Signed-off-by: Paul Mackerras
---
arch/powerpc/Kconfig.debug | 6 ++
arch/powerpc/includ