[PATCH v3 26/30] board: raspberrypi: Add ASL files from tianocore

Simon Glass sjg at chromium.org
Thu Sep 12 02:58:25 CEST 2024


On Wed, 11 Sept 2024 at 00:26, Patrick Rudolph
<patrick.rudolph at 9elements.com> wrote:
>
> From: Simon Glass <sjg at 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 <sjg at chromium.org>
> Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Matthias Brugger <mbrugger at suse.com>
> Cc: Peter Robinson <pbrobinson at 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 <sjg at chromium.org>


More information about the U-Boot mailing list