Print error message if autoload fails due to missing DTB blob, otherwise

ubldr just falls back to loader prompt with no apparent reason
This commit is contained in:
gonzo 2015-05-26 20:32:14 +00:00
parent c32ee7f1c5
commit 0df0890db9

View File

@ -47,8 +47,10 @@ uboot_autoload(void)
#if defined(LOADER_FDT_SUPPORT)
int err;
if ((err = fdt_setup_fdtp()) != 0)
if ((err = fdt_setup_fdtp()) != 0) {
printf("No valid device tree blob found!\n");
return (err);
}
#endif
return(0);