Commit 5ca28f67 authored by Fabien Parent's avatar Fabien Parent Committed by Tom Rini

davinci: omapl138_lcdk: add DT support for EMMC boot

When booting from EMMC, load the DTB and pass it to the kernel.
Signed-off-by: 's avatarFabien Parent <fparent@baylibre.com>
Reviewed-by: 's avatarTom Rini <trini@konsulko.com>
parent f96ab6a4
......@@ -274,12 +274,16 @@
"run spiboot; " \
"fi"
#define CONFIG_EXTRA_ENV_SETTINGS \
"fdtaddr=0xc0600000\0" \
"fdtfile=da850-lcdk.dtb\0" \
"fdtboot=bootm 0xc0700000 - ${fdtaddr};\0" \
"mmcboot=" \
"if fatload mmc 0 0xc0600000 boot.scr; then " \
"source 0xc0600000; " \
"else " \
"fatload mmc 0 0xc0700000 uImage; " \
"bootm 0xc0700000; " \
"fatload mmc 0 ${fdtaddr} ${fdtfile}; " \
"run fdtboot; " \
"fi;\0" \
"spiboot=" \
"sf probe 0; " \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment