printf("WDOG RESET detected; Skipping PMIC setup\n");
else
printf("<CTRL-C> detected; safeboot enabled\n");
- return 1;
+ return 0;
}
ret = setup_pmic_voltages();
};
#ifdef CONFIG_LCD
-static u16 tx53_cmap[256];
vidinfo_t panel_info = {
/* set to max. size supported by SoC */
.vl_col = 1600,
.vl_row = 1200,
.vl_bpix = LCD_COLOR32, /* Bits per pixel, 0: 1bpp, 1: 2bpp, 2: 4bpp, 3: 8bpp ... */
- .cmap = tx53_cmap,
};
static struct fb_videomode tx53_fb_modes[] = {
int board_late_init(void)
{
- int ret = 0;
const char *baseboard;
env_cleanup();
} else {
printf("WARNING: Unsupported baseboard: '%s'\n",
baseboard);
- ret = -EINVAL;
+ if (!had_ctrlc())
+ return -EINVAL;
}
exit:
get_hab_status();
- return ret;
+ return 0;
}
int checkboard(void)