sandbox: Add LCD driver
authorSimon Glass <sjg@chromium.org>
Thu, 27 Feb 2014 20:26:19 +0000 (13:26 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Mar 2014 02:05:49 +0000 (20:05 -0600)
commit7d95f2a329c964b54cf505503a61e8fd4f12e2a3
tree7ecc983e7c875edf0a9c5cdc7a12138bfa621fe4
parentc34c0246a3600dc4712247b267f71576234e403b
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>
12 files changed:
arch/sandbox/cpu/start.c
arch/sandbox/include/asm/state.h
arch/sandbox/include/asm/u-boot-sandbox.h
board/sandbox/sandbox/sandbox.c
common/lcd.c
doc/device-tree-bindings/video/sandbox-fb.txt [new file with mode: 0644]
drivers/serial/sandbox.c
drivers/video/Makefile
drivers/video/sandbox_sdl.c [new file with mode: 0644]
include/fdtdec.h
include/lcd.h
lib/fdtdec.c