Merge "stingray: fix coverity reported issues on brcm platform" into integration

This commit is contained in:
Sandrine Bailleux 2020-04-14 07:54:26 +00:00 committed by TrustedFirmware Code Review
commit a7e62f1d9e
2 changed files with 2 additions and 2 deletions

View file

@ -682,7 +682,7 @@ void plat_bcm_bl2_plat_arch_setup(void)
bcm_board_detect();
#ifdef DRIVER_EMMC_ENABLE
/* Initialize the card, if it is not */
if (bcm_emmc_init(true) < 0)
if (bcm_emmc_init(true) == 0)
WARN("eMMC Card Initialization Failed!!!\n");
#endif

View file

@ -485,7 +485,7 @@ static void pcie_ss_reset(void)
*/
static int pcie_cores_init(void)
{
int ret;
int ret = 0;
uint32_t core_idx;
if (paxb->pipemux_init) {