AKASHI Takahiro
50efdf2c6f
common: update: fix an "unused" warning against update_flash()
...
Since update_flash() is used only in update_tftp(), it should be
guarded with appropriate config options.
After the commit 3149e524fc1e, common/update.c will be built under
either CONFIG_UDATE_TFTP, CONFIG_DFU_TFTP or CONFIG_UPDATE_FIT.
Since CONFIG_UPDATE_FIT, hence fit_update(), doesn't rely on
update_flash(), the compiler may cause an "unused" warning if
CONFIG_UPDATE_FIT=y and CONFIG_UPDATE_TFTP=n and CONFIG_DFU_TFTP=n.
This is, for example, the case for sandbox defconfig where
EFI_CAPSULE_FIRMWARE_FIT is enabled for test purpose.
Fixes: 3149e524fc1e ("common: update: add a generic interface for FIT
image")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
2020-12-02 16:21:58 -05:00
..
2018-05-07 09:34:12 -04:00
2020-08-26 09:19:16 +02:00
2020-11-06 10:18:20 +08:00
2020-05-18 21:19:18 -04:00
2020-10-22 09:54:53 -04:00
2020-08-24 14:11:13 -04:00
2020-05-18 21:19:23 -04:00
2020-10-06 09:07:54 -06:00
2020-10-22 09:54:52 -04:00
2020-05-18 17:33:33 -04:00
2020-11-01 10:56:37 -05:00
2020-05-18 21:19:18 -04:00
2020-07-22 12:32:42 +02:00
2020-10-23 13:33:07 -04:00
2019-12-02 18:23:13 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-10-22 09:54:53 -04:00
2020-10-22 09:54:53 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-07-08 17:21:46 -04:00
2020-11-19 09:45:49 -05:00
2020-10-22 09:54:53 -04:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-07-25 14:46:57 -06:00
2020-10-27 08:13:32 +01:00
2020-05-18 21:19:18 -04:00
2020-06-16 11:36:30 -04:00
2020-05-18 21:19:18 -04:00
2019-08-07 15:31:05 -04:00
2020-06-02 13:06:12 -04:00
2020-10-12 21:30:38 -04:00
2020-10-14 11:16:34 -04:00
2020-10-12 21:30:37 -04:00
2020-10-27 08:13:32 +01:00
2020-06-12 13:14:07 -04:00
2020-10-22 09:54:52 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:23 -04:00
2020-10-30 14:20:27 +01:00
2020-11-06 09:51:31 +08:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-10-10 16:50:11 -04:00
2020-10-10 16:50:12 -04:00
2020-11-06 09:51:34 +08:00
2018-04-27 14:54:48 -04:00
2020-05-18 17:33:33 -04:00
2020-10-30 14:20:27 +01:00
2020-05-18 21:19:18 -04:00
2020-01-24 23:06:49 +05:30
2020-05-07 09:01:42 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-06-28 01:03:09 +02:00
2020-10-26 20:55:29 +01:00
2020-12-02 16:21:58 -05:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-10-22 09:54:53 -04:00