Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694
  1. #
  2. # Video configuration
  3. #
  4. menu "Graphics support"
  5. config DM_VIDEO
  6. bool "Enable driver model support for LCD/video"
  7. depends on DM
  8. help
  9. This enables driver model for LCD and video devices. These support
  10. a bitmap display of various sizes and depths which can be drawn on
  11. to display a command-line console or splash screen. Enabling this
  12. option compiles in the video uclass and routes all LCD/video access
  13. through this.
  14. config BACKLIGHT_PWM
  15. bool "Generic PWM based Backlight Driver"
  16. depends on DM_VIDEO && DM_PWM
  17. default y
  18. help
  19. If you have a LCD backlight adjustable by PWM, say Y to enable
  20. this driver.
  21. This driver can be use with "simple-panel" and
  22. it understands the standard device tree
  23. (leds/backlight/pwm-backlight.txt)
  24. config BACKLIGHT_GPIO
  25. bool "Generic GPIO based Backlight Driver"
  26. depends on DM_VIDEO
  27. help
  28. If you have a LCD backlight adjustable by GPIO, say Y to enable
  29. this driver.
  30. This driver can be used with "simple-panel" and
  31. it understands the standard device tree
  32. (leds/backlight/gpio-backlight.txt)
  33. config VIDEO_BPP8
  34. bool "Support 8-bit-per-pixel displays"
  35. depends on DM_VIDEO
  36. default y if DM_VIDEO
  37. help
  38. Support drawing text and bitmaps onto a 8-bit-per-pixel display.
  39. Enabling this will include code to support this display. Without
  40. this option, such displays will not be supported and console output
  41. will be empty.
  42. config VIDEO_BPP16
  43. bool "Support 16-bit-per-pixel displays"
  44. depends on DM_VIDEO
  45. default y if DM_VIDEO
  46. help
  47. Support drawing text and bitmaps onto a 16-bit-per-pixel display.
  48. Enabling this will include code to support this display. Without
  49. this option, such displays will not be supported and console output
  50. will be empty.
  51. config VIDEO_BPP32
  52. bool "Support 32-bit-per-pixel displays"
  53. depends on DM_VIDEO
  54. default y if DM_VIDEO
  55. help
  56. Support drawing text and bitmaps onto a 32-bit-per-pixel display.
  57. Enabling this will include code to support this display. Without
  58. this option, such displays will not be supported and console output
  59. will be empty.
  60. config VIDEO_ANSI
  61. bool "Support ANSI escape sequences in video console"
  62. depends on DM_VIDEO
  63. default y if DM_VIDEO
  64. help
  65. Enable ANSI escape sequence decoding for a more fully functional
  66. console.
  67. config CONSOLE_NORMAL
  68. bool "Support a simple text console"
  69. depends on DM_VIDEO
  70. default y if DM_VIDEO
  71. help
  72. Support drawing text on the frame buffer console so that it can be
  73. used as a console. Rotation is not supported by this driver (see
  74. CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
  75. for the display.
  76. config CONSOLE_ROTATION
  77. bool "Support rotated displays"
  78. depends on DM_VIDEO
  79. help
  80. Sometimes, for example if the display is mounted in portrait
  81. mode or even if it's mounted landscape but rotated by 180degree,
  82. we need to rotate our content of the display relative to the
  83. framebuffer, so that user can read the messages which are
  84. printed out. Enable this option to include a text driver which can
  85. support this. The rotation is set by the 'rot' parameter in
  86. struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
  87. degrees, 3=270 degrees.
  88. config CONSOLE_TRUETYPE
  89. bool "Support a console that uses TrueType fonts"
  90. depends on DM_VIDEO
  91. help
  92. TrueTrype fonts can provide outline-drawing capability rather than
  93. needing to provide a bitmap for each font and size that is needed.
  94. With this option you can adjust the text size and use a variety of
  95. fonts. Note that this is noticeably slower than with normal console.
  96. config CONSOLE_TRUETYPE_SIZE
  97. int "TrueType font size"
  98. depends on CONSOLE_TRUETYPE
  99. default 18
  100. help
  101. This sets the font size for the console. The size is measured in
  102. pixels and is the nominal height of a character. Note that fonts
  103. are commonly measured in 'points', being 1/72 inch (about 3.52mm).
  104. However that measurement depends on the size of your display and
  105. there is no standard display density. At present there is not a
  106. method to select the display's physical size, which would allow
  107. U-Boot to calculate the correct font size.
  108. config SYS_WHITE_ON_BLACK
  109. bool "Display console as white on a black background"
  110. default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || TEGRA || X86
  111. help
  112. Normally the display is black on a white background, Enable this
  113. option to invert this, i.e. white on a black background. This can be
  114. better in low-light situations or to reduce eye strain in some
  115. cases.
  116. config NO_FB_CLEAR
  117. bool "Skip framebuffer clear"
  118. help
  119. If firmware (whatever loads u-boot) has already put a splash image
  120. on screen, you might want to preserve it until whatever u-boot
  121. loads takes over the screen. This, for example, can be used to
  122. keep splash image on screen until grub graphical boot menu starts.
  123. source "drivers/video/fonts/Kconfig"
  124. config VIDCONSOLE_AS_LCD
  125. bool "Use 'vidconsole' when 'lcd' is seen in stdout"
  126. depends on DM_VIDEO
  127. help
  128. This is a work-around for boards which have 'lcd' in their stdout
  129. environment variable, but have moved to use driver model for video.
  130. In this case the console will no-longer work. While it is possible
  131. to update the environment, the breakage may be confusing for users.
  132. This option will be removed around the end of 2016.
  133. config VIDEO_COREBOOT
  134. bool "Enable coreboot framebuffer driver support"
  135. depends on X86 && SYS_COREBOOT
  136. help
  137. Turn on this option to enable a framebuffer driver when U-Boot is
  138. loaded by coreboot where the graphics device is configured by
  139. coreboot already. This can in principle be used with any platform
  140. that coreboot supports.
  141. config VIDEO_EFI
  142. bool "Enable EFI framebuffer driver support"
  143. depends on EFI_STUB
  144. help
  145. Turn on this option to enable a framebuffeer driver when U-Boot is
  146. loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
  147. the graphics device is configured by the EFI BIOS already. This can
  148. in principle be used with any platform that has an EFI BIOS.
  149. config VIDEO_VESA
  150. bool "Enable VESA video driver support"
  151. default n
  152. help
  153. Turn on this option to enable a very simple driver which uses vesa
  154. to discover the video mode and then provides a frame buffer for use
  155. by U-Boot. This can in principle be used with any platform that
  156. supports PCI and video cards that support VESA BIOS Extension (VBE).
  157. config FRAMEBUFFER_SET_VESA_MODE
  158. bool "Set framebuffer graphics resolution"
  159. depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
  160. help
  161. Set VESA/native framebuffer mode (needed for bootsplash and graphical
  162. framebuffer console)
  163. choice
  164. prompt "framebuffer graphics resolution"
  165. default FRAMEBUFFER_VESA_MODE_118
  166. depends on FRAMEBUFFER_SET_VESA_MODE
  167. help
  168. This option sets the resolution used for the U-Boot framebuffer (and
  169. bootsplash screen).
  170. config FRAMEBUFFER_VESA_MODE_100
  171. bool "640x400 256-color"
  172. config FRAMEBUFFER_VESA_MODE_101
  173. bool "640x480 256-color"
  174. config FRAMEBUFFER_VESA_MODE_102
  175. bool "800x600 16-color"
  176. config FRAMEBUFFER_VESA_MODE_103
  177. bool "800x600 256-color"
  178. config FRAMEBUFFER_VESA_MODE_104
  179. bool "1024x768 16-color"
  180. config FRAMEBUFFER_VESA_MODE_105
  181. bool "1024x768 256-color"
  182. config FRAMEBUFFER_VESA_MODE_106
  183. bool "1280x1024 16-color"
  184. config FRAMEBUFFER_VESA_MODE_107
  185. bool "1280x1024 256-color"
  186. config FRAMEBUFFER_VESA_MODE_108
  187. bool "80x60 text"
  188. config FRAMEBUFFER_VESA_MODE_109
  189. bool "132x25 text"
  190. config FRAMEBUFFER_VESA_MODE_10A
  191. bool "132x43 text"
  192. config FRAMEBUFFER_VESA_MODE_10B
  193. bool "132x50 text"
  194. config FRAMEBUFFER_VESA_MODE_10C
  195. bool "132x60 text"
  196. config FRAMEBUFFER_VESA_MODE_10D
  197. bool "320x200 32k-color (1:5:5:5)"
  198. config FRAMEBUFFER_VESA_MODE_10E
  199. bool "320x200 64k-color (5:6:5)"
  200. config FRAMEBUFFER_VESA_MODE_10F
  201. bool "320x200 16.8M-color (8:8:8)"
  202. config FRAMEBUFFER_VESA_MODE_110
  203. bool "640x480 32k-color (1:5:5:5)"
  204. config FRAMEBUFFER_VESA_MODE_111
  205. bool "640x480 64k-color (5:6:5)"
  206. config FRAMEBUFFER_VESA_MODE_112
  207. bool "640x480 16.8M-color (8:8:8)"
  208. config FRAMEBUFFER_VESA_MODE_113
  209. bool "800x600 32k-color (1:5:5:5)"
  210. config FRAMEBUFFER_VESA_MODE_114
  211. bool "800x600 64k-color (5:6:5)"
  212. config FRAMEBUFFER_VESA_MODE_115
  213. bool "800x600 16.8M-color (8:8:8)"
  214. config FRAMEBUFFER_VESA_MODE_116
  215. bool "1024x768 32k-color (1:5:5:5)"
  216. config FRAMEBUFFER_VESA_MODE_117
  217. bool "1024x768 64k-color (5:6:5)"
  218. config FRAMEBUFFER_VESA_MODE_118
  219. bool "1024x768 16.8M-color (8:8:8)"
  220. config FRAMEBUFFER_VESA_MODE_119
  221. bool "1280x1024 32k-color (1:5:5:5)"
  222. config FRAMEBUFFER_VESA_MODE_11A
  223. bool "1280x1024 64k-color (5:6:5)"
  224. config FRAMEBUFFER_VESA_MODE_11B
  225. bool "1280x1024 16.8M-color (8:8:8)"
  226. config FRAMEBUFFER_VESA_MODE_USER
  227. bool "Manually select VESA mode"
  228. endchoice
  229. # Map the config names to an integer (KB).
  230. config FRAMEBUFFER_VESA_MODE
  231. prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
  232. hex
  233. default 0x100 if FRAMEBUFFER_VESA_MODE_100
  234. default 0x101 if FRAMEBUFFER_VESA_MODE_101
  235. default 0x102 if FRAMEBUFFER_VESA_MODE_102
  236. default 0x103 if FRAMEBUFFER_VESA_MODE_103
  237. default 0x104 if FRAMEBUFFER_VESA_MODE_104
  238. default 0x105 if FRAMEBUFFER_VESA_MODE_105
  239. default 0x106 if FRAMEBUFFER_VESA_MODE_106
  240. default 0x107 if FRAMEBUFFER_VESA_MODE_107
  241. default 0x108 if FRAMEBUFFER_VESA_MODE_108
  242. default 0x109 if FRAMEBUFFER_VESA_MODE_109
  243. default 0x10A if FRAMEBUFFER_VESA_MODE_10A
  244. default 0x10B if FRAMEBUFFER_VESA_MODE_10B
  245. default 0x10C if FRAMEBUFFER_VESA_MODE_10C
  246. default 0x10D if FRAMEBUFFER_VESA_MODE_10D
  247. default 0x10E if FRAMEBUFFER_VESA_MODE_10E
  248. default 0x10F if FRAMEBUFFER_VESA_MODE_10F
  249. default 0x110 if FRAMEBUFFER_VESA_MODE_110
  250. default 0x111 if FRAMEBUFFER_VESA_MODE_111
  251. default 0x112 if FRAMEBUFFER_VESA_MODE_112
  252. default 0x113 if FRAMEBUFFER_VESA_MODE_113
  253. default 0x114 if FRAMEBUFFER_VESA_MODE_114
  254. default 0x115 if FRAMEBUFFER_VESA_MODE_115
  255. default 0x116 if FRAMEBUFFER_VESA_MODE_116
  256. default 0x117 if FRAMEBUFFER_VESA_MODE_117
  257. default 0x118 if FRAMEBUFFER_VESA_MODE_118
  258. default 0x119 if FRAMEBUFFER_VESA_MODE_119
  259. default 0x11A if FRAMEBUFFER_VESA_MODE_11A
  260. default 0x11B if FRAMEBUFFER_VESA_MODE_11B
  261. default 0x117 if FRAMEBUFFER_VESA_MODE_USER
  262. config VIDEO_LCD_ANX9804
  263. bool "ANX9804 bridge chip"
  264. default n
  265. ---help---
  266. Support for the ANX9804 bridge chip, which can take pixel data coming
  267. from a parallel LCD interface and translate it on the fy into a DP
  268. interface for driving eDP TFT displays. It uses I2C for configuration.
  269. config VIDEO_LCD_SSD2828
  270. bool "SSD2828 bridge chip"
  271. default n
  272. ---help---
  273. Support for the SSD2828 bridge chip, which can take pixel data coming
  274. from a parallel LCD interface and translate it on the fly into MIPI DSI
  275. interface for driving a MIPI compatible LCD panel. It uses SPI for
  276. configuration.
  277. config VIDEO_LCD_SSD2828_TX_CLK
  278. int "SSD2828 TX_CLK frequency (in MHz)"
  279. depends on VIDEO_LCD_SSD2828
  280. default 0
  281. ---help---
  282. The frequency of the crystal, which is clocking SSD2828. It may be
  283. anything in the 8MHz-30MHz range and the exact value should be
  284. retrieved from the board schematics. Or in the case of Allwinner
  285. hardware, it can be usually found as 'lcd_xtal_freq' variable in
  286. FEX files. It can be also set to 0 for selecting PCLK from the
  287. parallel LCD interface instead of TX_CLK as the PLL clock source.
  288. config VIDEO_LCD_SSD2828_RESET
  289. string "RESET pin of SSD2828"
  290. depends on VIDEO_LCD_SSD2828
  291. default ""
  292. ---help---
  293. The reset pin of SSD2828 chip. This takes a string in the format
  294. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  295. config VIDEO_LCD_HITACHI_TX18D42VM
  296. bool "Hitachi tx18d42vm LVDS LCD panel support"
  297. depends on VIDEO
  298. default n
  299. ---help---
  300. Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
  301. lcd controller which needs to be initialized over SPI, once that is
  302. done they work like a regular LVDS panel.
  303. config VIDEO_LCD_SPI_CS
  304. string "SPI CS pin for LCD related config job"
  305. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  306. default ""
  307. ---help---
  308. This is one of the SPI communication pins, involved in setting up a
  309. working LCD configuration. The exact role of SPI may differ for
  310. different hardware setups. The option takes a string in the format
  311. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  312. config VIDEO_LCD_SPI_SCLK
  313. string "SPI SCLK pin for LCD related config job"
  314. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  315. default ""
  316. ---help---
  317. This is one of the SPI communication pins, involved in setting up a
  318. working LCD configuration. The exact role of SPI may differ for
  319. different hardware setups. The option takes a string in the format
  320. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  321. config VIDEO_LCD_SPI_MOSI
  322. string "SPI MOSI pin for LCD related config job"
  323. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  324. default ""
  325. ---help---
  326. This is one of the SPI communication pins, involved in setting up a
  327. working LCD configuration. The exact role of SPI may differ for
  328. different hardware setups. The option takes a string in the format
  329. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  330. config VIDEO_LCD_SPI_MISO
  331. string "SPI MISO pin for LCD related config job (optional)"
  332. depends on VIDEO_LCD_SSD2828
  333. default ""
  334. ---help---
  335. This is one of the SPI communication pins, involved in setting up a
  336. working LCD configuration. The exact role of SPI may differ for
  337. different hardware setups. If wired up, this pin may provide additional
  338. useful functionality. Such as bi-directional communication with the
  339. hardware and LCD panel id retrieval (if the panel can report it). The
  340. option takes a string in the format understood by 'name_to_gpio'
  341. function, e.g. PH1 for pin 1 of port H.
  342. config VIDEO_MVEBU
  343. bool "Armada XP LCD controller"
  344. default n
  345. ---help---
  346. Support for the LCD controller integrated in the Marvell
  347. Armada XP SoC.
  348. config VIDEO_OMAP3
  349. bool "Enable OMAP3+ DSS Support"
  350. depends on ARCH_OMAP2PLUS
  351. help
  352. This enables the Display subsystem (DSS) on OMAP3+ boards.
  353. config I2C_EDID
  354. bool "Enable EDID library"
  355. default n
  356. help
  357. This enables library for accessing EDID data from an LCD panel.
  358. config DISPLAY
  359. bool "Enable Display support"
  360. depends on DM
  361. default n
  362. select I2C_EDID
  363. help
  364. This supports drivers that provide a display, such as eDP (Embedded
  365. DisplayPort) and HDMI (High Definition Multimedia Interface).
  366. The devices provide a simple interface to start up the display,
  367. read display information and enable it.
  368. config ATMEL_HLCD
  369. bool "Enable ATMEL video support using HLCDC"
  370. depends on DM_VIDEO
  371. help
  372. HLCDC supports video output to an attached LCD panel.
  373. config LOGICORE_DP_TX
  374. bool "Enable Logicore DP TX driver"
  375. depends on DISPLAY
  376. help
  377. Enable the driver for the transmitter part of the Xilinx LogiCORE
  378. DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
  379. video interface as defined by VESA DisplayPort v1.2.
  380. Note that this is a pure transmitter device, and has no display
  381. capabilities by itself.
  382. config VIDEO_BROADWELL_IGD
  383. bool "Enable Intel Broadwell integrated graphics device"
  384. depends on X86
  385. help
  386. This enables support for integrated graphics on Intel broadwell
  387. devices. Initialisation is mostly performed by a VGA boot ROM, with
  388. some setup handled by U-Boot itself. The graphics adaptor works as
  389. a VESA device and supports LCD panels, eDP and LVDS outputs.
  390. Configuration of most aspects of device operation is performed using
  391. a special tool which configures the VGA ROM, but the graphics
  392. resolution can be selected in U-Boot.
  393. config VIDEO_IVYBRIDGE_IGD
  394. bool "Enable Intel Ivybridge integration graphics support"
  395. depends on X86
  396. help
  397. This enables support for integrated graphics on Intel ivybridge
  398. devices. Initialisation is mostly performed by a VGA boot ROM, with
  399. some setup handled by U-Boot itself. The graphics adaptor works as
  400. a VESA device and supports LCD panels, eDP and LVDS outputs.
  401. Configuration of most aspects of device operation is performed using
  402. a special tool which configures the VGA ROM, but the graphics
  403. resolution can be selected in U-Boot.
  404. config VIDEO_FSL_DCU_FB
  405. bool "Enable Freescale Display Control Unit"
  406. depends on VIDEO
  407. help
  408. This enables support for Freescale Display Control Unit (DCU4)
  409. module found on Freescale Vybrid and QorIQ family of SoCs.
  410. config VIDEO_FSL_DCU_MAX_FB_SIZE_MB
  411. int "Freescale DCU framebuffer size"
  412. depends on VIDEO_FSL_DCU_FB
  413. default 4194304
  414. help
  415. Set maximum framebuffer size to be used for Freescale Display
  416. Controller Unit (DCU4).
  417. source "drivers/video/rockchip/Kconfig"
  418. config VIDEO_SANDBOX_SDL
  419. bool "Enable sandbox video console using SDL"
  420. depends on SANDBOX
  421. help
  422. When using sandbox you can enable an emulated LCD display which
  423. appears as an SDL (Simple DirectMedia Layer) window. This is a
  424. console device and can display stdout output. Within U-Boot is is
  425. a normal bitmap display and can display images as well as text.
  426. source "drivers/video/stm32/Kconfig"
  427. config VIDEO_TEGRA20
  428. bool "Enable LCD support on Tegra20"
  429. depends on OF_CONTROL
  430. help
  431. Tegra20 supports video output to an attached LCD panel as well as
  432. other options such as HDMI. Only the LCD is supported in U-Boot.
  433. This option enables this support which can be used on devices which
  434. have an LCD display connected.
  435. config VIDEO_TEGRA124
  436. bool "Enable video support on Tegra124"
  437. depends on DM_VIDEO
  438. help
  439. Tegra124 supports many video output options including eDP and
  440. HDMI. At present only eDP is supported by U-Boot. This option
  441. enables this support which can be used on devices which
  442. have an eDP display connected.
  443. source "drivers/video/bridge/Kconfig"
  444. config VIDEO
  445. bool "Enable legacy video support"
  446. depends on !DM_VIDEO
  447. help
  448. Define this for video support, without using driver model. Some
  449. drivers use this because they are not yet converted to driver
  450. model. Video drivers typically provide a colour text console and
  451. cursor.
  452. config VIDEO_IPUV3
  453. bool "i.MX IPUv3 Core video support"
  454. depends on VIDEO && MX6
  455. help
  456. This enables framebuffer driver for i.MX processors working
  457. on the IPUv3(Image Processing Unit) internal graphic processor.
  458. config CFB_CONSOLE
  459. bool "Enable colour frame buffer console"
  460. depends on VIDEO
  461. default y if VIDEO
  462. help
  463. Enables the colour frame buffer driver. This supports colour
  464. output on a bitmap display from an in-memory frame buffer.
  465. Several colour devices are supported along with various options to
  466. adjust the supported features. The driver is implemented in
  467. cfb_console.c
  468. The following defines are needed (cf. smiLynxEM, i8042)
  469. VIDEO_FB_LITTLE_ENDIAN graphic memory organisation
  470. (default big endian)
  471. VIDEO_HW_RECTFILL graphic chip supports
  472. rectangle fill (cf. smiLynxEM)
  473. VIDEO_HW_BITBLT graphic chip supports
  474. bit-blit (cf. smiLynxEM)
  475. VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch)
  476. VIDEO_VISIBLE_ROWS visible pixel rows
  477. VIDEO_PIXEL_SIZE bytes per pixel
  478. VIDEO_DATA_FORMAT graphic data format
  479. (0-5, cf. cfb_console.c)
  480. VIDEO_FB_ADRS framebuffer address
  481. VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init())
  482. VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc)
  483. VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc)
  484. CONFIG_VIDEO_LOGO display Linux logo in upper left corner
  485. CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h
  486. for logo. Requires CONFIG_VIDEO_LOGO
  487. CONFIG_CONSOLE_EXTRA_INFO
  488. additional board info beside
  489. the logo
  490. CONFIG_HIDE_LOGO_VERSION
  491. do not display bootloader
  492. version string
  493. When CONFIG_CFB_CONSOLE is defined, the video console is the
  494. default console. The serial console can be forced by setting the
  495. environment 'console=serial'.
  496. config CFB_CONSOLE_ANSI
  497. bool "Support ANSI escape sequences"
  498. depends on CFB_CONSOLE
  499. help
  500. This allows the colour buffer frame buffer driver to support
  501. a limited number of ANSI escape sequences (cursor control,
  502. erase functions and limited graphics rendition control). Normal
  503. output from U-Boot will pass through this filter.
  504. config VGA_AS_SINGLE_DEVICE
  505. bool "Set the video as an output-only device"
  506. depends on CFB_CONSOLE
  507. default y
  508. help
  509. If enable the framebuffer device will be initialized as an
  510. output-only device. The Keyboard driver will not be set up. This
  511. may be used if you have no keyboard device, or more than one
  512. (USB Keyboard, AT Keyboard).
  513. config VIDEO_SW_CURSOR
  514. bool "Enable a software cursor"
  515. depends on CFB_CONSOLE
  516. default y if CFB_CONSOLE
  517. help
  518. This draws a cursor after the last character. No blinking is
  519. provided. This makes it possible to see the current cursor
  520. position when entering text on the console. It is recommended to
  521. enable this.
  522. config CONSOLE_EXTRA_INFO
  523. bool "Display additional board information"
  524. depends on CFB_CONSOLE
  525. help
  526. Display additional board information strings that normally go to
  527. the serial port. When this option is enabled, a board-specific
  528. function video_get_info_str() is called to get the string for
  529. each line of the display. The function should return the string,
  530. which can be empty if there is nothing to display for that line.
  531. config CONSOLE_SCROLL_LINES
  532. int "Number of lines to scroll the console by"
  533. depends on CFB_CONSOLE || DM_VIDEO || LCD
  534. default 1
  535. help
  536. When the console need to be scrolled, this is the number of
  537. lines to scroll by. It defaults to 1. Increasing this makes the
  538. console jump but can help speed up operation when scrolling
  539. is slow.
  540. config SYS_CONSOLE_BG_COL
  541. hex "Background colour"
  542. depends on CFB_CONSOLE
  543. default 0x00
  544. help
  545. Defines the background colour for the console. The value is from
  546. 0x00 to 0xff and the meaning depends on the graphics card.
  547. Typically, 0x00 means black and 0xff means white. Do not set
  548. the background and foreground to the same colour or you will see
  549. nothing.
  550. config SYS_CONSOLE_FG_COL
  551. hex "Foreground colour"
  552. depends on CFB_CONSOLE
  553. default 0xa0
  554. help
  555. Defines the foreground colour for the console. The value is from
  556. 0x00 to 0xff and the meaning depends on the graphics card.
  557. Typically, 0x00 means black and 0xff means white. Do not set
  558. the background and foreground to the same colour or you will see
  559. nothing.
  560. config LCD
  561. bool "Enable legacy LCD support"
  562. help
  563. Define this to enable LCD support (for output to LCD display).
  564. You will also need to select an LCD driver using an additional
  565. CONFIG option. See the README for details. Drives which have been
  566. converted to driver model will instead used CONFIG_DM_VIDEO.
  567. config VIDEO_DW_HDMI
  568. bool
  569. help
  570. Enables the common driver code for the Designware HDMI TX
  571. block found in SoCs from various vendors.
  572. As this does not provide any functionality by itself (but
  573. rather requires a SoC-specific glue driver to call it), it
  574. can not be enabled from the configuration menu.
  575. config VIDEO_SIMPLE
  576. bool "Simple display driver for preconfigured display"
  577. help
  578. Enables a simple generic display driver which utilizes the
  579. simple-framebuffer devicetree bindings.
  580. This driver assumes that the display hardware has been initialized
  581. before u-boot starts, and u-boot will simply render to the pre-
  582. allocated frame buffer surface.
  583. config VIDEO_DT_SIMPLEFB
  584. bool "Enable SimpleFB support for passing framebuffer to OS"
  585. help
  586. Enables the code to pass the framebuffer to the kernel as a
  587. simple framebuffer in the device tree.
  588. The video output is initialized by U-Boot, and kept by the
  589. kernel.
  590. config OSD
  591. bool "Enable OSD support"
  592. depends on DM
  593. default n
  594. help
  595. This supports drivers that provide a OSD (on-screen display), which
  596. is a (usually text-oriented) graphics buffer to show information on
  597. a display.
  598. endmenu