On Wed, 11 Sept 2024 at 00:26, Patrick Rudolph <patrick.rudo...@9elements.com> wrote: > > From: Simon Glass <s...@chromium.org> > > 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 <s...@chromium.org> > Signed-off-by: Patrick Rudolph <patrick.rudo...@9elements.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Cc: Simon Glass <s...@chromium.org> > Cc: Matthias Brugger <mbrug...@suse.com> > Cc: Peter Robinson <pbrobin...@gmail.com> > --- > board/raspberrypi/rpi/.gitignore | 3 + > board/raspberrypi/rpi/Makefile | 2 + > board/raspberrypi/rpi/acpitables.h | 90 +++++++ > board/raspberrypi/rpi/dsdt.asl | 290 ++++++++++++++++++++++ > board/raspberrypi/rpi/emmc.asl | 136 +++++++++++ > board/raspberrypi/rpi/gpudevs.asl | 372 +++++++++++++++++++++++++++++ > board/raspberrypi/rpi/pci.asl | 177 ++++++++++++++ > board/raspberrypi/rpi/pep.asl | 90 +++++++ > board/raspberrypi/rpi/rhpx.asl | 195 +++++++++++++++ > board/raspberrypi/rpi/rpi.c | 183 ++++++++++++++ > board/raspberrypi/rpi/sdhc.asl | 111 +++++++++ > board/raspberrypi/rpi/uart.asl | 208 ++++++++++++++++ > 12 files changed, 1857 insertions(+) > create mode 100644 board/raspberrypi/rpi/.gitignore > create mode 100644 board/raspberrypi/rpi/acpitables.h > create mode 100644 board/raspberrypi/rpi/dsdt.asl > create mode 100644 board/raspberrypi/rpi/emmc.asl > create mode 100644 board/raspberrypi/rpi/gpudevs.asl > create mode 100644 board/raspberrypi/rpi/pci.asl > create mode 100644 board/raspberrypi/rpi/pep.asl > create mode 100644 board/raspberrypi/rpi/rhpx.asl > create mode 100644 board/raspberrypi/rpi/sdhc.asl > create mode 100644 board/raspberrypi/rpi/uart.asl >
Reviewed-by: Simon Glass <s...@chromium.org>