audk/ArmPlatformPkg/ArmVExpressPkg/Library
Ard Biesheuvel 19bb46c411 ArmVExpressPkg/ArmVExpressLibRTSM: map NOR flash as normal memory
Some users of this library (i.e., FVP-AArch64 and RTSM-A15_MPCore)
may be built to execute straight from NOR flash. Since device mappings
should have the XN attribute set (according to the architecture), mapping
the NOR flash as a device may prevent it from being executable.

Since the NOR flash DXE driver is perfectly capable of setting the correct
attributes for the region it needs to write to, and since we will be
executing from DRAM by that time anyway, we can simply map the NOR flash
as normal memory initially.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18890 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-18 11:50:50 +00:00
..
ArmVExpressLibCTA9x4 ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
ArmVExpressLibCTA15-A7 ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
ArmVExpressLibRTSM ArmVExpressPkg/ArmVExpressLibRTSM: map NOR flash as normal memory 2015-11-18 11:50:50 +00:00
ArmVExpressSecLibCTA9x4 ARM Packages: Removed unused PcdArmPrimaryCore 2014-09-01 17:41:38 +00:00
ArmVExpressSecLibRTSM ArmPlatformPkg/RTSM: remove obsolete Foundation model libraries 2015-10-06 12:51:27 +00:00
ArmVExpressSysConfigLib ArmVExpressPkg: restrict ArmVExpressSysConfigLib to SEC and DXE_DRIVER 2015-05-08 12:08:24 +00:00
ArmVExpressSysConfigRuntimeLib ArmPlatformPkg/ArmVExpressPkg: add ArmPlatformSysConfigLib for runtime 2015-07-10 15:08:15 +00:00
HdLcdArmVExpressLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
NorFlashArmVExpressLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PL111LcdArmVExpressLib ArmPlatformPkg/ArmVExpressPkg: Added support to differentiate ARMv8 FVP variants 2015-02-25 19:15:39 +00:00
ResetSystemLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00