diff mbox series

[9/9] board: ti: am62x: evm: OSPI support for splash screen

Message ID 20230314045019.5671-10-n-jain1@ti.com
State Changes Requested
Delegated to: Simon Glass
Headers show
Series Enable splash screen | expand

Commit Message

Nikhil Jain March 14, 2023, 4:50 a.m. UTC
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 <n-jain1@ti.com>
---
 board/ti/am62x/evm.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Simon Glass March 27, 2023, 8:24 a.m. UTC | #1
On Tue, 14 Mar 2023 at 17:51, Nikhil M Jain <n-jain1@ti.com> wrote:
>
> 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 <n-jain1@ti.com>
> ---
>  board/ti/am62x/evm.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c
index 20b2a70122..ca7c89aea0 100644
--- a/board/ti/am62x/evm.c
+++ b/board/ti/am62x/evm.c
@@ -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,