public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Pete Batard" <pete@akeo.ie>
To: devel@edk2.groups.io
Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, philmd@redhat.com
Subject: [edk2-platforms][PATCH 0/8] Platform/RPi: Early Raspberry Pi 4 groundwork
Date: Thu, 14 Nov 2019 16:07:32 +0000	[thread overview]
Message-ID: <20191114160740.10072-1-pete@akeo.ie> (raw)

The following set of patches lay some of the groundwork needed for the
addition of the Raspberry Pi 4 as a platform.

They are mostly designed at making the common RPi code more generic, by
introducing new PCDs for the elements that are going to vary between Pi
models, as well as introducing early support for the new Bcm2711 SoC in
Silicon.

Some cleanup of the memory init is also applied to make that part more
generic as well as improve long term maintainability.

Regards,

/Pete

Pete Batard (3):
  Silicon/Broadcom: Add Bcm2711 header
  Platform/RPi: Read more variables from VideoCore during early init
  Platform/RPi: Clean up and improve early memory init

Samer El-Haj-Mahmoud (5):
  Platform/RPi: Add model family detection
  Platform/RPi: Replace Bcm283x SoC base register address with a PCD
  Platform/RPi: Replace Mailbox and Watchdog addresses with PCDs
  Platform/RPi: Replace MMCHS1BASE define with a PCD
  Platform/RPi: Replace DW2_USB_BASE_ADDRESS define with a PCD

 Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.inf   |   3 +
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf                 |   2 +
 Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwUsbHostDxe.inf           |   5 +
 Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwcHw.h                    |   4 +-
 Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c         |  64 +++++
 Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.inf       |   6 +-
 Platform/RaspberryPi/Drivers/SdHostDxe/SdHostDxe.inf                 |   2 +
 Platform/RaspberryPi/Include/IndustryStandard/RpiMbox.h              |   1 +
 Platform/RaspberryPi/Include/Library/RPiMem.h                        |  26 ++
 Platform/RaspberryPi/Include/Protocol/RpiFirmware.h                  |   8 +
 Platform/RaspberryPi/Library/MemoryInitPeiLib/MemoryInitPeiLib.c     |  94 ++++---
 Platform/RaspberryPi/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf   |   1 +
 Platform/RaspberryPi/Library/PlatformLib/AArch64/RaspberryPiHelper.S |  75 +++++-
 Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf             |   7 +-
 Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c            | 256 +++++++++++---------
 Platform/RaspberryPi/RPi3/RPi3.dsc                                   |  11 +-
 Platform/RaspberryPi/RaspberryPi.dec                                 |   2 +
 Silicon/Broadcom/Bcm27xx/Bcm27xx.dec                                 |  22 ++
 Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h          |  15 ++
 Silicon/Broadcom/Bcm283x/Bcm283x.dec                                 |  10 +
 Silicon/Broadcom/Bcm283x/Drivers/InterruptDxe/InterruptDxe.inf       |   4 +-
 Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf                   |   5 +
 Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836.h          |   7 +-
 Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836Sdio.h      |   3 +-
 Silicon/Broadcom/Bcm283x/Library/GpioLib/GpioLib.inf                 |   4 +
 25 files changed, 464 insertions(+), 173 deletions(-)
 create mode 100644 Platform/RaspberryPi/Include/Library/RPiMem.h
 create mode 100644 Silicon/Broadcom/Bcm27xx/Bcm27xx.dec
 create mode 100644 Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h

-- 
2.21.0.windows.1


             reply	other threads:[~2019-11-14 16:07 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-14 16:07 Pete Batard [this message]
2019-11-14 16:07 ` [edk2-platforms][PATCH 1/8] Platform/RPi: Add model family detection Pete Batard
2019-11-14 16:36   ` [edk2-devel] " Michael Brown
2019-11-14 16:55     ` Pete Batard
2019-11-18 17:51   ` Leif Lindholm
2019-11-18 17:58     ` Pete Batard
2019-11-18 18:05       ` Leif Lindholm
2019-11-18 18:32         ` Pete Batard
2019-11-19 15:07           ` Ard Biesheuvel
2019-11-19 16:30             ` [edk2-devel] " Pete Batard
2019-11-20 10:27               ` Leif Lindholm
2019-11-20 21:50                 ` Pete Batard
2019-11-21  8:55                   ` Laszlo Ersek
2019-11-21  9:04                     ` Laszlo Ersek
2019-11-21 20:02                       ` Pete Batard
2019-11-14 16:07 ` [edk2-platforms][PATCH 2/8] Platform/RPi: Replace Bcm283x SoC base register address with a PCD Pete Batard
2019-11-18 16:48   ` Leif Lindholm
2019-11-18 17:19     ` [edk2-devel] " samer.el-haj-mahmoud
2019-11-18 17:26       ` Leif Lindholm
2019-11-14 16:07 ` [edk2-platforms][PATCH 3/8] Silicon/Broadcom: Add Bcm2711 header Pete Batard
2019-11-18 16:50   ` Leif Lindholm
2019-11-14 16:07 ` [edk2-platforms][PATCH 4/8] Platform/RPi: Read more variables from VideoCore during early init Pete Batard
2019-11-18 17:11   ` Leif Lindholm
2019-11-14 16:07 ` [edk2-platforms][PATCH 5/8] Platform/RPi: Clean up and improve early memory init Pete Batard
2019-11-18 17:20   ` Leif Lindholm
2019-11-18 17:34     ` Pete Batard
2019-11-18 17:38       ` Leif Lindholm
2019-11-18 17:40         ` Pete Batard
2019-11-14 16:07 ` [edk2-platforms][PATCH 6/8] Platform/RPi: Replace Mailbox and Watchdog addresses with PCDs Pete Batard
2019-11-18 11:13   ` Philippe Mathieu-Daudé
2019-11-18 13:32     ` Pete Batard
2019-11-14 16:07 ` [edk2-platforms][PATCH 7/8] Platform/RPi: Replace MMCHS1BASE define with a PCD Pete Batard
2019-11-14 16:07 ` [edk2-platforms][PATCH 8/8] Platform/RPi: Replace DW2_USB_BASE_ADDRESS " Pete Batard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191114160740.10072-1-pete@akeo.ie \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox