]> git.baikalelectronics.ru Git - uboot.git/commit
bootstd: Set the distro_bootpart env var with scripts
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:58 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commit8b5221d7f91e394accd71934dd85d4aa365bee17
treec556c8d9cf06129efffa9a63b77a0f13e292cbeb
parent3b4a556a293f53a54a15b9a59728b1b4934c237e
bootstd: Set the distro_bootpart env var with scripts

This environment variable is supposed to be set so that the script knows
which partition holds the script. Set it before invoking the script.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_script.c
include/bootflow.h