]> git.baikalelectronics.ru Git - uboot.git/commit
fwu: provide default fwu_plat_get_bootidx
authorJassi Brar <jaswinder.singh@linaro.org>
Wed, 31 May 2023 05:30:06 +0000 (00:30 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 9 Jun 2023 17:52:40 +0000 (13:52 -0400)
commit9d074db8862de4b152799a42311e1922f50d7d70
tree2afcd419d054ff71600f9ca1a4b265a69359da1b
parentfdb1a522bb2aaaa1353db98766a110bc43143916
fwu: provide default fwu_plat_get_bootidx

Just like fwu_plat_get_update_index, provide a default/weak
implementation of fwu_plat_get_bootidx. So that most platforms
wouldn't have to re-implement the likely case.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
lib/fwu_updates/fwu.c