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

Nikhil M Jain n-jain1 at ti.com
Tue Mar 14 05:50:19 CET 2023


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 at ti.com>
---
 board/ti/am62x/evm.c | 6 ++++++
 1 file changed, 6 insertions(+)

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,
-- 
2.34.1



More information about the U-Boot mailing list