mbox series

[v2,0/2] splash: add more options/support

Message ID 87fsfm6e9d.fsf@baylibre.com
Headers show
Series splash: add more options/support | expand

Message

Julien Masson Oct. 17, 2022, 8:33 a.m. UTC
This patch series add several options/support for splashscreen feature:
- support raw image from MMC
- get devpart from environment variable

With these changes the user has now more options and can change default
configurations through environment variables.

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

Changes in v2:
- splash_mmc_read_raw: return -EIO in case of errors
- splash_mmc_read_raw: use IS_ENABLED(CONFIG_CMD_MMC) instead of #ifdef
- rename local var env_splashdevpart_value to devpart

Julien Masson (2):
  splash: support raw image from MMC
  splash: get devpart from environment variable

 common/splash.c        |  6 ++++++
 common/splash_source.c | 31 +++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

Comments

Anatolij Gustschin Oct. 31, 2022, 1:30 p.m. UTC | #1
On Mon, 17 Oct 2022 10:33:18 +0200
Julien Masson jmasson@baylibre.com wrote:
...
> Changes in v2:
> - splash_mmc_read_raw: return -EIO in case of errors
> - splash_mmc_read_raw: use IS_ENABLED(CONFIG_CMD_MMC) instead of #ifdef
> - rename local var env_splashdevpart_value to devpart
> 
> Julien Masson (2):
>   splash: support raw image from MMC
>   splash: get devpart from environment variable
> 
>  common/splash.c        |  6 ++++++
>  common/splash_source.c | 31 +++++++++++++++++++++++++++++++
>  2 files changed, 37 insertions(+)
> 

Applied to u-boot-video/master, thanks!

--
Anatolij