summaryrefslogtreecommitdiff
path: root/common/fdt_support.c
diff options
context:
space:
mode:
authorTom Wai-Hong Tam <waihong@chromium.org>2012-12-05 14:46:41 +0000
committerTom Rini <trini@ti.com>2012-12-11 13:17:35 -0700
commit096eb3f59b4b9bd002028a632fa02caafd634aa8 (patch)
tree4203c9e71dcf8ca8c6a974c34e04ad1e08ede15a /common/fdt_support.c
parent735987c5a85b7e249903248f2ec85b467afa3de8 (diff)
downloadu-boot-imx-096eb3f59b4b9bd002028a632fa02caafd634aa8.zip
u-boot-imx-096eb3f59b4b9bd002028a632fa02caafd634aa8.tar.gz
u-boot-imx-096eb3f59b4b9bd002028a632fa02caafd634aa8.tar.bz2
fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined
This function can be used for LCDs as well as monitors. Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/fdt_support.c')
-rw-r--r--common/fdt_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 963ea90..6b9fa05 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -1315,7 +1315,7 @@ int fdt_set_status_by_alias(void *fdt, const char* alias,
return fdt_set_node_status(fdt, offset, status, error_code);
}
-#if defined(CONFIG_VIDEO)
+#if defined(CONFIG_VIDEO) || defined(CONFIG_LCD)
int fdt_add_edid(void *blob, const char *compat, unsigned char *edid_buf)
{
int noff;