summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg
Commit message (Collapse)AuthorAgeFilesLines
* ArmPlatformPkg: Fix ARM EB and VE buildsoliviermartin2011-12-153-10/+16
| | | | | | | | The EDID protocol defintions were missing from their ArmPlatformLcdLib.inf INF files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12878 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: Add PL180 MCI support to ARM RTSMoliviermartin2011-12-146-1/+31
| | | | | | | | | | The MMC controller is accessible through the ARM RTSM model. A filesystem can be added on a MMC file to be accessible through the UEFI firmware running on RTSM. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12862 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Renamed 'DebugSecExtraActionLib' into ↵oliviermartin2011-12-145-5/+5
| | | | | | | | | | | 'ArmPlatformSecExtraActionLib' This library interface is not related to adding extra action to debug support. But it adds extra action to the ArmPlatform/Sec component. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12861 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/LcdPlatformLib: Produce the protocols ↵oliviermartin2011-12-144-88/+138
| | | | | | | | | | EFI_EDID_DISCOVERED_PROTOCOL and EFI_EDID_ACTIVE_PROTOCOL These two EDID protocols are excepted to be produced by the GOP. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12860 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Fixed Monitor stack setupoliviermartin2011-12-141-1/+1
| | | | | | | | | | Because GET_CORE_POS(MpId) returns 0x0 for the primary core, the stack position must be defined by the top of the stack. It means stack_size must be added to the stack base. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12858 6f19259b-4bc3-4df7-8a09-765794883524
* MdeModulePkg/Variable: Check if there is a NV Variable Storage header prior ↵oliviermartin2011-12-121-300/+300
| | | | | | | | | | | | | | | | | | to use its attributes The Variable PEI and RuntimeDxe drivers were using the attribute 'HeaderLength' of EFI_FIRMWARE_VOLUME_HEADER without checking if a Firmware Volume Header was existing at the base address. In case the Firmware Volume Header does not exist or is corrupted, the attribute 'HeaderLength' is a non valid value that can lead to a non valid physical address when accessing produces an access error. Signed-off-by: oliviermartin Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12836 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Coding style changes (tab and line endings) - Minor changesoliviermartin2011-12-072-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12828 6f19259b-4bc3-4df7-8a09-765794883524
* BaseTools: Pending patches updateoliviermartin2011-12-061-23/+55
| | | | | | | | | Add patch: - ARMLINUXGCC: Set the linked base address at 0x0 (0x8000 by default) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12824 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Enabled VFP (if supported by platform) prior to any ↵oliviermartin2011-12-061-4/+5
| | | | | | | | | | | | | library invocation Some compilers uses VFP for some 64bit operation. If the VFP coprocessor is not enabled at this stage the processor raises an undefined exception. To prevent this case, the VFP enabling has been moved at the beginning of the platform initialization phase. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12823 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Update pending patches with the latest BaseTools SyncUpoliviermartin2011-12-051-271/+0
| | | | | | | | | | - ARMLINUXGCC toolchain is now supported - ARMGCC: Set '0x0' for the linkage base address - Fixed Trim utility - Fixed support for !include in DSC files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12819 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePi: Ony synchronize cores when it is a MPCore Systemoliviermartin2011-11-161-3/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12726 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Remove inappropriate comment in ArmPlatformPkg.decoliviermartin2011-11-151-2/+0
| | | | | | | | The comment was not related to the context. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12709 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/patches: Update pending patches to fix buildsoliviermartin2011-11-151-7/+39
| | | | | | | | This update should fix the build errors due to the postfix 'U' added to PCD numbers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12708 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/patches: Update the 'PendingPatches' on the latest BaseTools ↵oliviermartin2011-11-106-913/+158
| | | | | | syncup git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12680 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fix Global Variable region initialization when ↵oliviermartin2011-11-096-18/+18
| | | | | | | | | | GlobalVariable's size is zero The exit loop was not considering a size of zero for the Global Variable region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12678 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatform/Sec: Ensure all the CPU cores are calling ArmCpuSetup()oliviermartin2011-11-011-11/+12
| | | | | | | | Only the primary core was calling this function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12646 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/PrePi: Remove duplicate call of BuildMemoryTypeInformationHob()oliviermartin2011-11-011-2/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12645 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlaformPkg/ArmVExpressPkg: Move initialization of SP810 at the early ↵oliviermartin2011-11-012-10/+11
| | | | | | stage of the platform initialization (SEC) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12644 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fix PCD namespace for PCD that defines the the size of a ↵oliviermartin2011-11-014-8/+8
| | | | | | Secure/Non Secure FD/FV files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12643 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fix the Boot Manager option to set the FDT device patholiviermartin2011-11-012-10/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12642 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fixed and Improved initrd support in the ArmPlatformPkg ↵oliviermartin2011-11-013-120/+187
| | | | | | Boot Manager git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12641 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fix when the default console variables are empty (or null)oliviermartin2011-11-011-6/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12640 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fix initialization of the Global Variable when stack pointer ↵oliviermartin2011-11-016-6/+6
| | | | | | | | | | higher than 0x7FFFFFFF Fixed signed comparison error. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12639 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatform/PrePi: Fixed PrePi for MP Cores platform and Global Variable ↵oliviermartin2011-11-019-25/+114
| | | | | | region settings git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12638 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Sec: Replaced hardcode SCR and NSACR values by PCDs to enable ↵oliviermartin2011-11-015-10/+49
| | | | | | CPU and Platform Specific settings git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12637 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Use EmuVariable, Add Simple TextInTextOut to make easier to ↵oliviermartin2011-11-014-13/+24
| | | | | | port to a new platform git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12636 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Boot Linux from semihosting on RTSM by default (was NOR Flash)oliviermartin2011-11-013-6/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12635 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Use fixed PcdTrustzoneSupport to define if Trustzone is ↵oliviermartin2011-11-011-20/+20
| | | | | | enabled for a firmware git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12634 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Fix PrePi firmwares for ArmRealViewEboliviermartin2011-11-012-0/+2
| | | | | | | | | The SEC component was using the wrong library for the Global Variable region. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12633 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Remove ArmPlatformBootRemapping() function from the ↵oliviermartin2011-11-016-87/+16
| | | | | | | | | | | | ArmPlatformLib Memory map remapping is a platform specific feature only enabled by some platforms. Instead of keeping this function empty for most platforms, the function has been removed. This feature can easily fit in any other ArmPlatformLib function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12632 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmCpuLib: Fix GCC/XCode buildsoliviermartin2011-11-011-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12626 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Coding style (minor changes)oliviermartin2011-11-013-5/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12625 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: Do not declare SCC base for the RTSM VE Modeloliviermartin2011-11-012-4/+5
| | | | | | | | The System Control Configuration registers are not implemented on the Model git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12624 6f19259b-4bc3-4df7-8a09-765794883524
* Arm Packages: Fix builds for XCODE32 toolchainoliviermartin2011-10-044-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12509 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: The virtual memory must have the Secure ↵oliviermartin2011-09-292-6/+14
| | | | | | attribute when the platform does not make the transition in Normal World. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12480 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: HiiDatabaseDxe driver was missingoliviermartin2011-09-292-634/+638
| | | | | | | | | UefiHiiServicesLib requires an implementation of gEfiHiiDatabaseProtocolGuid. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12479 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Fix GetConsoleDevicePathFromVariable() when SetVariable ↵oliviermartin2011-09-281-440/+440
| | | | | | | | | | has failed Return the Default Device Path even when SetVariable has failed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12469 6f19259b-4bc3-4df7-8a09-765794883524
* ARM Packages: Fixed Build failings/warnings/EDK2 coding conventionoliviermartin2011-09-2710-29/+17
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12458 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Create an ARM Platform DSC / FDF / ArmPlatformLib templateoliviermartin2011-09-2711-0/+1770
| | | | | | | | | | | | | By copying these templates, it should make easier to port EDK2 to new ARM Platforms. - ArmPlatformPkg.(dsc|fdf): For EDK2 firmwares which support the full boot story from cold boot to OS loading - ArmPlatformPkg-2ndstage.(dsc|fdf): For EDK2 as a second stage boot loader (either started after a proprietary ROM firmware or x-loader) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12457 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Add support for ARM RTSM Versatile Express A15x1 and A15x4oliviermartin2011-09-279-2/+1354
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12456 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg/ArmLib: Clean ArmV7Liboliviermartin2011-09-276-10/+0
| | | | | | | | | - Move the non specific ArmV7 functions to ArmLib. - Clean the ARM Platform common components to not depend on ArmV7 if not required git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12453 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Replaced 'ArmPlatformTrustzoneSupported' by the fixed Pcd ↵oliviermartin2011-09-2711-138/+47
| | | | | | | | | | | | | | | gArmTokenSpaceGuid.PcdTrustzoneSupport This change does not make possible to disable Trustzone from the firmware. The firmware has to be built for Trustzone support enabled or disabled. The memory page table are now defined as 'Normal Memory' in any case. Except for RTSM Device Memory which as to be Secure Device Memory due to a RTSM bug. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12452 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg: Replaced '!if' conditions by more appropriate '!ifdef' ↵oliviermartin2011-09-276-409/+342
| | | | | | conditions git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12451 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Removed 'ArmV7/ArmV7MPCore*' filesoliviermartin2011-09-273-9/+9
| | | | | | | | | These files were Cortex A9 specific. The A9 specific functions have moved to ArmCpuLib/ArmCortexA9Lib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12449 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPkg: Introduce ArmCpuLib to abstract ARM Cpu specific initializationoliviermartin2011-09-2711-274/+237
| | | | | | | | | | Every CPUs have their own initialization requirements. This library allows to allows to abstract these initialization requirements into the ARM Platform common components. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12448 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/patches: Update the pending patches with the updated ARMGCC ↵oliviermartin2011-09-236-329/+796
| | | | | | and RVCT toolchains and the new ARMLINUXGCC toolchain patches. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12438 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/Bds: Add an option in the Boot Manager to edit the Device ↵oliviermartin2011-09-221-0/+44
| | | | | | Path of the Platform Device Tree git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12430 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmVExpressPkg: Add support for ARM Versatile Express A9x4 Modeloliviermartin2011-09-2211-5/+1336
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12429 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmiVExpressPkg: Introduce 'ArmVExpress.dsc.inc' to avoid ↵oliviermartin2011-09-227-270/+357
| | | | | | duplication of library and PCD defintions around ARM Versatile Express Boards git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12428 6f19259b-4bc3-4df7-8a09-765794883524
* ArmPlatformPkg/ArmRealViewEbPkg: Introduce 'ArmRealViewEb.dsc.inc' to avoid ↵oliviermartin2011-09-229-638/+349
| | | | | | duplication of library and PCD defintions around ARM RealView Emulation Boards git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12427 6f19259b-4bc3-4df7-8a09-765794883524