@@ -206,16 +206,25 @@
"else " \
"run spiboot; " \
"fi"
+#if defined(CONFIG_OF_SYSTEM_SETUP)
+#define FDTSETUP "fdtsetup=fdt addr ${fdtaddr}; fdt systemsetup;\0"
+#else
+#define FDTSETUP
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
+ FDTSETUP \
"fdtaddr=0xc0600000\0" \
"fdtfile=da850-lcdk.dtb\0" \
"fdtboot=bootm 0xc0700000 - ${fdtaddr};\0" \
+ "fdtsetup=fdt addr ${fdtaddr}; fdt systemsetup;\0" \
"mmcboot=" \
"if fatload mmc 0 0xc0600000 boot.scr; then " \
"source 0xc0600000; " \
"else " \
"fatload mmc 0 0xc0700000 uImage; " \
"fatload mmc 0 ${fdtaddr} ${fdtfile}; " \
+ "run fdtsetup;" \
"run fdtboot; " \
"fi;\0" \
"spiboot=" \
When loading the DTB, let's also do the systemsetup in order to patch the DT with the mac address. Signed-off-by: Fabien Parent <fparent@baylibre.com> --- include/configs/omapl138_lcdk.h | 9 +++++++++ 1 file changed, 9 insertions(+)