Bug fix: initialize bl30_image_info fields before use
authorJuan Castillo <juan.castillo@arm.com>
Thu, 13 Nov 2014 17:04:33 +0000 (17:04 +0000)
committerJuan Castillo <juan.castillo@arm.com>
Thu, 8 Jan 2015 09:26:31 +0000 (09:26 +0000)
commit92de35659cbd3b7f534470bb25f12b740be25fad
treeedc412ac0811e9e4b33f4299d04cf14d894f747a
parent29e32cba4ad243071c643c839dfd4f46a0b19655
Bug fix: initialize bl30_image_info fields before use

This patch initializes the version field in the bl30_image_info
structure when loading BL30. This initialization must be done before
calling load_image().

Fixes ARM-software/tf-issues#274

Change-Id: I74a05167d66fff51d257ad611abc7b5436e5d912
bl2/bl2_main.c