boot: image-pre-load: Check environment for location of signature info
authorSteven Lawrance <steven.lawrance@softathome.com>
Wed, 14 Sep 2022 18:57:28 +0000 (20:57 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 11 Oct 2022 19:40:48 +0000 (15:40 -0400)
commit05b0f241f271415d9a26416a5bec316f29a2583f
tree3f64066d60015688364b2fa66abe3524f6be16e9
parent7c5eeb8309a19c662efe6d7695c256975f6da0d4
boot: image-pre-load: Check environment for location of signature info

Setting an alternative signature info node in "pre_load_sig_info_path"
allows verification of an image using the bootm pre-load mechanism with
a different key, e.g.: setenv pre_load_sig_info_path "/alt/sig" ; bootm
preload [addr]

Signed-off-by: Steven Lawrance <steven.lawrance@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/image-pre-load.c