Changelog:
v3
Fixed style issues (STATIC, VOID, spaces and include files order).
Fixed depreciated defines (EFI_D_ERROR and EFI_D_NET).
Split patch into a set of patches due to the patch size.
v2
- Updated msk_if_softc structures to hold data pointers to its parent
controller structure and corresponding PHY structure.
- Updated e1000phy_softc structure to hold a data pointer to its
logical controller.
- Reduced number of parameters in multiple functions. Using the
msk_if_softc and msk_softc structure members instead.
- Corrected the code for dual MAC controllers. Each logical interface
has its own TX and RX buffers. The YUKON_DRIVER driver's structure
includes a controller port number. The SNP interface functions passing
a msk_if_softc object (corresponding to the controller interface) to
the if_msk interface functions.
- Removed linked lists from the if_msk and e1000phy. The association
between msk_softc and controller resolved on the SNP interface level.
v1
The patch adds support for multi-controller configuration.
Daniil Egranov (4):
Drivers/Net/MarvellYukonDxe: Pass interface structure as a parameter
Drivers/Net/MarvellYukonDxe: Pass PHY structure as a parameter
Drivers/Net/MarvellYukonDxe: Added multi-MAC and multi-controller
support
Drivers/Net/MarvellYukonDxe: Enhance controller's interface structure
Drivers/Net/MarvellYukonDxe/DriverBinding.c | 452 +++++++---
Drivers/Net/MarvellYukonDxe/MarvellYukon.h | 71 ++
Drivers/Net/MarvellYukonDxe/Snp.c | 64 +-
Drivers/Net/MarvellYukonDxe/e1000phy.c | 241 +++---
Drivers/Net/MarvellYukonDxe/e1000phyreg.h | 12 +
Drivers/Net/MarvellYukonDxe/if_msk.c | 1223 ++++++++++++++-------------
Drivers/Net/MarvellYukonDxe/if_msk.h | 23 +-
Drivers/Net/MarvellYukonDxe/if_mskreg.h | 16 +-
Drivers/Net/MarvellYukonDxe/miivar.h | 15 +-
9 files changed, 1274 insertions(+), 843 deletions(-)
--
2.7.4
Hi all,
When I use generic BDS & boot manager, I found there's no highlight
string. It's hard to distinguish which item I'm selecting.
How to enable highlight string when the terminal type is TTYTERMTYPE?
Best Regards
Haojian
The BaseMemoryLib has switch to use BaseMemoryLibOptDxe at OPP, but
the flash module is device attributes and have to be alignment accessed.
so we change the flash related drivers to use generic BaseMemoryLib which
is alignment access.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo(a)linaro.org>
---
Platforms/Hisilicon/D05/D05.dsc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Platforms/Hisilicon/D05/D05.dsc b/Platforms/Hisilicon/D05/D05.dsc
index 6c4beef..84aa127 100644
--- a/Platforms/Hisilicon/D05/D05.dsc
+++ b/Platforms/Hisilicon/D05/D05.dsc
@@ -494,6 +494,7 @@
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
<LibraryClasses>
NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
+ BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
}
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
@@ -608,7 +609,10 @@
OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf
!ifdef $(FDT_ENABLE)
- OpenPlatformPkg/Chips/Hisilicon/Drivers/UpdateFdtDxe/UpdateFdtDxe.inf
+ OpenPlatformPkg/Chips/Hisilicon/Drivers/UpdateFdtDxe/UpdateFdtDxe.inf {
+ <LibraryClasses>
+ BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
+ }
!endif #$(FDT_ENABLE)
#PCIe Support
--
1.9.1
The images not from FV are treated as 3rd party images,
and will be dispatched after EndOfDxe event due to
EDK2 commit 8be37a5cee, so we signal a EndOfDxe event
or the bootloader application will not be executed.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo(a)linaro.org>
---
Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c | 2 ++
Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf | 1 +
2 files changed, 3 insertions(+)
diff --git a/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c b/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
index e6aaf61..58f44fe 100644
--- a/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
+++ b/Chips/Hisilicon/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
@@ -157,6 +157,8 @@ PlatformBdsInit (
VOID
)
{
+ //Signal EndofDxe Event
+ EfiEventGroupSignal(&gEfiEndOfDxeEventGroupGuid);
}
diff --git a/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf b/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
index 236e314..baceb57 100644
--- a/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
+++ b/Chips/Hisilicon/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
@@ -67,6 +67,7 @@
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut
[Guids]
+ gEfiEndOfDxeEventGroupGuid
gEfiFileInfoGuid
gEfiFileSystemInfoGuid
gEfiFileSystemVolumeLabelInfoIdGuid
--
1.9.1
Hi,
I send v5 of PciEmulation, which base on NonDiscoverablePciDeviceDxe driver:
[PATCH v3 0/5] MdeModulePkg: add support for non-discoverable devices
This version addresses all comments from previous one, details can be
found in the changelog.
Code is also available in the github:
https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/opp…
Tested on XHCI and SDHCI. New board should be available for us on
Monday.
I'm looking forward to your review.
Best regards,
Marcin
Changelog
v4 -> v5
* Fix gMarvellTokenSpaceGuid.PcdPciEXhci
* Add comments in the driver and remove outdated one
* Add DEV_ENABLED macro
* Replace PCI_E with PCIE prefix
* Add 'm' prefix to A70x0PlatDescTemplate
* Improve printing on errors
v3 -> v4
* Remove Pcd string parsing
* Add HW description structure
* Rewrite driver
* Adjust documentation
v2 -> v3
* Use static globals for PCD-related variables
* Check with 'if' in runtime if they are correct
* Return error on each kind of failure
* Don't use arrays of DmaTypes/DevTypes for registering
NonDiscoverableDevices
* Remove redundant protocols, includes, libraries
* Add reviewed-by in patches 2-6
v1 -> v2
* Move to NonDiscoverablePciDeviceDxe
Jan Dąbroś (3):
Platforms/Marvell: Enable PciEmulation driver for Armada70x0 platform
Platforms/Marvell: Enable USB stack for Armada70x0 platform
Platforms/Marvell: Enable SATA stack for Armada70x0 platform
Marcin Wojtas (3):
Platforms/Marvell: Add PciEmulation driver
Platforms/Marvell: Enable two xHCI ports for Armada70x0 board
Platforms/Marvell: Enable SATA port for Armada70x0 board
.../Marvell/PortingGuide/PciEmulation.txt | 31 +++
Platforms/Marvell/Armada/Armada.dsc.inc | 19 ++
Platforms/Marvell/Armada/Armada70x0.dsc | 7 +
Platforms/Marvell/Armada/Armada70x0.fdf | 18 ++
Platforms/Marvell/Marvell.dec | 5 +
Platforms/Marvell/PciEmulation/PciEmulation.c | 230 +++++++++++++++++++++
Platforms/Marvell/PciEmulation/PciEmulation.inf | 61 ++++++
7 files changed, 371 insertions(+)
create mode 100644 Documentation/Marvell/PortingGuide/PciEmulation.txt
create mode 100644 Platforms/Marvell/PciEmulation/PciEmulation.c
create mode 100644 Platforms/Marvell/PciEmulation/PciEmulation.inf
--
1.8.3.1