Browse Source

Merge pull request #1781 from dtwlin/m2

spd: trusty: trusty_setup should bail on unknown image
pull/1778/head
Antonio Niño Díaz 6 years ago
committed by GitHub
parent
commit
a1d1d24b78
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      services/spd/trusty/trusty.c

3
services/spd/trusty/trusty.c

@ -420,7 +420,8 @@ static int32_t trusty_setup(void)
} else if (instr >> 8 == 0xd53810U || instr >> 16 == 0x9400U) {
INFO("trusty: Found 64 bit image\n");
} else {
NOTICE("trusty: Found unknown image, 0x%x\n", instr);
ERROR("trusty: Found unknown image, 0x%x\n", instr);
return -1;
}
SET_PARAM_HEAD(ep_info, PARAM_EP, VERSION_1, SECURE | EP_ST_ENABLE);

Loading…
Cancel
Save