[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] hw/riscv/virt-acpi-build.c: Update the HID of RISC-V UAR
From: |
Alistair Francis |
Subject: |
Re: [PATCH 3/3] hw/riscv/virt-acpi-build.c: Update the HID of RISC-V UART |
Date: |
Wed, 5 Jun 2024 09:09:22 +1000 |
On Tue, May 28, 2024 at 5:32 PM Sunil V L <sunilvl@ventanamicro.com> wrote:
>
> RISC-V is going to use new HID RSCV0003 for generi UART. So, update the
> HID.
>
> Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Alistair
> ---
> hw/riscv/virt-acpi-build.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/riscv/virt-acpi-build.c b/hw/riscv/virt-acpi-build.c
> index 47ec78e432..7f80368415 100644
> --- a/hw/riscv/virt-acpi-build.c
> +++ b/hw/riscv/virt-acpi-build.c
> @@ -192,7 +192,7 @@ acpi_dsdt_add_uart(Aml *scope, const MemMapEntry
> *uart_memmap,
> uint32_t uart_irq)
> {
> Aml *dev = aml_device("COM0");
> - aml_append(dev, aml_name_decl("_HID", aml_string("PNP0501")));
> + aml_append(dev, aml_name_decl("_HID", aml_string("RSCV0003")));
> aml_append(dev, aml_name_decl("_UID", aml_int(0)));
>
> Aml *crs = aml_resource_template();
> --
> 2.40.1
>
>
- Re: [PATCH 3/3] hw/riscv/virt-acpi-build.c: Update the HID of RISC-V UART,
Alistair Francis <=