This patch is required to skip fdt checking because this
u-boot version does not support OF_EMBED.
Change-Id: Ibb6299fd09ff2df7b7edf5f5cf7f65d1cdb67ee9
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
int fdtdec_prepare_fdt(void)
{
if (((uintptr_t)gd->fdt_blob & 3) || fdt_check_header(gd->fdt_blob)) {
+#ifndef CONFIG_OF_SKIP_CHECK
printf("No valid FDT found - please append one to U-Boot "
"binary, use u-boot-dtb.bin or define "
"CONFIG_OF_EMBED\n");
return -1;
+#endif
}
return 0;
}