
18 Oct
2022
18 Oct
'22
6:59 p.m.
On Mon, 17 Oct 2022 at 02:33, Julien Masson jmasson@baylibre.com wrote:
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
Reviewed-by: Simon Glass sjg@chromium.org Signed-off-by: Julien Masson jmasson@baylibre.com
Changes in v2:
- rename local var env_splashdevpart_value to devpart
common/splash_source.c | 5 +++++ 1 file changed, 5 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org