aboutsummaryrefslogtreecommitdiff
path: root/plat/arm/board/fvp/fvp_common.c
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2016-05-20 14:14:16 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2016-06-03 11:17:03 +0100
commitfe7de03546e2d20b74667c5b5fd232f30f9e9d2f (patch)
tree74b9dfd669a0cf1aa1b64bd955cc6a3765c79c82 /plat/arm/board/fvp/fvp_common.c
parenta7e530331d7cf4b58618f0715e61b5a872176f07 (diff)
downloadarm-trusted-firmware-fe7de03546e2d20b74667c5b5fd232f30f9e9d2f.tar.gz
Implement plat_set_nv_ctr for FVP platforms
Replaced placeholder implementation of plat_set_nv_ctr for FVP platforms by a working one. On FVP, the mapping of region DEVICE2 has been changed from RO to RW to prevent exceptions when writing to the NV counter, which is contained in this region. Change-Id: I56a49631432ce13905572378cbdf106f69c82f57
Diffstat (limited to 'plat/arm/board/fvp/fvp_common.c')
-rw-r--r--plat/arm/board/fvp/fvp_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/arm/board/fvp/fvp_common.c b/plat/arm/board/fvp/fvp_common.c
index eb67dab2..0f557af2 100644
--- a/plat/arm/board/fvp/fvp_common.c
+++ b/plat/arm/board/fvp/fvp_common.c
@@ -62,7 +62,7 @@ arm_config_t arm_config;
#define MAP_DEVICE2 MAP_REGION_FLAT(DEVICE2_BASE, \
DEVICE2_SIZE, \
- MT_DEVICE | MT_RO | MT_SECURE)
+ MT_DEVICE | MT_RW | MT_SECURE)
/*