[PATCH 13/17] board: raspberrypi: Add ASL files from tianocore

Simon Glass sjg at chromium.org
Mon Jul 29 17:28:41 CEST 2024


Hi Patrick,

On Sat, 27 Jul 2024 at 01:20, Patrick Rudolph
<patrick.rudolph at 9elements.com> wrote:
>
> From: Simon Glass <sjg () chromium ! org>

broken email address

>
> 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>
> 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 |  91 +++++++
>  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        | 182 ++++++++++++++
>  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