Enable splash screen
cover Enable splash screen
To enable splash screen at SPL stage move video driver and splash screen framework at SPL, which will bring up image on display very quickly and thus have early display support in SPL.
Change in V2
- Removed artifacts from bad patch apply.
Nikhil M Jain (9):
drivers: video: Kconfig: Necessary configs for video at SPL
drivers: video: tidss: Kconfig: Configs to enable TIDSS at SPL
cmd: Kconfig: Add necessary configs for splash screen at SPL
drivers: video: Makefile: Compile video driver files at SPL
drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL
cmd: Makefile: Add rules to build bmp.c and read.c at SPL
common: splash: Enable splash_display at SPL stage
drivers: video: video-uclass: Disable u-boot logo at SPL
board: ti: am62x: evm: OSPI support for splash screen
board/ti/am62x/evm.c | 6 ++++++ cmd/Kconfig | 17 +++++++++++++++++ cmd/Makefile | 2 ++ common/splash.c | 2 +- drivers/video/Kconfig | 32 ++++++++++++++++++++++++++++---- drivers/video/Makefile | 6 ++++++ drivers/video/tidss/Kconfig | 6 ++++++ drivers/video/tidss/Makefile | 1 + drivers/video/video-uclass.c | 2 +- include/splash.h | 2 +- 10 files changed, 69 insertions(+), 7 deletions(-)
Signature · 1 line
2.34.1
PATCH 1/9 drivers: video: Kconfig: Necessary configs for video at SPL
Add necessary Kconfigs to enable video driver and enable splash screen at spl stage.CONFIG_SPL_VIDEO enables all necessary configs enabled by CONFIG_VIDEO at spl stage.CONFIG_SPL_SYS_WHITE_ON_BLACK allows displaying on black background at spl stage.
These configs are specific to SPL and will allow us to enable the video driver and splash screen at SPL stage only and not at u-boot proper. The existing Kconfigs from u-boot proper were not used to make SPL splash screen independent to them.
Enable BMP_GZIP at SPL stage when SPL_SPLASH_SCREEN or SPL_CMD_BMP are defined.
--- drivers/video/Kconfig | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-)
drivers/video/Kconfig +27 -3
@@ -14,7 +14,17 @@ config VIDEO option compiles in the video uclass and routes all LCD/video access through this. -if VIDEO +config SPL_VIDEO + bool "Enable driver model support for LCD/video" + depends on SPL_DM + help + The video subsystem adds a small amount of overhead to the image. + If this is acceptable and you have a need to use video drivers in + SPL, enable this option. It might provide a cleaner interface to + setting up video within SPL, and allows the same drivers to be + used as U-Boot proper. + +if VIDEO || SPL_VIDEO config VIDEO_LOGO bool "Show the U-Boot logo on the display"
@@ -193,6 +203,14 @@ config SYS_WHITE_ON_BLACK better in low-light situations or to reduce eye strain in some cases. +config SPL_SYS_WHITE_ON_BLACK + bool "Display console as white on a black background" + help + Normally the display is black on a white background, Enable this + option to invert this, i.e. white on a black background at spl stage. + This can be better in low-light situations or to reduce eye strain in + some cases. + config NO_FB_CLEAR bool "Skip framebuffer clear" help
@@ -795,7 +813,13 @@ config SPLASH_SCREEN image data before it is processed and sent to the frame buffer by U-Boot. Define your own version to use this feature. -if SPLASH_SCREEN +config SPL_SPLASH_SCREEN + bool "Show a splash-screen image" + help + If this option is set, the environment is checked for a variable + "splashimage" at spl stage. + +if SPLASH_SCREEN || SPL_SPLASH_SCREEN config SPLASH_SCREEN_ALIGN bool "Allow positioning the splash image anywhere on the display"
@@ -863,7 +887,7 @@ endif # SPLASH_SCREEN config VIDEO_BMP_GZIP bool "Gzip compressed BMP image support" - depends on CMD_BMP || SPLASH_SCREEN + depends on CMD_BMP || SPLASH_SCREEN || SPL_SPLASH_SCREEN || SPL_CMD_BMP help If this option is set, additionally to standard BMP images, gzipped BMP images can be displayed via the
Signature · 1 line
2.34.1
Re: [PATCH 1/9] drivers: video: Kconfig: Necessary configs for video at SPL
Hi Nikhil,
Thanks for the patch.
Quoted 44 lines · Nikhil M Jain
Add necessary Kconfigs to enable video driver and enable splash screen at spl stage.
CONFIG_SPL_VIDEOenables all necessary configs enabled byCONFIG_VIDEOat spl stage.CONFIG_SPL_SYS_WHITE_ON_BLACKallows displaying on black background at spl stage.These configs are specific to SPL and will allow us to enable the video driver and splash screen at SPL stage only and not at u-boot proper. The existing Kconfigs from u-boot proper were not used to make SPL splash screen independent to them.
Enable
BMP_GZIPat SPL stage whenSPL_SPLASH_SCREENorSPL_CMD_BMPare defined.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/video/Kconfig | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-)drivers/video/Kconfig +11
-1@@ -14,7 +14,17 @@ config VIDEO option compiles in the video uclass and routes all LCD/video access through this. -if VIDEO +config SPL_VIDEO + bool "Enable driver model support for LCD/video" + depends on SPL_DM + help + The video subsystem adds a small amount of overhead to the image. + If this is acceptable and you have a need to use video drivers in + SPL, enable this option. It might provide a cleaner interface to + setting up video within SPL, and allows the same drivers to be + used as U-Boot proper. + +if VIDEO || SPL_VIDEO config VIDEO_LOGO bool "Show the U-Boot logo on the display"
drivers/video/Kconfig config SYS_WHITE_ON_BLACK · line 205
Quoted 3 lines
drivers/video/Kconfig +0
-0@@ -193,6 +203,14 @@ config SYS_WHITE_ON_BLACK better in low-light situations or to reduce eye strain in some cases.
My understanding is that for all the common macros under (VIDEO || SPL_VIDEO)
(for e.g. like CONFIG_VIDEO_LOGO) code will get compiled in both u-boot proper at SPL even
if intended to be enabled for only on of them.
For e.g. you enable CONFIG_VIDEO_LOGO with CONFIG_VIDEO set aiming to compiled them
only for u-boot proper but corresponding code will also get compiled for u-boot SPL now.
Please confirm but If this is true then from my point of view I think we need
unique SPL_VIDEO_* macro (which will depend on SPL_VIDEO) for each of the VIDEO_* macros
getting used generally or probably all of them. And use CONFIG_IS_ENABLED at all places in video drivers
for each of the macros. Lastly you may also have to update relevant docs viz.
docs/README.spl and video related docs if any.
drivers/video/Kconfig config SYS_WHITE_ON_BLACK · line 208
Quoted 3 lines
drivers/video/Kconfig +3
-0+config SPL_SYS_WHITE_ON_BLACK + bool "Display console as white on a black background" + help
This should depend upon SPL_VIDEO
Quoted 9 lines
drivers/video/Kconfig +5
-0+ Normally the display is black on a white background, Enable this + option to invert this, i.e. white on a black background at spl stage. + This can be better in low-light situations or to reduce eye strain in + some cases. + config NO_FB_CLEAR bool "Skip framebuffer clear" help
drivers/video/Kconfig config SPLASH_SCREEN · line 817
Quoted 6 lines
drivers/video/Kconfig +2
-1@@ -795,7 +813,13 @@ config SPLASH_SCREEN image data before it is processed and sent to the frame buffer by U-Boot. Define your own version to use this feature. -if SPLASH_SCREEN +config SPL_SPLASH_SCREEN + bool "Show a splash-screen image"
Same here.
drivers/video/Kconfig config SPLASH_SCREEN · line 823
Quoted 6 lines
drivers/video/Kconfig +5
-0+ help + If this option is set, the environment is checked for a variable + "splashimage" at spl stage. + +if SPLASH_SCREEN || SPL_SPLASH_SCREEN
If going with above suggested approach then you will need to make
unique macros for SPL.
Regards
Devarsh
Quoted 11 lines
drivers/video/Kconfig +1
-1config SPLASH_SCREEN_ALIGN bool "Allow positioning the splash image anywhere on the display"@@ -863,7 +887,7 @@ endif # SPLASH_SCREEN config VIDEO_BMP_GZIP bool "Gzip compressed BMP image support" - depends on CMD_BMP || SPLASH_SCREEN + depends on CMD_BMP || SPLASH_SCREEN || SPL_SPLASH_SCREEN || SPL_CMD_BMP help If this option is set, additionally to standard BMP images, gzipped BMP images can be displayed via the
Re: [PATCH 1/9] drivers: video: Kconfig: Necessary configs for video at SPL
In reply to Nikhil M JainQuoted 13 lines · Nikhil M Jain
Add necessary Kconfigs to enable video driver and enable splash screen at spl stage.
CONFIG_SPL_VIDEOenables all necessary configs enabled byCONFIG_VIDEOat spl stage.CONFIG_SPL_SYS_WHITE_ON_BLACKallows displaying on black background at spl stage.These configs are specific to SPL and will allow us to enable the video driver and splash screen at SPL stage only and not at u-boot proper. The existing Kconfigs from u-boot proper were not used to make SPL splash screen independent to them.
Quoted 8 lines
Enable
BMP_GZIPat SPL stage whenSPL_SPLASH_SCREENorSPL_CMD_BMPare defined.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/video/Kconfig | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-)
PATCH 2/9 drivers: video: tidss: Kconfig: Configs to enable TIDSS at SPL
In reply to Nikhil M JainTo enable tidss video driver only at SPL stage, add necessary config, CONFIG_SPL_VIDEO_TIDSS.
--- drivers/video/tidss/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/video/tidss/Kconfig +6 -0
@@ -16,3 +16,9 @@ menuconfig VIDEO_TIDSS DPI . This option enables these supports which can be used on devices which have OLDI or HDMI display connected. +config SPL_VIDEO_TIDSS + bool "Enable TIDSS video support in SPL Stage" + depends on SPL_VIDEO + help + This options enables tidss driver in SPL stage. If + you need to use tidssat SPL stage use this config.
Signature · 1 line
2.34.1
Re: [PATCH 2/9] drivers: video: tidss: Kconfig: Configs to enable TIDSS at SPL
Quoted 9 lines · Nikhil M Jain
To enable tidss video driver only at SPL stage, add necessary config,
CONFIG_SPL_VIDEO_TIDSS.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/video/tidss/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
PATCH 3/9 cmd: Kconfig: Add necessary configs for splash screen at SPL
In reply to Nikhil M JainCONFIG_CMD_BMP and CONFIG_SPLASH_SCREEN enable's splash display at only u-boot proper. To enable splash display at SPL stage add SPL specific configs, which are SPL_CMD_BMP and SPL_SPLASH_SCREEN.
--- cmd/Kconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
cmd/Kconfig +17 -0
@@ -1415,6 +1415,11 @@ config CMD_READ help Provides low-level access to the data in a partition. +config SPL_CMD_READ + bool "read - Read binary data from a partition" + help + Provides low-level access to the data in a partition at SPL stage. + config CMD_REMOTEPROC bool "remoteproc" depends on REMOTEPROC
@@ -1931,6 +1936,18 @@ config CMD_BMP the image into RAM, then using this command to look at it or display it. +config SPL_CMD_BMP + bool "Enable 'bmp' command" + depends on SPL_VIDEO + help + This provides a way to obtain information about a BMP-format image + and to display it in spl stage.BMP (which presumably stands for BitMaP) is a + file format defined by Microsoft which supports images of various + depths, formats and compression methods. Headers on the file + determine the formats used. This command can be used by first loading + the image into RAM, then using this command to look at it or display + it. + config CMD_BOOTCOUNT bool "bootcount" depends on BOOTCOUNT_LIMIT
Signature · 1 line
2.34.1
Re: [PATCH 3/9] cmd: Kconfig: Add necessary configs for splash screen at SPL
Hi Nikhil,
Quoted 31 lines · Nikhil M Jain
CONFIG_CMD_BMPandCONFIG_SPLASH_SCREENenable's splash display at only u-boot proper. To enable splash display at SPL stage add SPL specific configs, which areSPL_CMD_BMPandSPL_SPLASH_SCREEN.Signed-off-by Nikhil M Jain <[email protected]>--- cmd/Kconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)cmd/Kconfig +6
-0@@ -1415,6 +1415,11 @@ config CMD_READ help Provides low-level access to the data in a partition. +config SPL_CMD_READ + bool "read - Read binary data from a partition" + help + Provides low-level access to the data in a partition at SPL stage. + config CMD_REMOTEPROC bool "remoteproc" depends on REMOTEPROC@@ -1931,6 +1936,18 @@ config CMD_BMP the image into RAM, then using this command to look at it or display it. +config SPL_CMD_BMP
cmd/Kconfig config CMD_BMP · line 1949
Quoted 10 lines
cmd/Kconfig +10
-0+ bool "Enable 'bmp' command" + depends on SPL_VIDEO + help + This provides a way to obtain information about a BMP-format image + and to display it in spl stage.BMP (which presumably stands for BitMaP) is a + file format defined by Microsoft which supports images of various + depths, formats and compression methods. Headers on the file + determine the formats used. This command can be used by first loading + the image into RAM, then using this command to look at it or display + it.
For this you should split out a new CONFIG_BMP, since commands are not enabled in SPL.
Quoted 7 lines
cmd/Kconfig +1
-1+ config CMD_BOOTCOUNT bool "bootcount" depends on BOOTCOUNT_LIMIT --2.34.1
Regards,
Simon
PATCH 4/9 drivers: video: Makefile: Compile video driver files at SPL
In reply to Nikhil M JainTo enable splash screen at SPL we need to add video driver at SPL stage. To support video driver and splash display function compile video_uclass.c, video_console.c and video_bmp.c, thus add rules to compile these files at SPL stage when CONFIG_SPL_VIDEO is defined.
--- drivers/video/Makefile | 5 +++++ 1 file changed, 5 insertions(+)
drivers/video/Makefile +5 -0
@@ -68,3 +68,8 @@ obj-$(CONFIG_VIDEO_ZYNQMP_DPSUB) += zynqmp_dpsub.o obj-y += bridge/ obj-y += sunxi/ + +ifdef CONFIG_SPL_BUILD +obj-$(CONFIG_$(SPL_)VIDEO) += video-uclass.o vidconsole-uclass.o +obj-$(CONFIG_$(SPL_)VIDEO) += video_bmp.o +endif
Signature · 1 line
2.34.1
Re: [PATCH 4/9] drivers: video: Makefile: Compile video driver files at SPL
Quoted 11 lines · Nikhil M Jain
To enable splash screen at SPL we need to add video driver at SPL stage. To support video driver and splash display function compile
video_uclass.c,video_console.candvideo_bmp.c, thus add rules to compile these files at SPL stage whenCONFIG_SPL_VIDEOis defined.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/video/Makefile | 5 +++++ 1 file changed, 5 insertions(+)
PATCH 5/9 drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL
In reply to Nikhil M JainTo enable TIDSS driver only at SPL stage add rule to compile the TIDSS video driver, for SPL stage only if CONFIG_SPL_VIDEO_TIDSS is defined.
--- drivers/video/Makefile | 1 + drivers/video/tidss/Makefile | 1 + 2 files changed, 2 insertions(+)
drivers/video/Makefile +1 -0
@@ -72,4 +72,5 @@ obj-y += sunxi/ ifdef CONFIG_SPL_BUILD obj-$(CONFIG_$(SPL_)VIDEO) += video-uclass.o vidconsole-uclass.o obj-$(CONFIG_$(SPL_)VIDEO) += video_bmp.o +obj-${CONFIG_$(SPL_)VIDEO_TIDSS} += tidss/ endif
drivers/video/tidss/Makefile +1 -0
@@ -10,3 +10,4 @@ obj-${CONFIG_VIDEO_TIDSS} = tidss_drv.o +obj-${CONFIG_$(SPL_)VIDEO_TIDSS} = tidss_drv.o
Signature · 1 line
2.34.1
Re: [PATCH 5/9] drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL
Quoted 9 lines · Nikhil M Jain
To enable TIDSS driver only at SPL stage add rule to compile the TIDSS video driver, for SPL stage only if
CONFIG_SPL_VIDEO_TIDSSis defined.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/video/Makefile | 1 + drivers/video/tidss/Makefile | 1 + 2 files changed, 2 insertions(+)
PATCH 6/9 cmd: Makefile: Add rules to build bmp.c and read.c at SPL
In reply to Nikhil M JainSplash support requires functions which are in bmp.c and read.c to enable display of bmp image and reading image from boot media. Enable their compilation at SPL stage, using Kconfigs SPL_CMD_BMP, SPL_CMD_READ.
--- cmd/Makefile | 2 ++ 1 file changed, 2 insertions(+)
cmd/Makefile +2 -0
@@ -232,6 +232,8 @@ obj-$(CONFIG_ARCH_MVEBU) += mvebu/ endif # !CONFIG_SPL_BUILD obj-$(CONFIG_$(SPL_)CMD_TLV_EEPROM) += tlv_eeprom.o +obj-$(CONFIG_$(SPL_)CMD_BMP) += bmp.o +obj-$(CONFIG_$(SPL_)CMD_READ) += read.o # core command obj-y += nvedit.o
Signature · 1 line
2.34.1
Re: [PATCH 6/9] cmd: Makefile: Add rules to build bmp.c and read.c at SPL
Hi Nikhil,
Quoted 25 lines · Nikhil M Jain
Splash support requires functions which are in
bmp.candread.cto enable display of bmp image and reading image from boot media. Enable their compilation at SPL stage, using KconfigsSPL_CMD_BMP,SPL_CMD_READ.Signed-off-by Nikhil M Jain <[email protected]>--- cmd/Makefile | 2 ++ 1 file changed, 2 insertions(+)cmd/Makefile +2
-1@@ -232,6 +232,8 @@ obj-$(CONFIG_ARCH_MVEBU) += mvebu/ endif # !CONFIG_SPL_BUILD obj-$(CONFIG_$(SPL_)CMD_TLV_EEPROM) += tlv_eeprom.o +obj-$(CONFIG_$(SPL_)CMD_BMP) += bmp.o +obj-$(CONFIG_$(SPL_)CMD_READ) += read.o # core command obj-y += nvedit.o --
Quoted 2 lines
2.34.1
The required code should move to common/ so it can be called from the command and from SPL. Commands are not enabled in SPL.
Regards,
Simon
PATCH 7/9 common: splash: Enable splash_display at SPL stage
In reply to Nikhil M JainCONFIG_SPLASH_SCREEN and CONFIG_CMD_BMP enables splash screen at u-boot proper. To enable splash screen at SPL, separate macros i.e. SPL_SPLASH_SCREEN and SPL_CMD_BMP are used instead. Use CONFIG_IS_ENABLED(#) to check for splash screen and bmp related macros, so that it checks for either u-boot proper or SPl related macros as enabled at u-boot proper or SPL stage respectively.
--- common/splash.c | 2 +- include/splash.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
common/splash.c +1 -1
@@ -157,7 +157,7 @@ void splash_display_banner(void)* Common function to show a splash image if env("splashimage") is set. * For additional details please refer to doc/README.splashprepare. */ -#if defined(CONFIG_SPLASH_SCREEN ) && defined(CONFIG_CMD_BMP ) +#if CONFIG_IS_ENABLED (SPLASH_SCREEN ) &&CONFIG_IS_ENABLED (CMD_BMP )int splash_display (void ) {ulong addr;
include/splash.h +1 -1
@@ -67,7 +67,7 @@ void splash_get_pos(int *x, int *y);static inline void splash_get_pos (int *x,int *y) { }#endif -#if defined(CONFIG_SPLASH_SCREEN ) && defined(CONFIG_CMD_BMP ) +#if CONFIG_IS_ENABLED (SPLASH_SCREEN ) &&CONFIG_IS_ENABLED (CMD_BMP )int splash_display (void );#else static inline int splash_display (void )
Signature · 1 line
2.34.1
Re: [PATCH 7/9] common: splash: Enable splash_display at SPL stage
Quoted 8 lines · Nikhil M Jain
CONFIG_SPLASH_SCREENandCONFIG_CMD_BMPenables splash screen at u-boot proper. To enable splash screen at SPL, separate macros i.e.SPL_SPLASH_SCREENandSPL_CMD_BMPare used instead. UseCONFIG_IS_ENABLED(#)to check for splash screen and bmp related macros, so that it checks for either u-boot proper or SPl related macros as enabled at u-boot proper or SPL stage respectively.
Quoted 6 lines
Signed-off-by Nikhil M Jain <[email protected]>--- common/splash.c | 2 +- include/splash.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
PATCH 8/9 drivers: video: video-uclass: Disable u-boot logo at SPL
In reply to Nikhil M JainEnable displaying of u-boot video logo as default at SPL stage to if splash screen is disabled at SPL stage. Use CONFIG_IS_ENABLED for checking on splash screen macro both at SPL stage or u-boot proper depending upon where it is enabled.
--- drivers/video/Kconfig | 2 +- drivers/video/video-uclass.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/Kconfig +1 -1
@@ -28,7 +28,7 @@ if VIDEO || SPL_VIDEO config VIDEO_LOGO bool "Show the U-Boot logo on the display" - default y if !SPLASH_SCREEN + default y if !SPLASH_SCREEN || !SPL_SPLASH_SCREEN select VIDEO_BMP_RLE8 help This enables showing the U-Boot logo on the display when a video
drivers/video/video-uclass.c +1 -1
@@ -498,7 +498,7 @@ static int video_post_probe(struct udevice *dev) }if (IS_ENABLED (CONFIG_VIDEO_LOGO ) && - !IS_ENABLED (CONFIG_SPLASH_SCREEN ) && !plat->hide_logo) { + !CONFIG_IS_ENABLED (SPLASH_SCREEN ) && !plat->hide_logo) { ret =show_splash (dev);if (ret) {log_debug ("Cannot show splash screen\n" );
Signature · 1 line
2.34.1
Re: [PATCH 8/9] drivers: video: video-uclass: Disable u-boot logo at SPL
Quoted 17 lines · Nikhil M Jain
Enable displaying of u-boot video logo as default at SPL stage to if splash screen is disabled at SPL stage. Use
CONFIG_IS_ENABLEDfor checking on splash screen macro both at SPL stage or u-boot proper depending upon where it is enabled.Signed-off-by Nikhil M Jain <[email protected]>--- drivers/video/Kconfig | 2 +- drivers/video/video-uclass.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/video/Kconfig +0
-0
drivers/video/Kconfig if VIDEO || SPL_VIDEO · line 28
Quoted 1 line
drivers/video/Kconfig +0
-0@@ -28,7 +28,7 @@ if VIDEO || SPL_VIDEO
Works well!
PATCH 9/9 board: ti: am62x: evm: OSPI support for splash screen
In reply to Nikhil M JainAdd ospi boot media support to load splash image from OSPI memory, add offset to read image from ospi and necessary flags defininig type of storage and storage device.
--- board/ti/am62x/evm.c | 6 ++++++ 1 file changed, 6 insertions(+)
board/ti/am62x/evm.c +6 -0
@@ -22,6 +22,12 @@ DECLARE_GLOBAL_DATA_PTR; #ifdef CONFIG_SPLASH_SCREEN static struct splash_location default_splash_locations[] = { + { + .name = "sf", + .storage = SPLASH_STORAGE_SF, + .flags = SPLASH_STORAGE_RAW, + .offset = 0x700000, + }, { .name = "mmc", .storage = SPLASH_STORAGE_MMC,
Signature · 1 line
2.34.1
Re: [PATCH 9/9] board: ti: am62x: evm: OSPI support for splash screen
Quoted 10 lines · Nikhil M Jain
Add ospi boot media support to load splash image from OSPI memory, add offset to read image from ospi and necessary flags defininig type of storage and storage device.
Signed-off-by Nikhil M Jain <[email protected]>--- board/ti/am62x/evm.c | 6 ++++++ 1 file changed, 6 insertions(+)
Hi Nikhil,
Thanks for the series.
Quoted 6 lines · Nikhil M Jain
To enable splash screen at SPL stage move video driver and splash screen framework at SPL, which will bring up image on display very quickly and thus have early display support in SPL.
Change in V2
- Removed artifacts from bad patch apply.
For the subject,
Also add the version in subject prefix, next revision should be V3 now.
I understand this adds support for splash screen at U-boot SPL, so per
my opinion more meaningful subject would be "Add splash screen support at u-boot SPL"
Regards
Devarsh
Quoted 24 lines
Nikhil M Jain (9):
drivers: video:Kconfig: Necessary configs for video at SPL
drivers: video: tidss:Kconfig: Configs to enable TIDSS at SPL
cmd:Kconfig: Add necessary configs for splash screen at SPL
drivers: video:Makefile: Compile video driver files at SPL
drivers: video: tidss:Makefile: Add condition to compile TIDSS at SPL
cmd:Makefile: Add rules to buildbmp.candread.cat SPL
common: splash: Enablesplash_displayat SPL stage
drivers: video: video-uclass: Disable u-boot logo at SPL
board: ti: am62x: evm: OSPI support for splash screenboard/ti/am62x/evm.c | 6 ++++++ cmd/Kconfig | 17 +++++++++++++++++ cmd/Makefile | 2 ++ common/splash.c | 2 +- drivers/video/Kconfig | 32 ++++++++++++++++++++++++++++---- drivers/video/Makefile | 6 ++++++ drivers/video/tidss/Kconfig | 6 ++++++ drivers/video/tidss/Makefile | 1 + drivers/video/video-uclass.c | 2 +- include/splash.h | 2 +- 10 files changed, 69 insertions(+), 7 deletions(-)