]> git.dujemihanovic.xyz Git - u-boot.git/commit
fwu: gpt: use cached meta-data partition numbers
authorJassi Brar <jaswinder.singh@linaro.org>
Mon, 6 Mar 2023 23:18:21 +0000 (17:18 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 9 Jun 2023 17:24:10 +0000 (13:24 -0400)
commitb042c705548da5a78f4144071a88083be60d331d
treea7c322079bd6104a9e3fe4618c336eed5d34b832
parent56b481c42879ae171c6272f92ff5db7c767929af
fwu: gpt: use cached meta-data partition numbers

Use cached values and avoid parsing and scanning through partitions
everytime for meta-data partitions because they can't change after bootup.

Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Tested-by: Sughosh Ganu <sughosh.ganu@linaro.org>
drivers/fwu-mdata/gpt_blk.c