summaryrefslogtreecommitdiff
path: root/Platform/SolidRun
AgeCommit message (Collapse)AuthorFilesLines
2023-11-16Silicon/Marvell: Restructure packageNarinder Dhillon10-171/+171
Current Marvell package structure makes it difficult to add new silicon packages that reuse common elements without creating nested DEC files. This patch creates a new MarvellSiliconPkg folder and moves the current common elements inside it. Also gMarvellTokenSpaceGuid has been renamed to gMarvellSiliconTokenSpaceGuid to align with new package name. Signed-off-by: Narinder Dhillon <ndhillon@marvell.com> Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
2022-04-20Marvell/SolidRun: Rework Readme.md filesGrzegorz Bernacki2-136/+86
This patch reworks Readme.md files of Marvell and SolidRun platforms as follows: * Add supported features list. * Leave minmal EDK2 build command. * Add 'NOTE' box about INCLUDE_TFTP_COMMAND build flag. * Move full firmware image build/burn howtos to external wiki pages. * Add links and update paragraphs. Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
2021-09-21SolidRun/Armada80x0McBin: Add Readme.mdGrzegorz Bernacki1-0/+97
Add the complete build instruction for MacchiatoBin platform. Signed-off-by: Marcin Wojtas <mw@semihalf.com>
2021-09-21SolidRun/Cn913xCEx7Eval: Add Readme.mdMarcin Wojtas1-0/+98
Add the complete build instruction for CN913x CEx7 Evaluation Board. Signed-off-by: Marcin Wojtas <mw@semihalf.com>
2021-08-17SolidRun/Cn913xCEx7Eval: Add platform supportMarcin Wojtas12-0/+819
This patch adds the required platform description files, along with the hardware configuration libraries, for the SolidRun CN913x CEx7 Evaluation Board. Supported interfaces: * SPI flash & memory-mapped variable storage access * uSD * eMMC * 7x PCIE root complex * USB * Networking: * 1Gbps RGMII via PHY * 2500Base-X via quad 1Gpbs switch * 5Gbps via SFP cage and PHY Signed-off-by: Marcin Wojtas <mw@semihalf.com>
2021-08-02Marvell: Armada7k8k/OcteonTX: Enable additional board configurationMarcin Wojtas1-0/+11
Introduce new board description library extension that allows to execute custom initialization sequence. Add stubs for all existing platforms. Signed-off-by: Marcin Wojtas <mw@semihalf.com>
2021-03-31Platform/SolidRun: Consume MdeLibs.dsc.inc for RegisterFilterLibDandan Bi1-0/+1
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Marcin Wojtas <mw@semihalf.com> Cc: Leif Lindholm <leif@nuviainc.com> Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Marcin Wojtas <mw@semihalf.com>
2019-10-15Marvell: Customize per-board SBMIOS stringsMarcin Wojtas1-0/+5
Now that the customization of Type1/2/3 SBMIOS tables strings is possible, adjust them for all supported boards. Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2019-07-29Platform/SolidRun: Replace BSD License with BSD+Patent LicenseMichael D Kinney1-28/+1
https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Email thread with approval from Marvell: https://edk2.groups.io/g/devel/message/41507 Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Marcin Wojtas <mw@semihalf.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Marcin Wojtas <mw@semihalf.com>
2019-05-24Marvell/Armada7k8k: Remove duplication in .dsc filesMarcin Wojtas1-3/+1
Mistakenly in all Marvell Armada7k8k .dsc files '[LibraryClasses.common]' section was split. Merge entries into one for each platform. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2019-05-24Marvell/Armada7k8k: Extend board description libraries with PCIEMarcin Wojtas1-0/+54
This patch extends ArmadaBoardDescLib libraries for all existing Armada7k8k-based platforms with PCIE. It introduces ArmadaBoardPcieControllerGet routine with per-board PCIE controllers description. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2019-05-24Marvell/Library: MvGpioLib: Extend GPIO pin descriptionMarcin Wojtas1-0/+1
In order to avoid hardcoding the controller type when using MV_GPIO_PIN, extend this structure with new according field. This patch is required to properly handle PCIE slot reset with the GPIO pin. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2019-05-24Silicon/Armada7k8k: Update DSC/FDF to use NetworkPkg DSC/FDFShenglei Zhang1-0/+8
This patch updates the platform DSC/FDF files to use the include fragment files provided by NetworkPkg. Cc: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2019-05-18Platform/SolidRun: Replace BSD License with BSD+Patent LicenseMichael D Kinney6-42/+6
https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2019-01-17Marvell/Armada7k8k: Introduce NonDiscoverable device init routinesMarcin Wojtas4-0/+144
To abstract the initialization required for non-discoverable devices, which is often platform specific (e.g. enable GPIO-driven power supply), introduce a NonDiscoverableInitLib for use by the NonDiscoverable code, for which each platform can supply its own version. Add XHCI power supply (so called 'VBUS') enabling routines for supported platforms (Armada70x0Db, Armada80x0Db, Armada80x0McBin). Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2019-01-17Marvell/Armada7k8k: Enable GPIO drivers compilationMarcin Wojtas1-0/+2
Enable building new GPIO drivers before adding VBUS pins handling. Update relevant boards .dsc files with IO expander information. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2019-01-17SolidRun/Armada80x0McBin: Extend board description library with GPIOMarcin Wojtas2-0/+18
This patch implements ArmadaBoarDescLib library for Armada80x0McBin comunity board and introduces ArmadaBoardGpioGet routine with per-board GPIO expander description. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-11-20SolidRun/Armada80x0McBin: Introduce board description libraryTomasz Michalec3-0/+97
This patch implements ArmadaBoarDescLib library for Armada80x0McBin comunity board and add to it ArmadaBoardDescSdMmcGet function with description of connected Xenon host controllers. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2018-08-07Marvell/Armada80x0McBin: Enable ACPI supportMarcin Wojtas2-0/+7
This patch introduces DSDT table and adds necessary wiring in order to enable ACPI support on Armada 8040 MacchiatoBin. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2018-08-07Marvell/Armada80x0McBin: Enable device tree supportMarcin Wojtas2-0/+6
This patch enables compilation of the Armada 8040 MacchiatoBin device tree. Disable OS acccess to the SPI flash and extend PCI ranges to use 256MB mmio32 and 4GB mmio64. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2018-08-07Marvell/Armada7k8k: Enable including additional DXE FV componentsMarcin Wojtas2-0/+14
Unified .fdf file allows to update all Armada7k8k-based boards at the same time. However there may be a need to add unique DXE firmware volume contents like DTB or ACPI. For this purpose create empty files for existing boards that are included as defined in BOARD_DXE_FV_COMPONENTS macro. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2018-06-21Marvell/Library: RealTimeClockLib: Simplify obtaining base addressMarcin Wojtas1-1/+1
Hitherto mechanism of obtaining RTC base address proved to be not flexible enough to support more than one SoC family. Because there can be a single controller in use anyway, this patch drops utilization of MvHwDescLib header with hardcoded structure and replace it with simple UINT64 PCD. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-06-13Marvell/Armada7k8k: Introduce support for Armada-8040-McBinMarcin Wojtas1-0/+149
Add new board description file Armada80x0McBin.dsc, which uses common Armada7k8k.fdf file. By default build capsule components. Most of the interfaces are fully functional, except for: - USB ports - it requires merging GPIO support and VBUS power supply enabling - SdMmc ports - they are kept enabled, as no issues were observed on v1.3 board so far. However higher speed modes (HS200) and full stability will be gained after Xenon driver improvements merge. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>