audk/ArmPlatformPkg/Drivers/NorFlashDxe
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
..
NorFlashBlockIoDxe.c ArmPlatformPkg/NorFlashDxe: Make the driver more compliant with the UEFI specification 2013-04-14 09:25:34 +00:00
NorFlashDxe.c ArmPlatformPkg/NorFlashDxe: eliminate void pointer arithmetic 2016-10-24 17:23:44 +01:00
NorFlashDxe.h ArmPlatformPkg/NorFlashDxe: accept both non-secure and secure varstore GUIDs 2016-06-22 16:52:40 +02:00
NorFlashDxe.inf ArmPlatformPkg/NorFlashDxe: accept both non-secure and secure varstore GUIDs 2016-06-22 16:52:40 +02:00
NorFlashFvbDxe.c ArmPlatformPkg/NorFlashDxe: Change Flash memory attributes before writes 2017-01-20 11:57:38 +00:00