public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Marcin Wojtas <mw@semihalf.com>
To: edk2-devel@lists.01.org
Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org,
	nadavh@marvell.com, neta@marvell.com, kostap@marvell.com,
	jinghua@marvell.com, mw@semihalf.com, jsd@semihalf.com
Subject: [platforms: PATCH v2 0/8] Armada 7k/8k - memory improvements
Date: Wed, 25 Oct 2017 08:45:22 +0200	[thread overview]
Message-ID: <1508913930-30886-1-git-send-email-mw@semihalf.com> (raw)

Hi,

This is a second version of DRAM handling and other general improvements.
Two patches were significantly reworked and as a result we support
now not only overall size detection, but also remap parameters.
This way we are immune to future remap changes done in the early
firmware. All above with better readability.

The patches are available in the github:
https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/mem-upstream-r20171025

I'm looking forward to your comments or remarks.

Best regards,
Marcin

Changelog:
1/8
  - Add comment for calling Stall

4/8
  - s/VirtualMemoryTable/mVirtualMemoryTable/
  - restore ASSERT for table elements
  - correct commit log (s/ATF/ARM-TF/)
  - add dynamic remap enable/parameters detection
  - move config space base address to PCD
  - use macros

6/8
  - s/DramSizeGet/GetDramSize/
  - add 'IN OUT' to GetDramSize argument
  - s/AreaLengthMap/RegionCode/
  - use macros to hide arithmetics and increase readability
  - replace humongous switch/case with small if/else

2/8, 3/8, 5/8, 7/8, 8/8
  - Add RBs

Ard Biesheuvel (5):
  Marvell/Armada: Implement EFI_RNG_PROTOCOL driver for EIP76 TRNG
  Marvell/Armada: Increase preallocated memory region size
  Marvell/Armada: Add MemoryInitPeiLib that reserves secure region
  Marvell/Armada: Armada70x0Lib: Add support for 32-bit ARM
  Marvell/Armada: Add 32-bit ARM support

Marcin Wojtas (3):
  Marvell/Armada: Remove custom reset library residues
  Marvell/Armada: Add support from DRAM remapping
  Marvell/Armada: Enable dynamic DRAM size detection

 Platform/Marvell/Armada/Armada.dsc.inc                                                    |  21 +-
 Platform/Marvell/Armada/Armada70x0.dsc                                                    |   8 +-
 Platform/Marvell/Armada/Armada70x0.fdf                                                    |   3 +-
 Platform/Marvell/Armada/Drivers/Armada70x0RngDxe/Armada70x0RngDxe.c                       | 255 ++++++++++++++++++++
 Platform/Marvell/Armada/Drivers/Armada70x0RngDxe/Armada70x0RngDxe.inf                     |  47 ++++
 Platform/Marvell/Armada/Library/Armada70x0Lib/ARM/ArmPlatformHelper.S                     |  77 ++++++
 Platform/Marvell/Armada/Library/Armada70x0Lib/Armada70x0Lib.inf                           |   5 +
 Platform/Marvell/Armada/Library/Armada70x0Lib/Armada70x0LibMem.c                          | 150 ++++++++++--
 Platform/Marvell/Armada/Library/Armada70x0Lib/Armada70x0LibMem.h                          |  73 ++++++
 Platform/Marvell/Armada/Library/Armada70x0MemoryInitPeiLib/Armada70x0MemoryInitPeiLib.c   | 158 ++++++++++++
 Platform/Marvell/Armada/Library/Armada70x0MemoryInitPeiLib/Armada70x0MemoryInitPeiLib.inf |  46 ++++
 Platform/Marvell/Marvell.dec                                                              |  18 +-
 Silicon/Marvell/Documentation/PortingGuide.txt                                            |   9 -
 13 files changed, 824 insertions(+), 46 deletions(-)
 create mode 100644 Platform/Marvell/Armada/Drivers/Armada70x0RngDxe/Armada70x0RngDxe.c
 create mode 100644 Platform/Marvell/Armada/Drivers/Armada70x0RngDxe/Armada70x0RngDxe.inf
 create mode 100644 Platform/Marvell/Armada/Library/Armada70x0Lib/ARM/ArmPlatformHelper.S
 create mode 100644 Platform/Marvell/Armada/Library/Armada70x0Lib/Armada70x0LibMem.h
 create mode 100644 Platform/Marvell/Armada/Library/Armada70x0MemoryInitPeiLib/Armada70x0MemoryInitPeiLib.c
 create mode 100644 Platform/Marvell/Armada/Library/Armada70x0MemoryInitPeiLib/Armada70x0MemoryInitPeiLib.inf

-- 
2.7.4



             reply	other threads:[~2017-10-25  6:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-25  6:45 Marcin Wojtas [this message]
2017-10-25  6:45 ` [platforms: PATCH v2 1/8] Marvell/Armada: Implement EFI_RNG_PROTOCOL driver for EIP76 TRNG Marcin Wojtas
2017-10-25 10:44   ` Leif Lindholm
2017-10-25  6:45 ` [platforms: PATCH v2 2/8] Marvell/Armada: Increase preallocated memory region size Marcin Wojtas
2017-10-25  6:45 ` [platforms: PATCH v2 3/8] Marvell/Armada: Remove custom reset library residues Marcin Wojtas
2017-10-25  6:45 ` [platforms: PATCH v2 4/8] Marvell/Armada: Add support from DRAM remapping Marcin Wojtas
2017-10-25 10:53   ` Leif Lindholm
2017-10-25  6:45 ` [platforms: PATCH v2 5/8] Marvell/Armada: Add MemoryInitPeiLib that reserves secure region Marcin Wojtas
2017-10-25  6:45 ` [platforms: PATCH v2 6/8] Marvell/Armada: Enable dynamic DRAM size detection Marcin Wojtas
2017-10-25 12:26   ` Leif Lindholm
2017-10-25  6:45 ` [platforms: PATCH v2 7/8] Marvell/Armada: Armada70x0Lib: Add support for 32-bit ARM Marcin Wojtas
2017-10-25  6:45 ` [platforms: PATCH v2 8/8] Marvell/Armada: Add 32-bit ARM support Marcin Wojtas

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=1508913930-30886-1-git-send-email-mw@semihalf.com \
    --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