]> git.baikalelectronics.ru Git - uboot.git/commit
splash: get devpart from environment variable
authorJulien Masson <jmasson@baylibre.com>
Mon, 17 Oct 2022 08:33:22 +0000 (10:33 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:01:40 +0000 (20:01 +0100)
commit20e06886e78575138811a2d89e4dde6cb6cd3f24
treeef3eb2d4f118a1893f7cfa9f866d6454e46acffc
parentfd9f9b9e785b473b906995d8356e91d4887958db
splash: get devpart from environment variable

By default several types of splash locations are supported and the
user can select one of them through environment var (splashsource).

However the devpart is still hardcoded and we cannot change it from
the environment.

This patch add the support of "splashdevpart" which allow the user to
set the devpart though this environment variable.

Example: image located in splashscreen partition (MMC as raw)
```
splashsource=mmc_raw
splashdevpart=0#splashscreen
```

Signed-off-by: Julien Masson <jmasson@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/splash_source.c