Set splash screen related env variables. Default
splash source is set to mmc where user is expected
to keep bmp in compressed format with name ti.gz
on first partition of mmc.

Splash file will be uncompressed to DDR at address
0x82000000 and splash position is set to middle of
screen.

Signed-off-by: Nikhil M Jain <n-ja...@ti.com>
---
 include/configs/am62x_evm.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/configs/am62x_evm.h b/include/configs/am62x_evm.h
index 78201adc07..acbcfe0526 100644
--- a/include/configs/am62x_evm.h
+++ b/include/configs/am62x_evm.h
@@ -29,7 +29,11 @@
        "console=ttyS2,115200n8\0"                                      \
        "args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000 
" \
                "${mtdparts}\0"                                         \
-       "run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}\0"
+       "run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}\0"    \
+       "splashsource=mmc\0"     \
+       "splashfile=ti.gz\0"                            \
+       "splashimage=0x82000000\0"                                      \
+       "splashpos=m,m\0"               \
 
 /* U-Boot MMC-specific configuration */
 #define EXTRA_ENV_AM625_BOARD_SETTINGS_MMC                             \
-- 
2.17.1

Reply via email to