summaryrefslogtreecommitdiff
path: root/include/lcd.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2013-05-27 18:31:17 +0000
committerLiu Ying <Ying.Liu@freescale.com>2013-11-22 17:26:29 +0800
commit117aff41c20c5be6d8fb87dd293028aa4027dc74 (patch)
tree9e9934853da49a5649ebc356ad46a38237ac9027 /include/lcd.h
parent06020d87100f92b8efeed39e8dc55b79092302e4 (diff)
downloadu-boot-imx-117aff41c20c5be6d8fb87dd293028aa4027dc74.zip
u-boot-imx-117aff41c20c5be6d8fb87dd293028aa4027dc74.tar.gz
u-boot-imx-117aff41c20c5be6d8fb87dd293028aa4027dc74.tar.bz2
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> (cherry picked from commit 6a195d2d8a9c321817e1f034afcdc8c8642664bc) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 91403a3401cf35c1356d1a21b239e57a9843c3e9)
Diffstat (limited to 'include/lcd.h')
-rw-r--r--include/lcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lcd.h b/include/lcd.h
index 5744b88..747568d 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -377,6 +377,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 */
/************************************************************************/