Fix build error introduced in beca5a5f5bf0d88125580e5e9c1730469cd50ab8

common/libcommon.a(fdt_support.o): In function `fdt_add_edid':
/local/hudson/jobs/mirrors-u-boot.git/workspace/common/fdt_support.c:1205: 
undefined reference to `fdt_increase_size'
make: *** [u-boot] Error 1

Signed-off-by: Matthew McClintock <m...@freescale.com>
---
 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 9b65a8a..cb0ad3b 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -1190,7 +1190,7 @@ int fdt_alloc_phandle(void *blob)
        return phandle + 1;
 }
 
-#if defined(CONFIG_VIDEO)
+#if defined(CONFIG_VIDEO) && defined(CONFIG_FDT_FIXUP_PARTITIONS)
 int fdt_add_edid(void *blob, const char *compat, unsigned char *edid_buf)
 {
        int noff;
-- 
1.6.6.1


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to