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

Julien Masson jmasson at baylibre.com
Mon Oct 17 10:33:18 CEST 2022


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(+)

-- 
2.37.3



More information about the U-Boot mailing list