[PATCH v2 5/7] riscv: qemu: copy ACPI tables from QEMU

Tom Rini trini at konsulko.com
Sat Dec 9 14:45:49 CET 2023


On Sat, Dec 02, 2023 at 11:23:19AM -0700, Simon Glass wrote:
> On Tue, 21 Nov 2023 at 08:28, Heinrich Schuchardt
> <heinrich.schuchardt at canonical.com> wrote:
> >
> > If CONFIG_GENERATE_ACPI_TABLES=y, read the ACPI tables provided by QEMU
> > and make them available to U-Boot.
> >
> > Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> > ---
> > v2:
> >         no change
> > ---
> >  board/emulation/qemu-riscv/qemu-riscv.c | 17 +++++++++++++++++
> >  1 file changed, 17 insertions(+)
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> Can we not use common code to do this? What is different about ARM and x86?

This is why I was trying to convince people we need a symbol that means
"handle ACPI tables for QEMU targets" as yes, this code too should be in
that common area I bet.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231209/5a5aace2/attachment.sig>


More information about the U-Boot mailing list