audk/ArmPlatformPkg/Drivers
Achin Gupta 90d1f671cd ArmPlatformPkg/NorFlashDxe: Change Flash memory attributes before writes
In NorFlashFvbInitialize() if a valid Firmware Volume header is not found at the
start of NOR Flash, the Flash memory is written before it has been remapped with
EFI_MEMORY_UC attributes to allow write commands. Since the flash memory was
previously mapped with Normal and possibly cacheable memory attributes, the
Flash commands might never reach the device.

This patch fixes this issue by remapping the Flash memory region with correct
memory attributes before writing to it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Achin Gupta <achin.gupta@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2017-01-20 11:57:38 +00:00
..
ArmTrustZone ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
LcdGraphicsOutputDxe ArmPlatformPkg/HdLcd: add missing LcdIdentify() 2015-09-04 10:02:43 +00:00
NorFlashDxe ArmPlatformPkg/NorFlashDxe: Change Flash memory attributes before writes 2017-01-20 11:57:38 +00:00
PL011Uart ArmPlatformPkg: Correct mendacious comments. 2016-10-11 14:23:41 +01:00
PL34xDmc ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PL35xSmc ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PL061GpioDxe ArmPlatformPkg: PL061: support multiple controller 2016-03-14 13:17:34 +00:00
PL180MciDxe ArmPlatformPkg/PL180MciDxe: update for identifying SD 2016-11-24 16:29:03 +00:00
PL301Axi ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PL310L2Cache ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
SP804TimerDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SP805WatchdogDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00