Thread (1 message) 1 message, 1 author, 2012-11-03
DORMANTno replies

[PATCH 12/17] fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined

From: Simon Glass <hidden>
Date: 2012-11-03 00:27:28
Also in: u-boot
Subsystem: the rest · Maintainer: Linus Torvalds

From: Tom Wai-Hong Tam <redacted>

This function can be used for LCDs as well as monitors.

Signed-off-by: Tom Wai-Hong Tam <redacted>
Signed-off-by: Simon Glass <redacted>
---
 common/fdt_support.c |    2 +-
 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;
-- 
1.7.7.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help