]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c
ArmPlatformPkg/CTA15-A7: Add a convenient way to restore default values in NOR flash.
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Mar 2013 00:43:58 +0000 (00:43 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Mar 2013 00:43:58 +0000 (00:43 +0000)
commit9f5c60c38b953c9890b7bd9ab35d6bf2c530d3bb
tree5a256b825748054ec7dadddfc6029c6d2c852869
parentc0b2e4775dcb06d9016f17f5d22e6276d9b58397
ArmPlatformPkg/CTA15-A7: Add a convenient way to restore default values in NOR flash.

Setting bit4 of SCC register 48 now triggers the erasing of the memory region
reserved for variable storage in NOR flash and the restoration of the default
headers in flash.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14177 6f19259b-4bc3-4df7-8a09-765794883524
ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA15-A7/ArmPlatform.h
ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c