blob: 17b68e1b7804068fac1d3544ee37eb4dc960ee78 [file] [log] [blame]
Heinrich Schuchardt2837f832023-12-19 16:04:07 +01001.. SPDX-License-Identifier: GPL-2.0+
2
3ACPI on QEMU
4============
5
6QEMU can provide ACPI tables on ARM, RISC-V (since QEMU v8.0.0), and x86.
7
8The following U-Boot settings are needed for ACPI support::
9
10 CONFIG_CMD_QFW=y
11 CONFIG_ACPI=y
12 CONFIG_GENERATE_ACPI_TABLE=y
13
14On x86 these settings are already included in the defconfig files. ARM and
15RISC-V default to use device-trees.
16
17Instead of updating the configuration manually you can add the configuration
18fragment `acpi.config` to the make command for initializing the configuration.
19E.g.
20
21.. code-block:: bash
22
23 make qemu-riscv64_smode_defconfig acpi.config