mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-24 22:36:05 +00:00
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 <n-jain1@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
This commit is contained in:
parent
25127ea388
commit
53ae978af5
1 changed files with 7 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue