On Wed, 11 Sept 2024 at 00:26, Patrick Rudolph <[email protected]> wrote: > > From: Simon Glass <[email protected]> > > 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 <[email protected]> > Signed-off-by: Patrick Rudolph <[email protected]> > Reviewed-by: Simon Glass <[email protected]> > Cc: Simon Glass <[email protected]> > Cc: Matthias Brugger <[email protected]> > Cc: Peter Robinson <[email protected]> > --- > 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 <[email protected]>

