summaryrefslogtreecommitdiff
path: root/Platform
AgeCommit message (Collapse)Author
2021-01-25Platform/ARM: Juno: Remove Serial port SSDTSami Mujawar
Dynamic Tables Framework has been updated to add support for Dynamic AML. The SPCR and DBG generators have also been updated to dynamically generate the AML description for the Serial Ports. Therefore, the SSDT serial port description is redundant when Dynamic Tables Framework is enabled, so remove it. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2021-01-25Platform/ARM: Juno: Remove PL050 KMI description from DSDTSami Mujawar
Remove the PL050 PS/2 Keyboard/Mouse Interface (KMI) controller description from the Juno DSDT as: - PS/2 ports are now considered as legacy ports. Alternatively, a USB Keyboard/Mouse can be connected to Juno USB ports. - Concurrent usage of the Juno KMI and USB appear to trigger I/O errors from the USB mass storage driver. This has proven to be problematic as USB drivers typically cannot recover from this issue. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2021-01-25Platform/ARM: FVP: Fix serial port usageSami Mujawar
The serial ports on FVP are follows: UART# Address Interrupt No. ----- ------- ------------- UART0 0x1c090000 0x25 UART1 0x1c0a0000 0x26 UART2 0x1c0b0000 0x27 UART3 0x1c0c0000 0x28 See Fast Model Reference Manual at: https://developer.arm.com/documentation/100964/1113/ The FVP firmware configures the debug log output on UART1 and the UEFI shell is configured to use UART0. The Serial Port Console Redirector (SPCR) table is configured such that the UEFI shell is migrated to the OS serial console. When Dynamic Tables Framework is enabled, the FVP Configuration Manager uses the PCDs PcdSerialRegisterBase and PL011UartInterrupt to populate the SPCR table. The current firmware implementation has two problems: 1. The PL011UartInterrupt was not set to the correct interrupt number. Therefore, the OS serial console was not fully functional (serial output was printed but input could not be provided). 2. The OS serial console was setup on UART1, while it should have been UART0. Therefore, when Dynamic Tables Framework is enabled fix the UART base address and interrupt number such that UART0 is configured in the SPCR table. Also remove ConfigurationManager.dsc.inc as this is now redundant. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2021-01-25Platform/ARM: Juno: Remove usage of function macrosSami Mujawar
The Configuration Manager code for Juno uses function macros to prepare and return CM objects. However, according to section 5.5.2.1 of the edk2 coding standard, use of functional macros is not allowed. See https://edk2-docs.gitbook.io/edk-ii-c-coding-standards-specification/ 5_source_files/55_preprocessor_directives#5-5-2-1-functional-macros-are- generally-discouraged Therefore, replace the function macros with static helper functions. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2021-01-25Platform/ARM: FVP: Remove usage of function macrosSami Mujawar
The Configuration Manager code for FVP uses function macros to prepare and return CM objects. However, according to section 5.5.2.1 of the edk2 coding standard, use of functional macros is not allowed. See https://edk2-docs.gitbook.io/edk-ii-c-coding-standards-specification/ 5_source_files/55_preprocessor_directives#5-5-2-1-functional-macros-are- generally-discouraged Therefore, replace the function macros with static helper functions. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2021-01-19MinPlatformPkg: Add a Lib for MinPlatformPkg.Yanming Zhu
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3036 MinDsdt is missing a LibraryClasses dependency for MemoryAllocationLib,so I add it for this. Cc:Chasel Chiu <chasel.chiu@intel.com> Cc:Nate DeSimone <nathaniel.l.desimone@intel.com> Cc:Liming Gao <gaoliming@byosoft.com.cn> Cc:Eric Dong <eric.dong@intel.com> Signed-off-by: Yanming Zhu <zhuyanming@byosoft.com.cn> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2021-01-19MinPlatformPkg: Change Several modules.Yanming Zhu
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3034 The duplicated FILE_GUIDS in several files have been changed to make their GUids unique Cc:Chasel Chiu <chasel.chiu@intel.com> Cc:Nate DeSimone <nathaniel.l.desimone@intel.com> Cc:Liming Gao <gaoliming@byosoft.com.cn> Cc:Eric Dong <eric.dong@intel.com> Signed-off-by: Yanming Zhu <zhuyanming@byosoft.com.cn> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2021-01-19MinPlatformPkg: Fixed MinPlatformPkg.decJiwei Wei
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3035 Several new LibraryClasses are missing from MinPlatformPkg.dec, so i add some new interfaces. Signed-off-by: Jiwei Wei <weijiwei@byosoft.com.cn> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2021-01-19Intel Platforms: add OrderedCollectionLib class resolutionLaszlo Ersek
The edk2 patch ShellPkg/ShellCommandLib: add ShellSortFileList for BZ#3151 will make the ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf instance dependent on the OrderedCollectionLib class. Because the shell binaries in the Intel platform DSCs consume the above UefiShellCommandLib instance, resolve the OrderedCollectionLib class in them. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Kelly Steele <kelly.steele@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Cc: Yi Qian <yi.qian@intel.com> Cc: Zailiang Sun <zailiang.sun@intel.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3151 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20210118084803.22552-1-lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2021-01-18ARM Silicon and Platforms: add OrderedCollectionLib class resolutionLaszlo Ersek
The edk2 patch ShellPkg/ShellCommandLib: add ShellSortFileList for BZ#3151 will make the ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf instance dependent on the OrderedCollectionLib class. Because the shell binaries in the ARM silicon and platform DSCs consume the above UefiShellCommandLib instance, resolve the OrderedCollectionLib class in them. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Marcin Wojtas <mw@semihalf.com> Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Cc: Thomas Abraham <thomas.abraham@arm.com> Cc: Wenyi Xie <xiewenyi2@huawei.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3151 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20210113082843.9095-3-lersek@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Acked-by: Ard Biesheuvel <ardb+tianocore@kernel.org> Acked-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Marcin Wojtas <mw@semihalf.com>
2021-01-18Platform/BeagleBoard: add missing TimeBaseLib resolutionLaszlo Ersek
Add the resolution for TimeBaseLib, which is now required to build the EmbeddedPkg RTC driver. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20210113082843.9095-2-lersek@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Acked-by: Ard Biesheuvel <ardb+tianocore@kernel.org> Acked-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2021-01-08Platform/SynQuacerEvalBoard: add missing library class resolutionsArd Biesheuvel
Catch up with changes in the EDK2 repository that have caused the build to break on missing resolution for library classes that were not being used before. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2021-01-08Platform/DeveloperBox: add missing TimeBaseLib resolutionArd Biesheuvel
Add the resolution for TimeBaseLib, which is now required to build the EmbeddedPkg RTC driver. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2021-01-08Platform/AMD/Styx: add missing TimeBaseLib resolutionsArd Biesheuvel
Add the resolution for TimeBaseLib to the various Styx DSCs, which is now required to build the EmbeddedPkg RTC driver. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2021-01-08Platform/RaspberryPi: Correct device path removal.Jeremy Linton
The Arasan driver now works with the eMMC2 device. This means that both the PcdSdIsArasan and the !PcdSdIsArasan result in valid SD controllers on the rpi4. Lets avoid removing the "stale" boot entry, in this case which also has the side effect of avoiding a boot assert when eMMC2 is selected. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Reviewed-by: Andrei Warkentin <awarkentin@vmware.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2021-01-08Platform/RaspberryPi: Power up SD, and tweak GPIOsJeremy Linton
It seems we should be powering up the SD cards, and possibly the clocks as well to assure they are setup properly before we attempt to access the controller. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Reviewed-by: Andrei Warkentin <awarkentin@vmware.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2021-01-08Platform/RaspberryPi/Arasan: Select the correct base frequencyJeremy Linton
The firmware reports the eMMC2 frequency with a slightly different mailbox command, lets select the correct one based on which controller we are binding to. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Reviewed-by: Andrei Warkentin <awarkentin@vmware.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2021-01-08Platform/RaspberryPi/Arasan: Add write delay and voltage/clock configJeremy Linton
The uboot and Linux drivers have notes that there is a clock domain crossing problem that happens with back to back writes to the SD controllers on the rpi. Its not clear if this is still applicable to the rpi4/eMMC2 but it seems wise to add it. Further, we need to assure that the card voltage is set to 3.3V, and we should try and follow some of the SDHCI docs when it comes to changing the clock. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Reviewed-by: Andrei Warkentin <awarkentin@vmware.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2021-01-08Platform/RaspberryPi: Split MMC register definitionsJeremy Linton
The current MMC (really SDHCI) definitions are tied to the Arasan controller. As we intend to reuse the definitions lets make the base address configurable when the driver loads. This assumes we won't ever want to run both the eMMC2 and Arasan SDHCI controller at the same time. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Reviewed-by: Andrei Warkentin <awarkentin@vmware.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2021-01-08Platform/RaspberryPi: Add further mailbox helpersJeremy Linton
Lets add some further mailbox helpers and convert the existing RpiFirmwareSetLed into a generic SetGpio() function. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Reviewed-by: Andrei Warkentin <awarkentin@vmware.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2021-01-08Platform/RaspberryPi: Update VPU mailbox constantsJeremy Linton
Lets sync our mailbox commands with the known/Linux constants so that we have a more complete view of what we can request from the VPU. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Reviewed-by: Andrei Warkentin <awarkentin@vmware.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2021-01-06Platform/RaspberryPi : Fix Usb2Hc SCT issuesSamer El-Haj-Mahmoud
REF: https://github.com/pftf/RPi4/issues/88 Fix SCT failures in the RPi USB2_HC_PROTOCOL by adding input parameter validation in Reset(), SetState(), GetState(), and SyncInterruptTransfer() Signed-off-by: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-05Platform/RaspberryPi: Fix Linux kernel panic on reset/poweroffPete Batard
Commit 94e9fba43d7e132be3c582c676968a7f408072c1 introduced an unconditional call to PcdGet32 after we exit boot services, that produces a kernel panic on Linux reset. This addendum to the previous commit ensures that we only read the PCD and apply the delay while we are still in UEFI, which is what we want anyway as the goal was to fix the storage of NV variables set by the user from within the UEFI firmware interface. Signed-off-by: Pete Batard <pete@akeo.ie> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/ARM: Fix Ecc error 8005Pierre Gondois
Following the Ecc reported error in the edk2 repository, an enum and its elements have been renamed in: ArmPlatformPkg/Include/Library/LcdPlatformLib.h The Ecc error reported in edk2 is: Variable name does not follow the rules: 1. First character should be upper case 2. Must contain lower case characters 3. No white space characters 4. Global variable name must start with a 'g' Indeed, according to the EDK II C Coding Standards Specification, s5.6.2.2 "Enumerated Types" and s4.3.4 Function and Data Names, elements of an enumerated type "shoud be a mixed upper- and lower-case text". Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/ARM/VExpressPkg: Remove LcdPlatformLib.hPierre Gondois
LcdPlatformLib.h was introduced by 8ad58788b5c3 as a duplicate of the edk2 original file at: edk2/ArmPlatformPkg/Include/Library/LcdPlatformLib.h The list of files in edk2-plarforms currently using LcdPlatformLib.h is the following: Platform/ARM/SgiPkg/Library/HdLcdArmSgiLib/HdLcdArmSgi.c:11 Platform/ARM/VExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpress.c Platform/ARM/VExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpress.c Platform/ARM/VExpressPkg/Library/ArmMaliDpLib/ArmMaliDpLib.c Platform/ARM/JunoPkg/Library/HdLcdArmJunoLib/HdLcdArmJuno.c They are all using the SCAN_TIMINGS structure. However, this structure is only defined in the original file in the edk2 repository. Thus, the edk2-platforms is un-used and can be safely removed. The build system prefers the edk2 version of the file over its edk2-platforms copy due to the .dec files order in each .inf file where the the library is used. Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/ARM/SgiPkg: Add initial support for RD-N2 platformAditya Angadi
Arm's RD-N2 platform is built using 16 Neoverse N2 cores and connected to 8GB of RAM. Add initial platform support for this platform. Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/ARM/SgiPkg: Add ACPI tables for RD-N2 platformAditya Angadi
Add Madt and Dsdt ACPI tables that are specific for RD-N2 platform. Reuse the rest of the shared ACPI tables in SgiPkg. Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/ARM/SgiPkg: Define base address PCD for derivative platformsAditya Angadi
The upcoming derivative platforms to be supported under SgiPkg have changes in the base address for some of the components. Define PCDs for those base address in a different includeable platform description file so that it can be included in platforms that have and updated memory map. Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/ARM/SgiPkg: remove the use of SMSC Lan91x controllerAditya Angadi
Virtio network is supported for all the platforms in SgiPkg and so remove the use of SMSC Lan91x controller from all the platforms. Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/ARM/SgiPkg: Use PCD for base addressesAditya Angadi
Certain base addresses have been specified using macros. But the upcoming derivative platforms that have to be supported under the SgiPkg have changes in some of those base addresses and so these macros are not applicable on those upcoming platforms. So convert the affected macros into PCDs and let the platform description file choose the appropriate set of PCDs that is applicable for the platform. In addition to this, use the PCDs to replace existing uses of the macros that have been converted into PCDs. Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/ARM/SgiPkg: rename RdDanielCfgXlr to RdV1McAditya Angadi
Reference Design platform RD-Daniel-ConfigXLR has been renamed to RD-V1-MC. Correspondingly, remove all uses of 'RdDanielCfgXlr' and replace it with RdV1Mc where appropriate Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/ARM/SgiPkg: Rename RdDanielCfgM to RdV1Aditya Angadi
Reference Design platform RD-Daniel has been renamed to RD-V1. Correspondingly, remove all uses of 'RdDanielCfgM' and replace it with RdV1 where appropriate Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2021-01-04Platform/RaspberryPi: Add system/user defined reset delayPete Batard
Due to the method in which NV variables are stored on removable media for the Raspberry Pi platform, and the manner in which we dump updated variables right before reset, it is possible, and has been repeatedly demonstrated with SSD-based USB 3.0 devices, that the updated file does not actually end up being written to permanent storage, due to the device write-cache not having enough time to be flushed before reset. To compensate for this, since we don't know of a generic method that would allow turning off USB mass storage devices write cache (and also because we are seeing an issue that seems related for SD-based media), we add a new reset delay PCD, which can be set by the user, and which we also set as required when NV variables are being dumped. Our testing show that, with more than 3 seconds of extra delay, the storage media has enough time to finalize its internal write, thus solving the issue of configuration changes not being persisted. Signed-off-by: Pete Batard <pete@akeo.ie> Reviewed-by: Andrei Warkentin <awarkentin@vmware.com> Tested-by: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
2021-01-04Platform/Socionext/DeveloperBoxMm: add VarCheckPolicyLibMasahisa Kojima
Add VarCheckPolicyLib in standalone MM context to initialize VariablePolicyLib. Without this modification, Developerbox fails to boot when the uefi secure boot is enabled. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2020-12-22Platform/SiFive/U5SeriesPkg: Remove use of deprecated interfacesAbner Chang
The non-status reporting PcdSet functions were deprecated and have now been removed. Update SiFive code to assert on error status. Deprecated PcdSet* code under DISABLE_NEW_DEPRECATED_INTERFACES has been removed. This includes PcdSetXX interfaces used by RISC-V code which is now causing a compilation error. Switch to the PcdSetXXS interfaces. Cc: Leif Lindholm <leif@nuviainc.com> Cc: Abner Chang <abner.chang@hpe.com> Cc: Daniel Schaefer <daniel.schaefer@hpe.com> Cc: Gilbert Chen <gilbert.chen@hpe.com> Signed-off-by: Mark Salter <msalter@redhat.com> Reviewed-by: Abner Chang <abner.chang@hpe.com>
2020-12-21MinPlatformPkg: Fix SerialPortTerminalLib.inf headerNate DeSimone
License header erroneously states file is "Intel Confidential" Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Eric Dong <eric.dong@intel.com> Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
2020-12-18WhiskeylakeOpenBoardPkg: Add USB DCI debug suportLuo, Heng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3081 Add gWhiskeylakeOpenBoardPkgTokenSpaceGuid.PcdDciEnable for USB DCI debug feature, feature is enabled if PcdDciEnable is TRUE, it allows to debug BIOS via DCI cable. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by: Heng Luo <heng.luo@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2020-12-09OpenBoardPkg: Configure PcdSerialTerminalEnableHeng Luo
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3014 Enable Serial Terminal Feature for UpXtreme, and disable it for other platform by default. Cc: Eric Dong <eric.dong@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Heng Luo <heng.luo@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2020-12-09MinPlatformPkg: Add PCDs for Serial Terminal featureHeng Luo
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3014 Add PcdSerialTerminalEnable to enable/disable Serial Terminal feature, this feature supports console redirect after the shell is loaded. Cc: Eric Dong <eric.dong@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Heng Luo <heng.luo@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2020-12-08Platform/Vlv2TbltDevicePkg: Add VariablePolicy resolutionsMichael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=2744 Add resolutions for - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) Cc: Zailiang Sun <zailiang.sun@intel.com> Cc: Yi Qian <yi.qian@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Zailiang Sun <zailiang.sun@intel.com>
2020-12-08Platform/QuarkPlatformPkg: Add VariablePolicy resolutionsMichael D Kinney
Add resolutions for - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) Cc: Kelly Steele <kelly.steele@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Kelly Steele <kelly.steele@intel.com>
2020-12-08QuarkPlatformPkg: Use safe string functionsMichael D Kinney
Update QuarkPlatformPkg modules to use safe string functions from BaseLib. Cc: Kelly Steele <kelly.steele@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Kelly Steele <kelly.steele@intel.com>
2020-12-08Platform/Ampere: Add Readme.mdPhong Vo
Add initial version of Readme.md for Ampere platform Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by: Phong Vo <phong@os.amperecomputing.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2020-12-08Platforms/RaspberryPi: add CM4 and 400 as BCM2711 designsAndrei Warkentin
Like the Pi 4B, the 3GB/4GB choices apply to it as well. Values taken from https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com> Reviewed-by: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
2020-12-08MinPlatformPkg: Add SerialPortTerminalLib to suport Serial Terminal featureLuo, Heng
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3014 1. Add SerialPortTerminalLib to MinPlatformPkg/Library. 2. Add SerialPortTerminalLib to BdsDxe driver, to add the serial device to ConIn and ConOut variables 3. Include SerialDxe and TerminalDxe to CoreDxeInclude.dsc and CoreUefiBootInclude.fdf. Reviewed-by: Eric Dong <eric.dong@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Heng Luo <heng.luo@intel.com>
2020-11-27Platform/ARM/SgiPkg: Fix constant-logical-operand clang errorVijayenthiran Subramaniam
Fix "use of logical '&&' with constant operand" error when built with clang. Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2020-11-27Platform/Socionext/DeveloperBoxMm: increase FV sizeArd Biesheuvel
Due to recent changes in core EDK2, the DeveloperBoxMM standalone MM build no longer fits when built in DEBUG or NOOPT mode. So increase the FD size a little bit - we still have some spare room available in the FIP image. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2020-11-27Platform/SocioNext: add VariablePolicy resolutionsLeif Lindholm
Add resolutions for - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) to DeveloperBox/DeveloperBoxMm platforms. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by: Leif Lindholm <leif@nuviainc.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2020-11-27Platform/BeagleBoard: add VariablePolicy resolutionsLeif Lindholm
Add resolutions for - SafeIntLib - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by: Leif Lindholm <leif@nuviainc.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
2020-11-27Platform/SiFive: add VariablePolicy resolutionsLeif Lindholm
Add resolutions for - SafeIntLib - VariablePolicyLib - VariablePolicyHelperLib - VariablePolicyLib (DXE_RUNTIME_DRIVER) for u500/u540 platforms. Cc: Abner Chang <abner.chang@hpe.com> Cc: Daniel Schaefer <daniel.schaefer@hpe.com> Signed-off-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Abner Chang <abner.chang@hpe.com>