Re: [PATCH qemu.git 1/1] hw/arm/virt: make second UART available

2022-11-30 Thread Axel Heider
Hi, +    switch(uart) { +    case VIRT_UART0: +    break; +    case VIRT_UART1: Maybe pass a 'is_secure' boolean? I don't think this would really make things easier. I wanted to avoid too many changes in this patch. The price is, that there are two places where decisions about the conf

Re: [PATCH qemu.git 1/1] hw/arm/virt: make second UART available

2022-11-30 Thread Philippe Mathieu-Daudé
Hi Axel, On 14/11/22 13:06, ~axelheider wrote: From: Axel Heider The first UART always always exists. If the security extensions are enabled, the second UART also always exists. Otherwise, it only exists if a backend is configured explicitly via '-serial ', where 'null' creates a dummy backend

[PATCH qemu.git 1/1] hw/arm/virt: make second UART available

2022-11-30 Thread ~axelheider
From: Axel Heider The first UART always always exists. If the security extensions are enabled, the second UART also always exists. Otherwise, it only exists if a backend is configured explicitly via '-serial ', where 'null' creates a dummy backend. This allows enabling the second UART explicitly