]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: raspberrypi: Add ASL files from tianocore
authorSimon Glass <sjg@chromium.org>
Wed, 23 Oct 2024 13:20:12 +0000 (15:20 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 27 Oct 2024 23:24:13 +0000 (17:24 -0600)
commit2f3b679298903c6ce5169953dfe7e08ffeadc3b9
tree39d9584bc04df93b53e268ce9df107f16c8e61d9
parent797b01cc0dfbf756c70c1e7b5557b6e6ccf9f6fb
board: raspberrypi: Add ASL files from tianocore

Add the necessary DSDT files copied from tianocore to boot the RPi4.
In addition generate a board specific SSDT to dynamically enable/disable
ACPI devices based on FDT. This is required to support the various variants
and boot options. It also allows to test the code on QEMU 9.0 without
modifications, since it doesn't emulate PCIe yet.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Matthias Brugger <mbrugger@suse.com>
Cc: Peter Robinson <pbrobinson@gmail.com>
12 files changed:
board/raspberrypi/rpi/.gitignore [new file with mode: 0644]
board/raspberrypi/rpi/Makefile
board/raspberrypi/rpi/acpitables.h [new file with mode: 0644]
board/raspberrypi/rpi/dsdt.asl [new file with mode: 0644]
board/raspberrypi/rpi/emmc.asl [new file with mode: 0644]
board/raspberrypi/rpi/gpudevs.asl [new file with mode: 0644]
board/raspberrypi/rpi/pci.asl [new file with mode: 0644]
board/raspberrypi/rpi/pep.asl [new file with mode: 0644]
board/raspberrypi/rpi/rhpx.asl [new file with mode: 0644]
board/raspberrypi/rpi/rpi.c
board/raspberrypi/rpi/sdhc.asl [new file with mode: 0644]
board/raspberrypi/rpi/uart.asl [new file with mode: 0644]