diff options
author | Simon Glass <sjg@chromium.org> | 2014-02-27 13:26:19 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-03-17 20:05:49 -0600 |
commit | 7d95f2a329c964b54cf505503a61e8fd4f12e2a3 (patch) | |
tree | 7ecc983e7c875edf0a9c5cdc7a12138bfa621fe4 /include/lcd.h | |
parent | c34c0246a3600dc4712247b267f71576234e403b (diff) | |
download | u-boot-imx-7d95f2a329c964b54cf505503a61e8fd4f12e2a3.zip u-boot-imx-7d95f2a329c964b54cf505503a61e8fd4f12e2a3.tar.gz u-boot-imx-7d95f2a329c964b54cf505503a61e8fd4f12e2a3.tar.bz2 |
sandbox: Add LCD driver
Add a simple LCD driver which uses SDL to display the image. We update the
image regularly, while still providing for reasonable performance.
Adjust the common lcd code to support sandbox.
For command-line runs we do not want the LCD to be displayed, so add a
--show_lcd option to enable it.
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/lcd.h')
-rw-r--r-- | include/lcd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lcd.h b/include/lcd.h index d06d6f1..5f84cd3 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -313,6 +313,9 @@ int lcd_get_size(int *line_length); int lcd_dt_simplefb_add_node(void *blob); int lcd_dt_simplefb_enable_existing_node(void *blob); +/* Update the LCD / flush the cache */ +void lcd_sync(void); + /************************************************************************/ /* ** BITMAP DISPLAY SUPPORT */ /************************************************************************/ |