Don't use zero_normalmem in bl2_platform_setup
authorRoberto Vargas <roberto.vargas@arm.com>
Wed, 30 Aug 2017 07:24:48 +0000 (08:24 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Wed, 30 Aug 2017 15:09:00 +0000 (16:09 +0100)
commita1f5a9e5f29e0a4618363f15c29ad6be1bdc707f
tree6cd344889770c87c7a69546bebf9c31f5f27adfd
parent77544efbf4545b5ba5133f2bb35f6515b3914975
Don't use zero_normalmem in bl2_platform_setup

zero_normalmem only can zero memory when caches are enabled
and the target memory is a normal memory, otherwise an abort is
generated. In the case of EL3_PAYLOAD_BASE bl2_platform_setup was
calling zero_normalmem with device memory and it generated an abort.

Change-Id: If013603f209a12af488a9c54481f97a8f395b26a
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
plat/arm/css/common/css_bl2_setup.c