5 menu "Graphics support"
8 bool "Enable driver model support for LCD/video"
11 This enables driver model for LCD and video devices. These support
12 a bitmap display of various sizes and depths which can be drawn on
13 to display a command-line console or splash screen. Enabling this
14 option compiles in the video uclass and routes all LCD/video access
20 bool "4 x 6 font size"
22 Font for video console driver, 4 x 6 pixels.
23 Provides character bitmap data in header file.
24 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
26 config VIDEO_FONT_8X16
27 bool "8 x 16 font size"
30 Font for video console driver, 8 x 16 pixels
31 Provides character bitmap data in header file.
32 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
34 config VIDEO_FONT_SUN12X22
35 bool "12 x 22 font size"
37 Font for video console driver, 12 x 22 pixels
38 Provides character bitmap data in header file.
39 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
41 config VIDEO_FONT_16X32
42 bool "16 x 32 font size"
44 Font for video console driver, 16 x 32 pixels
45 Provides character bitmap data in header file.
46 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
49 bool "Show the U-Boot logo on the display"
50 default y if !SPLASH_SCREEN
53 This enables showing the U-Boot logo on the display when a video
54 device is probed. It appears at the top right. The logo itself is at
55 tools/logos/u-boot_logo.bmp and looks best when the display has a
59 bool "Enable panel backlight uclass support"
62 This provides backlight uclass driver that enables basic panel
65 config VIDEO_PCI_DEFAULT_FB_SIZE
66 hex "Default framebuffer size to use if no drivers request it"
67 default 0x1000000 if X86
68 default 0x800000 if !X86 && VIDEO_BOCHS
69 default 0 if !X86 && !VIDEO_BOCHS
71 Generally, video drivers request the amount of memory they need for
72 the frame buffer when they are bound, by setting the size field in
73 struct video_uc_plat. That memory is then reserved for use after
74 relocation. But PCI drivers cannot be bound before relocation unless
75 they are mentioned in the devicetree.
77 With this value set appropriately, it is possible for PCI video
78 devices to have a framebuffer allocated by U-Boot.
80 Note: the framebuffer needs to be large enough to store all pixels at
81 maximum resolution. For example, at 2560 x 1600 with 32 bits per
82 pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed.
85 bool "Enable copying the frame buffer to a hardware copy"
87 On some machines (e.g. x86), reading from the frame buffer is very
88 slow because it is uncached. To improve performance, this feature
89 allows the frame buffer to be kept in cached memory (allocated by
90 U-Boot) and then copied to the hardware frame-buffer as needed.
92 To use this, your video driver must set @copy_base in
96 bool "Generic PWM based Backlight Driver"
97 depends on BACKLIGHT && DM_PWM
100 If you have a LCD backlight adjustable by PWM, say Y to enable
102 This driver can be use with "simple-panel" and
103 it understands the standard device tree
104 (leds/backlight/pwm-backlight.txt)
106 config BACKLIGHT_GPIO
107 bool "Generic GPIO based Backlight Driver"
110 If you have a LCD backlight adjustable by GPIO, say Y to enable
112 This driver can be used with "simple-panel" and
113 it understands the standard device tree
114 (leds/backlight/gpio-backlight.txt)
117 bool "Support 8-bit-per-pixel displays"
120 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
121 Enabling this will include code to support this display. Without
122 this option, such displays will not be supported and console output
126 bool "Support 16-bit-per-pixel displays"
129 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
130 Enabling this will include code to support this display. Without
131 this option, such displays will not be supported and console output
135 bool "Support 32-bit-per-pixel displays"
138 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
139 Enabling this will include code to support this display. Without
140 this option, such displays will not be supported and console output
144 bool "Support ANSI escape sequences in video console"
145 default y if EFI_LOADER
147 Enable ANSI escape sequence decoding for a more fully functional
148 console. Functionality includes changing the text colour and moving
149 the cursor. These date from the 1970s and are still widely used today
150 to control a text terminal. U-Boot implements these by decoding the
151 sequences and performing the appropriate operation.
153 config VIDEO_MIPI_DSI
154 bool "Support MIPI DSI interface"
156 Support MIPI DSI interface for driving a MIPI compatible device.
157 The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
158 serial interface between a host processor and a display module.
160 config CONSOLE_NORMAL
161 bool "Support a simple text console"
164 Support drawing text on the frame buffer console so that it can be
165 used as a console. Rotation is not supported by this driver (see
166 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
169 config CONSOLE_ROTATION
170 bool "Support rotated displays"
172 Sometimes, for example if the display is mounted in portrait
173 mode or even if it's mounted landscape but rotated by 180degree,
174 we need to rotate our content of the display relative to the
175 framebuffer, so that user can read the messages which are
176 printed out. Enable this option to include a text driver which can
177 support this. The rotation is set by the 'rot' parameter in
178 struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
179 degrees, 3=270 degrees.
181 config CONSOLE_TRUETYPE
182 bool "Support a console that uses TrueType fonts"
183 select CMD_SELECT_FONT
185 TrueTrype fonts can provide outline-drawing capability rather than
186 needing to provide a bitmap for each font and size that is needed.
187 With this option you can adjust the text size and use a variety of
188 fonts. Note that this is noticeably slower than with normal console.
190 config CONSOLE_TRUETYPE_SIZE
191 int "TrueType font size"
192 depends on CONSOLE_TRUETYPE
195 This sets the font size for the console. The size is measured in
196 pixels and is the nominal height of a character. Note that fonts
197 are commonly measured in 'points', being 1/72 inch (about 3.52mm).
198 However that measurement depends on the size of your display and
199 there is no standard display density. At present there is not a
200 method to select the display's physical size, which would allow
201 U-Boot to calculate the correct font size.
203 config CONSOLE_TRUETYPE_MAX_METRICS
204 int "TrueType maximum number of font / size combinations"
205 depends on CONSOLE_TRUETYPE
209 This sets the number of font / size combinations which can be used by
210 the console. For simple console use a single font is enough. When
211 boot menus are in use, this may need to be increased.
213 Note that a separate entry is needed for each font size, even if the
214 font itself is the same. This is because the entry caches various
215 font metrics which are expensive to regenerate each time the font
218 config SYS_WHITE_ON_BLACK
219 bool "Display console as white on a black background"
220 default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
222 Normally the display is black on a white background, Enable this
223 option to invert this, i.e. white on a black background. This can be
224 better in low-light situations or to reduce eye strain in some
228 bool "Skip framebuffer clear"
230 If firmware (whatever loads u-boot) has already put a splash image
231 on screen, you might want to preserve it until whatever u-boot
232 loads takes over the screen. This, for example, can be used to
233 keep splash image on screen until grub graphical boot menu starts.
236 bool "Enable panel uclass support"
239 This provides panel uclass driver that enables basic panel support.
242 bool "Enable simple panel support"
243 depends on PANEL && BACKLIGHT && DM_GPIO
246 This turns on a simple panel driver that enables a compatible
250 bool "Enable Himax HX-8238D LCD driver"
253 Support for HX-8238D LCD Panel
254 The HX8238-D is a single chip controller and driver LSI that
255 integrates the power circuit.
256 It can drive a maximum 960x240 dot graphics on a-TFT panel
257 displays in 16M colors with dithering.
259 source "drivers/video/fonts/Kconfig"
261 config VIDCONSOLE_AS_LCD
262 bool "Use 'vidconsole' when CONFIG_VIDCONSOLE_AS_NAME string is seen in stdout"
264 This is a work-around for boards which have 'lcd' or 'vga' in their
265 stdout environment variable, but have moved to use driver model for
266 video. In this case the console will no-longer work. While it is
267 possible to update the environment, the breakage may be confusing for
268 users. This option will be removed around the end of 2020.
270 config VIDCONSOLE_AS_NAME
271 string "Use 'vidconsole' when string defined here is seen in stdout"
272 depends on VIDCONSOLE_AS_LCD
273 default "lcd" if LCD || TEGRA_COMMON
274 default "vga" if !LCD
276 This is a work-around for boards which have 'lcd' or 'vga' in their
277 stdout environment variable, but have moved to use driver model for
278 video. In this case the console will no-longer work. While it is
279 possible to update the environment, the breakage may be confusing for
280 users. This option will be removed around the end of 2020.
283 bool "Enable Bochs video emulation for QEMU"
285 Enable this to use the Bochs video support provided in the QEMU
286 emulator. This appears as a PCI device which U-Boot can set up to
287 provide a frame buffer.
291 config VIDEO_BOCHS_SIZE_X
292 int "Width of display (X resolution)"
295 Sets the width of the display.
297 These two options control the size of the display set up by QEMU.
298 Typical sizes are 1024 x 768 or 1280 x 1024.
300 config VIDEO_BOCHS_SIZE_Y
301 int "High of display (Y resolution)"
304 Sets the height of the display.
306 These two options control the size of the display set up by QEMU.
307 Typical sizes are 1024 x 768 or 1280 x 1024.
311 config VIDEO_COREBOOT
312 bool "Enable coreboot framebuffer driver support"
315 Turn on this option to enable a framebuffer driver when U-Boot is
316 loaded by coreboot where the graphics device is configured by
317 coreboot already. This can in principle be used with any platform
318 that coreboot supports.
321 bool "Enable EFI framebuffer driver support"
322 depends on EFI_STUB || EFI_APP
324 Turn on this option to enable a framebuffeer driver when U-Boot is
325 loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
326 the graphics device is configured by the EFI BIOS already. This can
327 in principle be used with any platform that has an EFI BIOS.
330 bool "Enable VESA video driver support"
332 Turn on this option to enable a very simple driver which uses vesa
333 to discover the video mode and then provides a frame buffer for use
334 by U-Boot. This can in principle be used with any platform that
335 supports PCI and video cards that support VESA BIOS Extension (VBE).
337 config FRAMEBUFFER_SET_VESA_MODE
338 bool "Set framebuffer graphics resolution"
339 depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
341 Set VESA/native framebuffer mode (needed for bootsplash and graphical
345 prompt "framebuffer graphics resolution"
346 default FRAMEBUFFER_VESA_MODE_118
347 depends on FRAMEBUFFER_SET_VESA_MODE
349 This option sets the resolution used for the U-Boot framebuffer (and
352 config FRAMEBUFFER_VESA_MODE_100
353 bool "640x400 256-color"
355 config FRAMEBUFFER_VESA_MODE_101
356 bool "640x480 256-color"
358 config FRAMEBUFFER_VESA_MODE_102
359 bool "800x600 16-color"
361 config FRAMEBUFFER_VESA_MODE_103
362 bool "800x600 256-color"
364 config FRAMEBUFFER_VESA_MODE_104
365 bool "1024x768 16-color"
367 config FRAMEBUFFER_VESA_MODE_105
368 bool "1024x768 256-color"
370 config FRAMEBUFFER_VESA_MODE_106
371 bool "1280x1024 16-color"
373 config FRAMEBUFFER_VESA_MODE_107
374 bool "1280x1024 256-color"
376 config FRAMEBUFFER_VESA_MODE_108
379 config FRAMEBUFFER_VESA_MODE_109
382 config FRAMEBUFFER_VESA_MODE_10A
385 config FRAMEBUFFER_VESA_MODE_10B
388 config FRAMEBUFFER_VESA_MODE_10C
391 config FRAMEBUFFER_VESA_MODE_10D
392 bool "320x200 32k-color (1:5:5:5)"
394 config FRAMEBUFFER_VESA_MODE_10E
395 bool "320x200 64k-color (5:6:5)"
397 config FRAMEBUFFER_VESA_MODE_10F
398 bool "320x200 16.8M-color (8:8:8)"
400 config FRAMEBUFFER_VESA_MODE_110
401 bool "640x480 32k-color (1:5:5:5)"
403 config FRAMEBUFFER_VESA_MODE_111
404 bool "640x480 64k-color (5:6:5)"
406 config FRAMEBUFFER_VESA_MODE_112
407 bool "640x480 16.8M-color (8:8:8)"
409 config FRAMEBUFFER_VESA_MODE_113
410 bool "800x600 32k-color (1:5:5:5)"
412 config FRAMEBUFFER_VESA_MODE_114
413 bool "800x600 64k-color (5:6:5)"
415 config FRAMEBUFFER_VESA_MODE_115
416 bool "800x600 16.8M-color (8:8:8)"
418 config FRAMEBUFFER_VESA_MODE_116
419 bool "1024x768 32k-color (1:5:5:5)"
421 config FRAMEBUFFER_VESA_MODE_117
422 bool "1024x768 64k-color (5:6:5)"
424 config FRAMEBUFFER_VESA_MODE_118
425 bool "1024x768 16.8M-color (8:8:8)"
427 config FRAMEBUFFER_VESA_MODE_119
428 bool "1280x1024 32k-color (1:5:5:5)"
430 config FRAMEBUFFER_VESA_MODE_11A
431 bool "1280x1024 64k-color (5:6:5)"
433 config FRAMEBUFFER_VESA_MODE_11B
434 bool "1280x1024 16.8M-color (8:8:8)"
436 config FRAMEBUFFER_VESA_MODE_USER
437 bool "Manually select VESA mode"
441 # Map the config names to an integer (KB).
442 config FRAMEBUFFER_VESA_MODE
443 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
445 default 0x100 if FRAMEBUFFER_VESA_MODE_100
446 default 0x101 if FRAMEBUFFER_VESA_MODE_101
447 default 0x102 if FRAMEBUFFER_VESA_MODE_102
448 default 0x103 if FRAMEBUFFER_VESA_MODE_103
449 default 0x104 if FRAMEBUFFER_VESA_MODE_104
450 default 0x105 if FRAMEBUFFER_VESA_MODE_105
451 default 0x106 if FRAMEBUFFER_VESA_MODE_106
452 default 0x107 if FRAMEBUFFER_VESA_MODE_107
453 default 0x108 if FRAMEBUFFER_VESA_MODE_108
454 default 0x109 if FRAMEBUFFER_VESA_MODE_109
455 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
456 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
457 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
458 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
459 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
460 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
461 default 0x110 if FRAMEBUFFER_VESA_MODE_110
462 default 0x111 if FRAMEBUFFER_VESA_MODE_111
463 default 0x112 if FRAMEBUFFER_VESA_MODE_112
464 default 0x113 if FRAMEBUFFER_VESA_MODE_113
465 default 0x114 if FRAMEBUFFER_VESA_MODE_114
466 default 0x115 if FRAMEBUFFER_VESA_MODE_115
467 default 0x116 if FRAMEBUFFER_VESA_MODE_116
468 default 0x117 if FRAMEBUFFER_VESA_MODE_117
469 default 0x118 if FRAMEBUFFER_VESA_MODE_118
470 default 0x119 if FRAMEBUFFER_VESA_MODE_119
471 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
472 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
473 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
475 config VIDEO_LCD_ANX9804
476 bool "ANX9804 bridge chip"
478 Support for the ANX9804 bridge chip, which can take pixel data coming
479 from a parallel LCD interface and translate it on the fy into a DP
480 interface for driving eDP TFT displays. It uses I2C for configuration.
483 bool "Atmel LCD panel support"
486 config ATMEL_LCD_BGR555
487 bool "Display in BGR555 mode"
489 Use the BGR555 output mode. Otherwise RGB565 is used.
492 bool "Display support for BCM2835"
494 The graphics processor already sets up the display so this driver
495 simply checks the resolution and then sets up the frame buffer with
496 that same resolution (or as near as possible) and 32bpp depth, so
497 that U-Boot can access it with full colour depth.
499 config VIDEO_LCD_ENDEAVORU
500 tristate "Endeavoru 720x1280 DSI video mode panel"
501 depends on PANEL && BACKLIGHT
502 select VIDEO_MIPI_DSI
504 Say Y here if you want to enable support for the IPS-LCD panel
505 module for HTC One X. Driver supports a family of panels,
506 made at least by 3 vendors (Sharp, Sony and AUO), but set up
507 using the same DSI command sequence. The panel has a 720x1280
508 resolution and uses 24 bit RGB per pixel.
510 config VIDEO_LCD_HIMAX_HX8394
511 bool "Himax HX8394 DSI LCD panel support"
512 depends on PANEL && BACKLIGHT
513 select VIDEO_MIPI_DSI
515 Say Y here if you want to enable support for Himax HX8394
518 config VIDEO_LCD_ORISETECH_OTM8009A
519 bool "OTM8009A DSI LCD panel support"
520 select VIDEO_MIPI_DSI
522 Say Y here if you want to enable support for Orise Technology
523 otm8009a 480x800 dsi 2dl panel.
525 config VIDEO_LCD_RAYDIUM_RM68200
526 bool "RM68200 DSI LCD panel support"
527 select VIDEO_MIPI_DSI
529 Say Y here if you want to enable support for Raydium RM68200
530 720x1280 DSI video mode panel.
532 config VIDEO_LCD_RENESAS_R61307
533 tristate "Renesas R61307 DSI video mode panel"
534 depends on PANEL && BACKLIGHT
535 select VIDEO_MIPI_DSI
537 Say Y here if you want to enable support for KOE tx13d100vm0eaa
538 IPS-LCD module with Renesas R69328 IC. The panel has a 1024x768
539 resolution and uses 24 bit RGB per pixel.
541 config VIDEO_LCD_RENESAS_R69328
542 tristate "Renesas R69328 720x1280 DSI video mode panel"
543 depends on PANEL && BACKLIGHT
544 select VIDEO_MIPI_DSI
546 Say Y here if you want to enable support for JDI dx12d100vm0eaa
547 IPS-LCD module with Renesas R69328 IC. The panel has a 720x1280
548 resolution and uses 24 bit RGB per pixel.
550 config VIDEO_LCD_SSD2828
551 bool "SSD2828 bridge chip"
553 Support for the SSD2828 bridge chip, which can take pixel data coming
554 from a parallel LCD interface and translate it on the fly into MIPI DSI
555 interface for driving a MIPI compatible LCD panel. It uses SPI for
558 config VIDEO_LCD_SSD2828_TX_CLK
559 int "SSD2828 TX_CLK frequency (in MHz)"
560 depends on VIDEO_LCD_SSD2828
563 The frequency of the crystal, which is clocking SSD2828. It may be
564 anything in the 8MHz-30MHz range and the exact value should be
565 retrieved from the board schematics. Or in the case of Allwinner
566 hardware, it can be usually found as 'lcd_xtal_freq' variable in
567 FEX files. It can be also set to 0 for selecting PCLK from the
568 parallel LCD interface instead of TX_CLK as the PLL clock source.
570 config VIDEO_LCD_SSD2828_RESET
571 string "RESET pin of SSD2828"
572 depends on VIDEO_LCD_SSD2828
575 The reset pin of SSD2828 chip. This takes a string in the format
576 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
578 config VIDEO_LCD_TDO_TL070WSH30
579 bool "TDO TL070WSH30 DSI LCD panel support"
580 select VIDEO_MIPI_DSI
582 Say Y here if you want to enable support for TDO TL070WSH30
583 1024x600 DSI video mode panel.
585 config VIDEO_LCD_HITACHI_TX18D42VM
586 bool "Hitachi tx18d42vm LVDS LCD panel support"
588 Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
589 lcd controller which needs to be initialized over SPI, once that is
590 done they work like a regular LVDS panel.
592 config VIDEO_LCD_SPI_CS
593 string "SPI CS pin for LCD related config job"
594 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
597 This is one of the SPI communication pins, involved in setting up a
598 working LCD configuration. The exact role of SPI may differ for
599 different hardware setups. The option takes a string in the format
600 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
602 config VIDEO_LCD_SPI_SCLK
603 string "SPI SCLK pin for LCD related config job"
604 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
607 This is one of the SPI communication pins, involved in setting up a
608 working LCD configuration. The exact role of SPI may differ for
609 different hardware setups. The option takes a string in the format
610 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
612 config VIDEO_LCD_SPI_MOSI
613 string "SPI MOSI pin for LCD related config job"
614 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
617 This is one of the SPI communication pins, involved in setting up a
618 working LCD configuration. The exact role of SPI may differ for
619 different hardware setups. The option takes a string in the format
620 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
622 config VIDEO_LCD_SPI_MISO
623 string "SPI MISO pin for LCD related config job (optional)"
624 depends on VIDEO_LCD_SSD2828
627 This is one of the SPI communication pins, involved in setting up a
628 working LCD configuration. The exact role of SPI may differ for
629 different hardware setups. If wired up, this pin may provide additional
630 useful functionality. Such as bi-directional communication with the
631 hardware and LCD panel id retrieval (if the panel can report it). The
632 option takes a string in the format understood by 'sunxi_name_to_gpio'
633 function, e.g. PH1 for pin 1 of port H.
635 source "drivers/video/meson/Kconfig"
638 bool "Armada XP LCD controller"
640 Support for the LCD controller integrated in the Marvell
644 bool "Enable OMAP3+ DSS Support"
645 depends on ARCH_OMAP2PLUS
647 This enables the Display subsystem (DSS) on OMAP3+ boards.
650 bool "Enable EDID library"
652 This enables library for accessing EDID data from an LCD panel.
655 bool "Enable Display support"
659 This supports drivers that provide a display, such as eDP (Embedded
660 DisplayPort) and HDMI (High Definition Multimedia Interface).
661 The devices provide a simple interface to start up the display,
662 read display information and enable it.
665 bool "Enable NXP TDA19988 support"
668 This enables support for the NXP TDA19988 HDMI encoder. This encoder
669 will convert RGB data streams into HDMI-encoded signals.
672 bool "Enable ATMEL video support using HLCDC"
674 HLCDC supports video output to an attached LCD panel.
676 config BACKLIGHT_LM3533
677 bool "Backlight Driver for LM3533"
681 Say Y to enable the backlight driver for National Semiconductor / TI
682 LM3533 Lighting Power chip. Only Bank A is supported as for now.
683 Supported backlight level range is from 2 to 255 with step of 1.
685 source "drivers/video/ti/Kconfig"
687 source "drivers/video/exynos/Kconfig"
689 config LOGICORE_DP_TX
690 bool "Enable Logicore DP TX driver"
693 Enable the driver for the transmitter part of the Xilinx LogiCORE
694 DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
695 video interface as defined by VESA DisplayPort v1.2.
697 Note that this is a pure transmitter device, and has no display
698 capabilities by itself.
700 config VIDEO_BROADWELL_IGD
701 bool "Enable Intel Broadwell integrated graphics device"
704 This enables support for integrated graphics on Intel broadwell
705 devices. Initialisation is mostly performed by a VGA boot ROM, with
706 some setup handled by U-Boot itself. The graphics adaptor works as
707 a VESA device and supports LCD panels, eDP and LVDS outputs.
708 Configuration of most aspects of device operation is performed using
709 a special tool which configures the VGA ROM, but the graphics
710 resolution can be selected in U-Boot.
712 config VIDEO_IVYBRIDGE_IGD
713 bool "Enable Intel Ivybridge integration graphics support"
716 This enables support for integrated graphics on Intel ivybridge
717 devices. Initialisation is mostly performed by a VGA boot ROM, with
718 some setup handled by U-Boot itself. The graphics adaptor works as
719 a VESA device and supports LCD panels, eDP and LVDS outputs.
720 Configuration of most aspects of device operation is performed using
721 a special tool which configures the VGA ROM, but the graphics
722 resolution can be selected in U-Boot.
724 source "drivers/video/rockchip/Kconfig"
726 config VIDEO_ARM_MALIDP
727 bool "Enable Arm Mali Display Processor support"
728 depends on OF_CONTROL
731 This enables support for Arm Ltd Mali Display Processors from
732 the DP500, DP550 and DP650 family.
734 config VIDEO_SANDBOX_SDL
735 bool "Enable sandbox video console using SDL"
736 depends on SANDBOX_SDL
738 When using sandbox you can enable an emulated LCD display which
739 appears as an SDL (Simple DirectMedia Layer) window. This is a
740 console device and can display stdout output. Within U-Boot is is
741 a normal bitmap display and can display images as well as text.
743 source "drivers/video/stm32/Kconfig"
745 source "drivers/video/tidss/Kconfig"
747 config VIDEO_TEGRA124
748 bool "Enable video support on Tegra124"
750 Tegra124 supports many video output options including eDP and
751 HDMI. At present only eDP is supported by U-Boot. This option
752 enables this support which can be used on devices which
753 have an eDP display connected.
755 source "drivers/video/bridge/Kconfig"
757 source "drivers/video/tegra20/Kconfig"
759 source "drivers/video/imx/Kconfig"
762 bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs"
764 Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors
767 bool "Enable video support on Nexell SoC"
768 depends on ARCH_S5P6818 || ARCH_S5P4418
770 Nexell SoC supports many video output options including eDP and
771 HDMI. This option enables this support which can be used on devices
772 which have an eDP display connected.
775 bool "Enable video support for Seps525"
778 Enable support for the Syncoam PM-OLED display driver (RGB 160x128).
779 Currently driver is supporting only SPI interface.
781 source "drivers/video/zynqmp/Kconfig"
782 source "drivers/video/nexell/Kconfig"
784 config CONSOLE_SCROLL_LINES
785 int "Number of lines to scroll the console by"
788 When the console need to be scrolled, this is the number of
789 lines to scroll by. It defaults to 1. Increasing this makes the
790 console jump but can help speed up operation when scrolling
796 Enables the common driver code for the Designware HDMI TX
797 block found in SoCs from various vendors.
798 As this does not provide any functionality by itself (but
799 rather requires a SoC-specific glue driver to call it), it
800 can not be enabled from the configuration menu.
802 config VIDEO_DSI_HOST_SANDBOX
803 bool "Enable sandbox for dsi host"
805 select VIDEO_MIPI_DSI
807 Enable support for sandbox dsi host device used for testing
809 Display Serial Interface (DSI) defines a serial bus and
810 a communication protocol between the host and the device
813 config VIDEO_DW_MIPI_DSI
815 select VIDEO_MIPI_DSI
817 Enables the common driver code for the Synopsis Designware
818 MIPI DSI block found in SoCs from various vendors.
819 As this does not provide any functionality by itself (but
820 rather requires a SoC-specific glue driver to call it), it
821 can not be enabled from the configuration menu.
824 bool "Simple display driver for preconfigured display"
826 Enables a simple generic display driver which utilizes the
827 simple-framebuffer devicetree bindings.
829 This driver assumes that the display hardware has been initialized
830 before u-boot starts, and u-boot will simply render to the pre-
831 allocated frame buffer surface.
833 config VIDEO_DT_SIMPLEFB
834 bool "Enable SimpleFB support for passing framebuffer to OS"
836 Enables the code to pass the framebuffer to the kernel as a
837 simple framebuffer in the device tree.
838 The video output is initialized by U-Boot, and kept by the
841 config VIDEO_MCDE_SIMPLE
842 bool "Simple driver for ST-Ericsson MCDE with preconfigured display"
844 Enables a simple display driver for ST-Ericsson MCDE
845 (Multichannel Display Engine), which reads the configuration from
848 This driver assumes that the display hardware has been initialized
849 before u-boot starts, and u-boot will simply render to the pre-
850 allocated frame buffer surface.
853 bool "Enable OSD support"
856 This supports drivers that provide a OSD (on-screen display), which
857 is a (usually text-oriented) graphics buffer to show information on
861 bool "Enable sandbox OSD"
864 Enable support for sandbox OSD device used for testing purposes.
867 bool "Enable IHS video out driver"
870 Enable support for the gdsys Integrated Hardware Systems (IHS) video
871 out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
872 textual overlays of the display outputs.
875 bool "Remove video driver"
877 Use this option to specify if user wants to call remove method of
878 video driver in u-boot proper stage.
881 bool "Show a splash-screen image"
883 If this option is set, the environment is checked for a variable
884 "splashimage". If found, the usual display of logo, copyright and
885 system information on the LCD is suppressed and the BMP image at the
886 address specified in "splashimage" is loaded instead. The console is
887 redirected to the "nulldev", too. This allows for a "silent" boot
888 where a splash screen is loaded very quickly after power-on.
890 The splash_screen_prepare() function is a weak function defined in
891 common/splash.c. It is called as part of the splash screen display
892 sequence. It gives the board an opportunity to prepare the splash
893 image data before it is processed and sent to the frame buffer by
894 U-Boot. Define your own version to use this feature.
898 config SPLASH_SCREEN_ALIGN
899 bool "Allow positioning the splash image anywhere on the display"
901 If this option is set the splash image can be freely positioned
902 on the screen. Environment variable "splashpos" specifies the
903 position as "x,y". If a positive number is given it is used as
904 number of pixel from left/top. If a negative number is given it
905 is used as number of pixel from right/bottom. You can also
906 specify 'm' for centering the image.
910 => image at center of screen
912 setenv splashpos 30,20
913 => image at x = 30 and y = 20
915 setenv splashpos -10,m
916 => vertically centered image
917 at x = dspWidth - bmpWidth - 9
919 config HIDE_LOGO_VERSION
920 bool "Hide the version information on the splash screen"
922 Normally the U-Boot version string is shown on the display when the
923 splash screen is enabled. This information is not otherwise visible
924 since video starts up after U-Boot has displayed the initial banner.
926 Enable this option to hide this information.
929 bool "Control the source of the splash image"
931 Use the splash_source.c library. This library provides facilities to
932 declare board specific splash image locations, routines for loading
933 splash image from supported locations, and a way of controlling the
934 selected splash location using the "splashsource" environment
937 This CONFIG works as follows:
939 - If splashsource is set to a supported location name as defined by
940 board code, use that splash location.
941 - If splashsource is undefined, use the first splash location as
943 - If splashsource is set to an unsupported value, do not load a splash
946 A splash source location can describe either storage with raw data, a
947 storage formatted with a file system or a FIT image. In case of a
948 filesystem, the splash screen data is loaded as a file. The name of
949 the splash screen file can be controlled with the environment variable
952 To enable loading the splash image from a FIT image, CONFIG_FIT must
953 be enabled. The FIT image has to start at the 'offset' field address
954 in the selected splash location. The name of splash image within the
955 FIT shall be specified by the environment variable "splashfile".
957 In case the environment variable "splashfile" is not defined the
958 default name 'splash.bmp' will be used.
960 endif # SPLASH_SCREEN
962 config VIDEO_BMP_GZIP
963 bool "Gzip compressed BMP image support"
964 depends on BMP || SPLASH_SCREEN
966 If this option is set, additionally to standard BMP
967 images, gzipped BMP images can be displayed via the
968 splashscreen support or the bmp command.
970 config VIDEO_LOGO_MAX_SIZE
971 hex "Maximum size of the bitmap logo in bytes"
974 Sets the maximum uncompressed size of the logo. This is needed when
975 decompressing a BMP file using the gzip algorithm, since it cannot
976 read the size from the bitmap header.
978 config VIDEO_BMP_RLE8
979 bool "Run length encoded BMP image (RLE8) support"
981 If this option is set, the 8-bit RLE compressed BMP images
985 bool "16-bit-per-pixel BMP image support"
987 Support display of bitmaps file with 16-bit-per-pixel
990 bool "24-bit-per-pixel BMP image support"
992 Support display of bitmaps file with 24-bit-per-pixel.
995 bool "32-bit-per-pixel BMP image support"
997 Support display of bitmaps file with 32-bit-per-pixel.
1002 bool "Enable driver model support for LCD/video in SPL"
1005 The video subsystem adds a small amount of overhead to the image.
1006 If this is acceptable and you have a need to use video drivers in
1007 SPL, enable this option. It might provide a cleaner interface to
1008 setting up video within SPL, and allows the same drivers to be
1009 used as U-Boot proper.
1012 source "drivers/video/tidss/Kconfig"
1014 config SPL_VIDEO_HANDOFF
1015 bool "Pass the video frame-buffer through to U-Boot proper"
1016 depends on SPL_BLOBLIST
1019 Enable this to set up video-handoff information in SPL which can be
1020 picked up in U-Boot proper. This includes the frame buffer and
1021 various other pieces of information. With this enabled, SPL can set
1022 up video and avoid re-initing it later.
1024 config SPL_VIDEO_LOGO
1025 bool "Show the U-Boot logo on the display at SPL"
1026 default y if !SPL_SPLASH_SCREEN
1027 select SPL_VIDEO_BMP_RLE8
1029 This enables showing the U-Boot logo on the display when a video
1030 device is probed. It appears at the top right. The logo itself is at
1031 tools/logos/u-boot_logo.bmp and looks best when the display has a
1034 config SPL_SPLASH_SCREEN
1035 bool "Show a splash-screen image at SPL"
1037 If this option is set, the environment is checked for a variable
1038 "splashimage" at spl stage.
1040 config SPL_SYS_WHITE_ON_BLACK
1041 bool "Display console as white on a black background at SPL"
1043 Normally the display is black on a white background, Enable this
1044 option to invert this, i.e. white on a black background at spl stage.
1045 This can be better in low-light situations or to reduce eye strain in
1048 config SPL_VIDEO_PCI_DEFAULT_FB_SIZE
1049 hex "Default framebuffer size to use if no drivers request it at SPL"
1050 default 0x1000000 if X86
1051 default 0x800000 if !X86 && VIDEO_BOCHS
1052 default 0 if !X86 && !VIDEO_BOCHS
1054 Generally, video drivers request the amount of memory they need for
1055 the frame buffer when they are bound, by setting the size field in
1056 struct video_uc_plat. That memory is then reserved for use after
1057 relocation. But PCI drivers cannot be bound before relocation unless
1058 they are mentioned in the devicetree.
1060 With this value set appropriately, it is possible for PCI video
1061 devices to have a framebuffer allocated by U-Boot.
1063 Note: the framebuffer needs to be large enough to store all pixels at
1064 maximum resolution. For example, at 2560 x 1600 with 32 bits per
1065 pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed.
1067 config SPL_CONSOLE_SCROLL_LINES
1068 int "Number of lines to scroll the console by at SPL"
1071 When the console need to be scrolled, this is the number of
1072 lines to scroll by. It defaults to 1. Increasing this makes the
1073 console jump but can help speed up operation when scrolling
1076 config SPL_CONSOLE_NORMAL
1077 bool "Support a simple text console at SPL"
1080 Support drawing text on the frame buffer console so that it can be
1081 used as a console. Rotation is not supported by this driver (see
1082 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
1085 config SPL_BACKLIGHT
1086 bool "Enable panel backlight uclass support at SPL"
1089 This provides backlight uclass driver that enables basic panel
1093 bool "Enable panel uclass support at SPL"
1096 This provides panel uclass driver that enables basic panel support.
1098 config SPL_SIMPLE_PANEL
1099 bool "Enable simple panel support at SPL"
1100 depends on SPL_PANEL && SPL_BACKLIGHT && SPL_DM_GPIO
1103 This turns on a simple panel driver that enables a compatible
1106 config SPL_SYS_WHITE_ON_BLACK
1107 bool "Display console as white on a black background at SPL"
1109 Normally the display is black on a white background, Enable this
1110 option to invert this, i.e. white on a black background at spl stage.
1111 This can be better in low-light situations or to reduce eye strain in
1114 config SPL_VIDEO_REMOVE
1115 bool "Remove video driver after SPL stage"
1117 if this option is enabled video driver will be removed at the end of
1118 SPL stage, before loading the next stage.
1120 if SPL_SPLASH_SCREEN
1122 config SPL_SPLASH_SCREEN_ALIGN
1123 bool "Allow positioning the splash image anywhere on the display at SPL"
1125 If this option is set the splash image can be freely positioned
1126 on the screen only at SPL. Environment variable "splashpos" specifies
1127 the position as "x,y". If a positive number is given it is used as
1128 number of pixel from left/top. If a negative number is given it
1129 is used as number of pixel from right/bottom.
1131 config SPL_SPLASH_SOURCE
1132 bool "Control the source of the splash image at SPL"
1134 Use the splash_source.c library. This library provides facilities to
1135 declare board specific splash image locations, routines for loading
1136 splash image from supported locations, and a way of controlling the
1137 selected splash location using the "splashsource" environment
1140 This CONFIG works as follows:
1142 - If splashsource is set to a supported location name as defined by
1143 board code, use that splash location.
1144 - If splashsource is undefined, use the first splash location as
1146 - If splashsource is set to an unsupported value, do not load a splash
1149 A splash source location can describe either storage with raw data, a
1150 storage formatted with a file system or a FIT image. In case of a
1151 filesystem, the splash screen data is loaded as a file. The name of
1152 the splash screen file can be controlled with the environment variable
1155 To enable loading the splash image from a FIT image, CONFIG_FIT must
1156 be enabled. The FIT image has to start at the 'offset' field address
1157 in the selected splash location. The name of splash image within the
1158 FIT shall be specified by the environment variable "splashfile".
1160 In case the environment variable "splashfile" is not defined the
1161 default name 'splash.bmp' will be used.
1163 endif # SPL_SPLASH_SCREEN
1165 config SPL_VIDEO_BMP_GZIP
1166 bool "Gzip compressed BMP image support at SPL"
1167 depends on SPL_SPLASH_SCREEN || SPL_BMP
1169 If this option is set, additionally to standard BMP
1170 images, gzipped BMP images can be displayed via the
1171 splashscreen supportat SPL stage.
1173 config SPL_VIDEO_LOGO_MAX_SIZE
1174 hex "Maximum size of the bitmap logo in bytes at SPL"
1177 Sets the maximum uncompressed size of the logo. This is needed when
1178 decompressing a BMP file using the gzip algorithm, since it cannot
1179 read the size from the bitmap header.
1181 config SPL_VIDEO_BMP_RLE8
1182 bool "Run length encoded BMP image (RLE8) support at SPL"
1184 If this option is set, the 8-bit RLE compressed BMP images
1187 config SPL_BMP_16BPP
1188 bool "16-bit-per-pixel BMP image support at SPL"
1190 Support display of bitmaps file with 16-bit-per-pixel
1192 config SPL_BMP_24BPP
1193 bool "24-bit-per-pixel BMP image support at SPL"
1195 Support display of bitmaps file with 24-bit-per-pixel.
1197 config SPL_BMP_32BPP
1198 bool "32-bit-per-pixel BMP image support at SPL"
1200 Support display of bitmaps file with 32-bit-per-pixel.
1202 config SPL_VIDEO_BPP8
1203 bool "Support 8-bit-per-pixel displays at SPL"
1206 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
1207 Enabling this will include code to support this display. Without
1208 this option, such displays will not be supported and console output
1211 config SPL_VIDEO_BPP16
1212 bool "Support 16-bit-per-pixel displays at SPL"
1215 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
1216 Enabling this will include code to support this display. Without
1217 this option, such displays will not be supported and console output
1220 config SPL_VIDEO_BPP32
1221 bool "Support 32-bit-per-pixel displays at SPL"
1224 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
1225 Enabling this will include code to support this display. Without
1226 this option, such displays will not be supported and console output
1229 config SPL_HIDE_LOGO_VERSION
1230 bool "Hide the version information on the splash screen at SPL"
1232 Normally the U-Boot version string is shown on the display when the
1233 splash screen is enabled. This information is not otherwise visible
1234 since video starts up after U-Boot has displayed the initial banner.
1236 Enable this option to hide this information.