From: Lothar Waßmann Date: Thu, 18 Feb 2016 17:37:47 +0000 (+0100) Subject: Merge branch 'tx28-update-2016-02-03' into karo-tx6 X-Git-Tag: KARO-TX6-2016-03-10~1 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=88914836fa30e167183603974d5bd29dd04102bd;hp=-c Merge branch 'tx28-update-2016-02-03' into karo-tx6 --- 88914836fa30e167183603974d5bd29dd04102bd diff --combined board/karo/tx28/tx28.c index b8086a02e1,25d61c2abc..1089d4f65b --- a/board/karo/tx28/tx28.c +++ b/board/karo/tx28/tx28.c @@@ -24,6 -24,7 +24,7 @@@ #include #include #include + #include #include #include #include @@@ -167,10 -168,8 +168,8 @@@ rtc_err int board_init(void) { - if (ctrlc()) { + if (ctrlc()) printf("CTRL-C detected; safeboot enabled\n"); - return 1; - } /* Address of boot parameters */ #ifdef CONFIG_OF_LIBFDT @@@ -402,12 -401,14 +401,12 @@@ static const struct gpio stk5_gpios[] }; #ifdef CONFIG_LCD -static ushort tx28_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 = tx28_cmap, }; static struct fb_videomode tx28_fb_modes[] = { @@@ -625,8 -626,6 +624,6 @@@ static const struct gpio stk5_lcd_gpios { TX28_LCD_BACKLIGHT_GPIO, GPIOFLAG_OUTPUT_INIT_HIGH, "LCD BACKLIGHT", }, }; - extern void video_hw_init(void *lcdbase); - void lcd_ctrl_init(void *lcdbase) { int color_depth = 24; @@@ -810,7 -809,7 +807,7 @@@ setenv("videomode", vmode); debug("Initializing LCD controller\n"); - video_hw_init(lcdbase); + video_hw_init(); setenv("videomode", NULL); } else { debug("Skipping initialization of LCD controller\n"); @@@ -879,7 -878,8 +876,8 @@@ int board_late_init(void } else { printf("WARNING: Unsupported baseboard: '%s'\n", baseboard); - ret = -EINVAL; + if (!had_ctrlc()) + ret = -EINVAL; } exit: