вт, 7 мар. 2023 г. в 18:22, Anatolij Gustschin <[email protected]>: (...) > > there was another build error for boards with CONFIG_VIDEO_LOGO > disabled: > > https://source.denx.de/u-boot/custodians/u-boot-video/-/jobs/589501#L1430 > > I changed this to > > void splash_display_banner(void) > { > + struct video_fontdata __maybe_unused *fontdata = fonts; > struct udevice *dev; > char buf[DISPLAY_OPTIONS_BANNER_LENGTH]; > int col, row, ret; > @@ -138,9 +140,9 @@ void splash_display_banner(void) > if (ret) > return; > > -#ifdef CONFIG_VIDEO_LOGO > - col = BMP_LOGO_WIDTH / VIDEO_FONT_WIDTH + 1; > - row = BMP_LOGO_HEIGHT / VIDEO_FONT_HEIGHT + 1; > +#if IS_ENABLED(CONFIG_VIDEO_LOGO) > + col = BMP_LOGO_WIDTH / fontdata->width + 1; > + row = BMP_LOGO_HEIGHT / fontdata->height + 1; > #else > col = 0; > row = 0; > > -- should I send v9 with this patch?
- [PATCH v8 00/10] vidconsole: refactoring and support fo... Dzmitry Sankouski
- [PATCH v8 03/10] video console: move 8x16 font dat... Dzmitry Sankouski
- [PATCH v8 02/10] video console: add support for fo... Dzmitry Sankouski
- [PATCH v8 01/10] video console: refactoring and op... Dzmitry Sankouski
- [PATCH v8 06/10] video console: allow font size co... Dzmitry Sankouski
- [PATCH v8 04/10] video console: implement multiple... Dzmitry Sankouski
- Re: [PATCH v8 04/10] video console: implement ... Anatolij Gustschin
- Re: [PATCH v8 04/10] video console: implem... Dzmitry Sankouski
- Re: [PATCH v8 04/10] video console: im... Anatolij Gustschin
- [PATCH v8 05/10] video console: move vidconsole_ge... Dzmitry Sankouski
- [PATCH v8 10/10] video console: add 12x22 console ... Dzmitry Sankouski
- [PATCH v8 09/10] video console: sandbox: add 12x22... Dzmitry Sankouski
- [PATCH v8 08/10] video console: add 16x32 Terminus... Dzmitry Sankouski
- Re: [PATCH v8 00/10] vidconsole: refactoring and s... Anatolij Gustschin

