summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg
AgeCommit message (Collapse)Author
2011-06-28ArmPlatformPkg/Bds: Use unaligned read to access OptionalData in EFI_LOAD_OPTIONoliviermartin
EFI_LOAD_OPTION is a packed structure. Accessing to the non aligned double word requires to use ReadUnaligned32() function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11916 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28ArmPlatformPkg/Bds: Check if the assumed requirements are set before to use itoliviermartin
There were some assumptions that some PCDs and protocols were defined. Check if these requirements are defined; either print a debug message to inform the user or skip the statements that require these PCDs or protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11915 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16ArmPlatformPkg/Documentation: Update the instructions to build ARM Versatile ↵oliviermartin
Express CTA9x4 The default build instructions are for the Open Source Toolchain (ARMGCC) on Linux. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11838 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-15ArmPlatformPkg/Bds: Fix various bugs in the new BDSoliviermartin
The errors were: - uncaught returned error - used of uninitialized variables ArmPlatformPkg/Bds: Implement the update of MemMap Boot Device git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11830 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-15ArmPkg: Fix warnings raised by ARMGCColiviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11829 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/ArmVExpressLib: Move Secure code into a separate fileoliviermartin
The code specific to the secure intialization has been moved into a separate file that is not linked with the Normal world version of the library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11810 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/ArmRealViewEbPkg: Fix some register definitionsoliviermartin
Some registers were not correctly set. Some other registers do not exist on ARM RealView EB. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11809 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg: Code cleaningoliviermartin
- Fix coding style to follow EDK2 coding convention - Remove deprecated function - Remove unused PCDs git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11808 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/ArmVExpressPkg: Introduce the PcdNorFlashRemapping feature PCDoliviermartin
Platform designers can decide to not remap the DRAM at 0x0 on the VExpress motherboard. This PCD can be used to set this feature. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11807 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg: Unify the Secure and Normal FD and FV PCD namingoliviermartin
With this change, we now have these following PCDs values to define the location of the Secure and Normal firmwares: - gArmTokenSpaceGuid.PcdSecureFd(BaseAddress|Size) - gArmTokenSpaceGuid.PcdSecureFv(BaseAddress|Size) - gArmTokenSpaceGuid.PcdNormalFd(BaseAddress|Size) - gArmTokenSpaceGuid.PcdNormalFv(BaseAddress|Size) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11806 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg: Clean DSC filesoliviermartin
Remove unused or duplicated libraries declarations git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11805 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/ArmRealViewEbPkg: Fixed General Interrupt Controller Base Addressoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11804 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/PrePeiCore: Reserve some memory on the top of the stack for ↵oliviermartin
Global Variables in XIP code The size of this memory is controlled by a PCD. The Global Variable in this regsion are defined by their offset. This memory region can be use to store the PEI Services Table Pointer. Update the PeiServicesTablePointerLib to use this region instead of PcdPeiServicePtrAddr. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11803 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg: Enable console splitter for all ARM platformsoliviermartin
The Graphics Output Protocol is enable by default. Note: ArmRealViewEb RTSM supports the LCD controller as well. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11802 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/EblCmdLib: Add the 'devicepaths' EBL commandoliviermartin
This command start alls the available drivers and prints out all the device paths of the platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11801 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/Bds: Upgrade the BDS to be more conformed to the UEFI ↵oliviermartin
Specification The UEFI Specification defines some requirement related to the Boot Manager. This new version of the BDS support most of the features: - TimeOut, BootNext, BootOrder, Boot### environment variable for boot device selection - ConOut. ConIn, ConErr environment variables for console intialization - Boot EFI application defined by a Device Path - Support removable devices - Support FileSystem, MemMap, PXE and TFTP boot devices git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11800 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11EmbeddedPkg/Ebl: Move the flag string %a for the path from the PCD to the ↵oliviermartin
function call The UEFI platform designer had to add '%a' to their EBL prompt PCD to print out the path in the shell. This change makes the addition of the path automatically after the platform specific value in the EBL shell. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11798 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPkg/PL35xSmc: Split the SMC initialization in multiple Chip Select ↵oliviermartin
initialization functions Some ArmVExpress-based tiles do not map all the ArmVExpress Chips into their memory map. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11797 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/ArmRealViewEb: Add SysConfigLib supportoliviermartin
The ARM RealViewEB tiles could have their microcontrollers mapped into the ARM RealView EB motherboard memory map git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11796 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg: Add PL061 GPIO driveroliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11795 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg: Add SP805 Watchdog supportoliviermartin
- Create SP805 Watchdog timer - Enable this new driver on VExpress Cortex-A9x4 Core tile git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11794 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/PL031RealTimeClockLib: Implement PL031 RTC driveoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11793 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/ArmVExpressPkg: Use SysConfigLib in ResetSystemLiboliviermartin
On ARM Versatile Express, the microcontroller can reset the entire platform. The micro-controller can be accessed by the SysConfigLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11792 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/SP804TimerDxe: Replaced Interrupt number #define by a PCDoliviermartin
The PcdSP804Timer0InterruptNum defines the interrupt number attached to SP804 Timer0. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11791 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/NorFlashDxe: Update copyright dateoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11790 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPkg: Fix coding style to follow EDK2 coding conventionoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11789 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg/ArmRealViewEb: Add support for PL111 Lcd controlleroliviermartin
- Add the LcdGraphicsOutputDxe driver to DSC and FDF file. - Implement LcdPlatformLib for the platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11787 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg: Add support for PL111 Lcd driveroliviermartin
This driver implements the interface for the PL111 Lcd controller. The LcdPlatformLib allows to set the platform specific requirements needed by the platform for setting the LCD (oscillators, etc). ArmPlatformPkg/ArmVExpressPkg: Implement LcdPlatformLib This library exports the supported resolutions. It also allocates the memory for the framebuffer and send the correct settings to the VExpress motherboard microcontroller. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11786 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-11ArmPlatformPkg: Introduce ArmPlatformSysConfigLiboliviermartin
The purpose of this library is to create an interface to communicate with the platform micro-controller. It abstracts the communication protocol (eg: SPI, UART, etc) between the application processor and the micro-controller. ArmPlatformPkg/ArmVExpressPkg: Implement ArmPlaformSysConfigLib This implementation allows to communicate with the microcontroller of the Versatile Express motherboard. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11785 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg: Fix ARMGCC buildoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11751 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg/ArmVExpressPkg: Create ↵oliviermartin
ArmVExpressPkg/Include/VExpressMotherBoard.h This file contains the ARM Versatile Express motherboard definitions. It allows to avoid duplication between different platforms based on ARM VExpress motherboard. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11749 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg/ArmRealViewEbPkg: Set some missing PCDsoliviermartin
PcdEmbeddedPerformanceCounterFrequencyInHz and PcdSerialRegisterBase were not defined. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11748 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg/ArmRealViewEbPkg: Use NorFlashDxe and enable variables servicesoliviermartin
The ARM RealView EB (hardware and RTSM) supports the same NOR Flash controller as the ARM Versatile Express. Add the implementation of the NorFlashPlatformLib for ArmRealViewEb. Remove the Firmware Volume Block raw data used to enable environment variables on ARM RealView EB from the FDF file to use the NOR Flash driver. Replace the variable service emulation by the version using Firmware Volume Block. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11747 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg/NorFlashDxe: Move NorFlash driver from ArmVExpressPkg to ↵oliviermartin
ArmPlatformPkg This NOR Flash driver can be reused for other platform (eg: ARM Realview EB). To make this driver reusable on other platforms the NorFlashPlatformLib library has been created to abstract the platform specific bits such as the pre-requirements steps to the initialization and the geometry of the NOR Flash regions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11746 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg/SP804Timer: Introduce ↵oliviermartin
gArmPlatformTokenSpaceGuid.PcdSP804FrequencyInMHz This PCD defines the speed of the SP804 timer. The default value is 1MHz. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11745 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg/SP804Timer: Remove the SP810 System Controller dependencyoliviermartin
The SP804 drivers must not consider the presence of the SP810 System Controller on the platform. The SP810 was used to enable the SP804 Dual Timers on ArmVExpress. It is the role of the Platform specific driver to enable to the SP804 dual timers if required. The former SP810 initialization code has moved to ArmPlatformLib for ArmRealViewEb and ArmVersatileExpress. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11744 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg/PL011Uart: Create PL011 UART driveroliviermartin
This library makes the interface with the PL011 UART controller. This library can be linked to different types of driver (Serial Console, debugger, etc) using PL011 UART controller. ArmPlatformPkg/PL011SerialPortLib: Use Drivers/PL011Uart Remove the direct accesses to the PL011 UART controller to use the PL011Uart library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11743 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPkg: Renamed PL354SmcSecLib into PL354SmcLiboliviermartin
There is no requirement to initialize the SMC in secure world. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11738 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPkg/PL34xDmc: Remove magic values in PL310L2Cache and clean the codeoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11736 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPkg/PL310L2Cache: Remove magic values in PL310L2Cache and clean the codeoliviermartin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11735 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg/ArmRealViewEbPkg: Use PL390 GIC on RTSMoliviermartin
ArmRealViewEb model (RTSM) use the PL390 Generic Interrupt Controller as interrupt controller. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11732 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03ArmPlatformPkg/ArmRealViewEbPkg: Remove unused PCDoliviermartin
gArmRealViewEbPkgTokenSpaceGuid.PcdPeiServicePtrAddr is not used. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11731 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-03EmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkgoliviermartin
The MmcDxe is not ARM architecture specific. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11725 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-27ArmPlatformPkg: Add missing ASM_PFX() macro in exception call backoliviermartin
The ASM_PFX() was missing for some calls of the common exception callback. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11597 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-26ArmPlatformPkg/ArmPlatformLib: Renamed ArmPlatformInitialize into ↵oliviermartin
ArmPlatformSecInitialize Some platforms require some of their controllers to be initialized in Secure world. This function make the difference between Secure and Normal world platform initialization. ArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformNormalInitialize Contain the code that initializes platform controllers that would be initialized in Normal World by PlatformPei. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11591 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-26ArmPlatformPkg/Sec: Initialize the GIC when Trustzone Support is not enabledoliviermartin
The GIC was not enabled on MPCore platform with Trustzone support disabled. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11590 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-26ArmPlatformPkg/Sec: Fix typo and Remove magic valueoliviermartin
- Replace the '0' that defined the primary core by the macro ARM_PRIMARY_CORE - Fix mispellings and coding style git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11589 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-26ArmPlatform: Remove dummy padding to make the Reset Vector aligned on 32 ↵oliviermartin
bytes boundary A dummy padding was added before the Reset Vectors to force the alignment on a 32 bytes boundary in XIP code. The correct fix is to define the alignment in the FDF file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11588 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg/Bds: Connect all drivers if the SimpleTextIO is not availableoliviermartin
If none of the Simple Text Input/Output Protocol implementations were started before starting BDS then an exception error occured. This fix forces to connect all the drivers if no SimpleText IO protocols are found. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11487 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-31ArmPlatformPkg: Fix buildoliviermartin
Declared DebugPrintErrorLevelLib for the ArmPlatformPkg builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11484 6f19259b-4bc3-4df7-8a09-765794883524