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: Fabien Parent <fparent@baylibre.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
f96ab6a48a
commit
5ca28f67ac
@ -274,12 +274,16 @@
|
|||||||
"run spiboot; " \
|
"run spiboot; " \
|
||||||
"fi"
|
"fi"
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
|
"fdtaddr=0xc0600000\0" \
|
||||||
|
"fdtfile=da850-lcdk.dtb\0" \
|
||||||
|
"fdtboot=bootm 0xc0700000 - ${fdtaddr};\0" \
|
||||||
"mmcboot=" \
|
"mmcboot=" \
|
||||||
"if fatload mmc 0 0xc0600000 boot.scr; then " \
|
"if fatload mmc 0 0xc0600000 boot.scr; then " \
|
||||||
"source 0xc0600000; " \
|
"source 0xc0600000; " \
|
||||||
"else " \
|
"else " \
|
||||||
"fatload mmc 0 0xc0700000 uImage; " \
|
"fatload mmc 0 0xc0700000 uImage; " \
|
||||||
"bootm 0xc0700000; " \
|
"fatload mmc 0 ${fdtaddr} ${fdtfile}; " \
|
||||||
|
"run fdtboot; " \
|
||||||
"fi;\0" \
|
"fi;\0" \
|
||||||
"spiboot=" \
|
"spiboot=" \
|
||||||
"sf probe 0; " \
|
"sf probe 0; " \
|
||||||
|
Loading…
Reference in New Issue
Block a user