Fix build warning and add fdt_high/initrd_high.
(it's taken from Hardkernel u-boot.)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
return NULL;
if (!strncmp(devstr, "0", 1))
- alt_boot = CONFIG_DFU_ALT_SYSTEM_SD;
+ alt_boot = CONFIG_DFU_ALT_SYSTEM_2;
else
alt_boot = CONFIG_DFU_ALT_SYSTEM;
/* DFU */
/* For SD */
-#define CONFIG_DFU_ALT_SYSTEM_SD \
+#define CONFIG_DFU_ALT_SYSTEM_2 \
"Image fat 0 1;" \
"meson64_odroidn2_drm.dtb fat 0 1;" \
"meson64_odroidn2.dtb fat 0 1;" \
"bootmode=ramdisk\0" \
"bootdev=mmc\0" \
"tfm=setenv bootmode download; run bootcmd\0" \
+ "fdt_high=0x20000000\n" \
+ "initrd_high=0x3d800000\n" \
"opts=loglevel=4\0" \
"dfu_usb_con=0\0" \
"dfu_interface=mmc\0" \