From: Tom Wai-Hong Tam Date: Wed, 5 Dec 2012 14:46:41 +0000 (+0000) Subject: fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=096eb3f59b4b9bd002028a632fa02caafd634aa8;p=u-boot.git 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 Signed-off-by: Simon Glass --- diff --git a/common/fdt_support.c b/common/fdt_support.c index 963ea90234..6b9fa0550f 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;