summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-02-27 13:26:19 -0700
committerSimon Glass <sjg@chromium.org>2014-03-17 20:05:49 -0600
commit7d95f2a329c964b54cf505503a61e8fd4f12e2a3 (patch)
tree7ecc983e7c875edf0a9c5cdc7a12138bfa621fe4 /lib/fdtdec.c
parentc34c0246a3600dc4712247b267f71576234e403b (diff)
downloadu-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 'lib/fdtdec.c')
-rw-r--r--lib/fdtdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index e0b8927..f65ab4f 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -62,6 +62,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(INFINEON_SLB9645_TPM, "infineon,slb9645-tpm"),
COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"),
COMPAT(SANDBOX_HOST_EMULATION, "sandbox,host-emulation"),
+ COMPAT(SANDBOX_LCD_SDL, "sandbox,lcd-sdl"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)