aboutsummaryrefslogtreecommitdiff
path: root/doc/board/emulation/acpi.rst
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-08 09:11:53 -0500
committerTom Rini <trini@konsulko.com>2024-01-08 09:11:53 -0500
commitf28a77589e7505535a4eebdc7269df98f67dbe68 (patch)
tree69bb9a116ba839ffc101d1ae923485401332294f /doc/board/emulation/acpi.rst
parentc2c598e87cfe56f5991730762c00733c5aa9a994 (diff)
parent8c4b37ce97c27ad4e7f83b028d4cd1396a51a36f (diff)
Merge tag 'dm-next-7jan23' of https://source.denx.de/u-boot/custodians/u-boot-dm into next
switch to SMBIOS3 tables allow devicetree from bloblist ACPI support for ARM and RISC-V
Diffstat (limited to 'doc/board/emulation/acpi.rst')
-rw-r--r--doc/board/emulation/acpi.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/board/emulation/acpi.rst b/doc/board/emulation/acpi.rst
new file mode 100644
index 0000000000..17b68e1b78
--- /dev/null
+++ b/doc/board/emulation/acpi.rst
@@ -0,0 +1,23 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+ACPI on QEMU
+============
+
+QEMU can provide ACPI tables on ARM, RISC-V (since QEMU v8.0.0), and x86.
+
+The following U-Boot settings are needed for ACPI support::
+
+ CONFIG_CMD_QFW=y
+ CONFIG_ACPI=y
+ CONFIG_GENERATE_ACPI_TABLE=y
+
+On x86 these settings are already included in the defconfig files. ARM and
+RISC-V default to use device-trees.
+
+Instead of updating the configuration manually you can add the configuration
+fragment `acpi.config` to the make command for initializing the configuration.
+E.g.
+
+.. code-block:: bash
+
+ make qemu-riscv64_smode_defconfig acpi.config