From: Nikhil M Jain Date: Thu, 20 Apr 2023 12:11:11 +0000 (+0530) Subject: board: ti: am62x: evm: OSPI support for splash screen X-Git-Tag: v2025.01-rc5-pxa1908~1010^2~7 X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=53ae978af51df7926ffa2e2cd0ab2b5196a66ec8;p=u-boot.git board: ti: am62x: evm: OSPI support for splash screen 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. Use CONFIG_IS_ENBALED to use the splash locations at SPL and u-boot proper. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass Reviewed-by: Devarsh Thakkar --- diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c index 20b2a70122..1b7b439cf5 100644 --- a/board/ti/am62x/evm.c +++ b/board/ti/am62x/evm.c @@ -20,8 +20,14 @@ DECLARE_GLOBAL_DATA_PTR; -#ifdef CONFIG_SPLASH_SCREEN +#if CONFIG_IS_ENABLED(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,