]> git.dujemihanovic.xyz Git - u-boot.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)
commita7e45415b21c6a224f632194dd2f076c17581426
tree2afcd419d054ff71600f9ca1a4b265a69359da1b
parent6b403ca4dcf4c68e2792c4e8b28e03b3cfe5db45
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