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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel