Alex Kiernan 89665f2eb1 Refactor IMAGE_ENABLE_VERIFY to handle builds without SPL verification
If building with SPL_LOAD_FIT_FULL and FIT_SIGNATURE, but without
SPL_FIT_SIGNATURE then the build fails with:

  common/built-in.o: In function `fit_image_verify_with_data':
  common/image-fit.c:1220: undefined reference to `fit_image_verify_required_sigs'
  common/image-fit.c:1244: undefined reference to `fit_image_check_sig'
  common/built-in.o: In function `fit_image_load':
  common/image-fit.c:1857: undefined reference to `fit_config_verify'

Refactor so that host builds still depend on FIT_SIGNATURE, but target
builds check FIT_SIGNATURE/SPL_FIT_SIGNATURE dependent on the build.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2019-05-05 08:48:50 -04:00
..
2019-04-21 10:26:52 +02:00
2018-11-27 21:06:53 +05:30
2018-11-14 09:16:27 -08:00
2018-09-29 11:49:35 -06:00
2019-02-13 09:40:05 +01:00
2018-09-10 20:48:16 -04:00
2019-04-23 20:26:43 -06:00
2018-12-07 08:13:45 -05:00
2018-12-07 08:13:45 -05:00
2019-05-02 18:17:50 +02:00
2019-04-22 12:06:39 -04:00
2018-07-26 14:08:22 -05:00
2018-09-23 21:55:30 +02:00
2019-02-20 15:27:09 +08:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2018-10-22 13:01:27 +02:00
2019-01-01 14:12:18 +01:00
2019-04-23 20:26:43 -06:00
2018-12-05 06:01:35 -07:00
2019-02-02 08:19:17 -05:00
2018-09-18 00:01:18 -06:00
2018-10-02 22:12:32 +05:30
2019-04-12 08:05:52 -04:00
2018-10-09 04:40:27 -06:00
2019-04-24 12:27:29 -04:00
2018-12-05 06:06:44 -07:00
2019-05-03 20:44:11 +08:00
2018-07-19 16:31:37 -04:00
2019-02-01 16:59:12 +01:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2018-09-28 18:26:32 +02:00