Re: [PATCH v2] common: update: fix an "unused" warning against update_flash()

2020-12-03 Thread Heinrich Schuchardt
On 12/3/20 5:59 PM, Tom Rini wrote: On Thu, Nov 19, 2020 at 09:37:19AM +0900, AKASHI Takahiro wrote: 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_

Re: [PATCH v2] common: update: fix an "unused" warning against update_flash()

2020-12-03 Thread Tom Rini
On Thu, Nov 19, 2020 at 09:37:19AM +0900, AKASHI Takahiro wrote: > 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 CONF