diff options
author | Fabien Parent <fparent@baylibre.com> | 2016-11-29 17:15:03 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-03 13:21:19 -0500 |
commit | 5ca28f67ace439ee06efd310b53621526bd06468 (patch) | |
tree | 1d1fc530120523ee88bad2e49fbfb9e0891734c3 /include/configs/omapl138_lcdk.h | |
parent | f96ab6a48a757ced5b37c1024162e7c5b9a5e1bb (diff) | |
download | u-boot-5ca28f67ace439ee06efd310b53621526bd06468.tar.gz u-boot-5ca28f67ace439ee06efd310b53621526bd06468.tar.bz2 u-boot-5ca28f67ace439ee06efd310b53621526bd06468.zip |
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>
Diffstat (limited to 'include/configs/omapl138_lcdk.h')
-rw-r--r-- | include/configs/omapl138_lcdk.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index 06a62cd6b1..9e11f7dc95 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include/configs/omapl138_lcdk.h @@ -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; " \ |