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:
Oleksandr Tymoshenko 2015-05-26 20:32:14 +00:00
parent 8a1ab32008
commit 6efd223d8f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283579

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);