]> git.baikalelectronics.ru Git - uboot.git/commit
bootstd: Support reading a script from network or SPI flash
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:48:04 +0000 (10:48 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:41 +0000 (18:11 -0500)
commit62f3a3e9315285fc3d32aa57504125c773becbc1
treed2154456d206f3ff036a37fb189dfba42e899029
parentb58444f76901b8402737ff6d71e7ac9cf03afc0d
bootstd: Support reading a script from network or SPI flash

At present this bootmeth only supports a block device and the sandbox
host filesystem. Add support for obtaining the script from a network
device. Also implement the set_bootflow() method so that it is easy
for other bootdevs (such as enabling SPI flash to support scripts).

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