mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
lcd: add functions to set up simplefb device tree
simple-framebuffer is a new device tree binding that describes a pre- configured frame-buffer memory region and its format. The Linux kernel contains a driver that supports this binding. Implement functions to create a DT node (or fill in an existing node) with parameters that describe the framebuffer format that U-Boot is using. This will be immediately used by the Raspberry Pi board in U-Boot, and likely will be used by the Samsung ARM ChromeBook support soon too. It could well be used by many other boards (e.g. Tegra boards with built-in LCD panels, which aren't yet supported by the Linux kernel). Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Anatolij Gustschin
parent
db0d47dd43
commit
6a195d2d8a
@@ -324,6 +324,9 @@ void lcd_show_board_info(void);
|
||||
/* Return the size of the LCD frame buffer, and the line length */
|
||||
int lcd_get_size(int *line_length);
|
||||
|
||||
int lcd_dt_simplefb_add_node(void *blob);
|
||||
int lcd_dt_simplefb_enable_existing_node(void *blob);
|
||||
|
||||
/************************************************************************/
|
||||
/* ** BITMAP DISPLAY SUPPORT */
|
||||
/************************************************************************/
|
||||
|
Reference in New Issue
Block a user