public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [platforms: PATCH v2 0/8] Armada 7k/8k - memory improvements
@ 2017-10-25  6:45 Marcin Wojtas
  2017-10-25  6:45 ` [platforms: PATCH v2 1/8] Marvell/Armada: Implement EFI_RNG_PROTOCOL driver for EIP76 TRNG Marcin Wojtas
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Marcin Wojtas @ 2017-10-25  6:45 UTC (permalink / raw)
  To: edk2-devel
  Cc: leif.lindholm, ard.biesheuvel, nadavh, neta, kostap, jinghua, mw,
	jsd

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-10-25 12:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-25  6:45 [platforms: PATCH v2 0/8] Armada 7k/8k - memory improvements Marcin Wojtas
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox