plat/arm: Add assert for the valid address of dtb information
Added assert in the code to check valid address of dtb information
structure retrieved from fw_config device tree.
This patch fixes coverity defect:360213.

Also, removed conditional calling of "fconf_populate" as "fconf_populate"
function already checks the validity of the device tree address received
and go to panic in case of address is NULL.

Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Change-Id: Ib83e4e84a95e2456a12c7a2bb3fe70461d882cba
1 parent a021b2d commit 1d60052e995b13ec49ba0b320a5056ce8e7a962a
@Manish V Badarkhe Manish V Badarkhe authored on 29 Jun 2020
Showing 2 changed files
View
plat/arm/common/arm_bl2_setup.c
View
plat/arm/common/arm_dyn_cfg.c