[PATCH v2 2/2] splash: get devpart from environment variable

Simon Glass sjg at chromium.org
Tue Oct 18 18:59:31 CEST 2022


On Mon, 17 Oct 2022 at 02:33, Julien Masson <jmasson at 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 at chromium.org>
> Signed-off-by: Julien Masson <jmasson at 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 at chromium.org>


More information about the U-Boot mailing list