diff options
| author | danh-arm <dan.handley@arm.com> | 2017-06-05 14:09:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-05 14:09:41 +0100 |
| commit | 4d96cad5b200e2f94720249dd0b2ae896c67d966 (patch) | |
| tree | dac490af804947288c7f60dd2852255e74f2ffa5 /include | |
| parent | 0ceb3e1e8dcf6b48fd3f2b5251dd24774a660d52 (diff) | |
| parent | 9d6fc3c32162cf4c6146a8f918c0790848686086 (diff) | |
Merge pull request #962 from antonio-nino-diaz-arm/an/fwu-checks
FWU: Check for overlaps when loading images, introduce `FWU_SMC_IMAGE_RESET`
Diffstat (limited to 'include')
| -rw-r--r-- | include/bl1/bl1.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/bl1/bl1.h b/include/bl1/bl1.h index 8f4f992c..15445235 100644 --- a/include/bl1/bl1.h +++ b/include/bl1/bl1.h @@ -39,11 +39,12 @@ #define FWU_SMC_IMAGE_RESUME 0x13 #define FWU_SMC_SEC_IMAGE_DONE 0x14 #define FWU_SMC_UPDATE_DONE 0x15 +#define FWU_SMC_IMAGE_RESET 0x16 /* * Number of FWU calls (above) implemented */ -#define FWU_NUM_SMC_CALLS 6 +#define FWU_NUM_SMC_CALLS 7 #if TRUSTED_BOARD_BOOT # define BL1_NUM_SMC_CALLS (FWU_NUM_SMC_CALLS + 4) @@ -56,7 +57,7 @@ * calls from the SMC function ID */ #define FWU_SMC_FID_START FWU_SMC_IMAGE_COPY -#define FWU_SMC_FID_END FWU_SMC_UPDATE_DONE +#define FWU_SMC_FID_END FWU_SMC_IMAGE_RESET #define is_fwu_fid(_fid) \ ((_fid >= FWU_SMC_FID_START) && (_fid <= FWU_SMC_FID_END)) |
