From patchwork Thu Nov 22 19:12:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 201146 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id F2D392C008A for ; Fri, 23 Nov 2012 06:16:39 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0A1474A12E; Thu, 22 Nov 2012 20:16:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id emF92f4NPdaW; Thu, 22 Nov 2012 20:16:30 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BAFEB4A04E; Thu, 22 Nov 2012 20:15:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 09AB14A08E for ; Thu, 22 Nov 2012 20:15:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4zfpb9m9giOH for ; Thu, 22 Nov 2012 20:15:00 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-gh0-f202.google.com (mail-gh0-f202.google.com [209.85.160.202]) by theia.denx.de (Postfix) with ESMTPS id 6B73F4A037 for ; Thu, 22 Nov 2012 20:14:47 +0100 (CET) Received: by mail-gh0-f202.google.com with SMTP id z10so713574ghb.3 for ; Thu, 22 Nov 2012 11:14:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=zYd++3xPqExlawGaOc7OFmRKVNx6mh0Iiiliwwxf+tQ=; b=LJJ+EvqJMS8+9f2QSs/8vmnYBesdamrFNzvJSkBMKVGSktwE8lMKjJQF76S3SFNW3X PVYCHGV98u6iWGu3kSSOQo9rKZQweKImpPUzhJOhOG2+g1S2REC8AEXutEh6RcpIR3kE 1si3BUiW37JGPXbKlJdE3hR7jI3sOEOz178ghbiysLZ7x/qmsNi2w1aOrZZIJqPLdNsG KjIUfemsInL9D+BH61d8A5hAehK9edodIpK6HyXRHSSQiDLYOGdNvE85LWVRXaX0+juc 3TumTU2y88O8WXEqHaJd4mCW6S+6YsKcRH0yO6bzu9IGqTAgPPRt4k4SIJvPc3Zq6btC LonQ== Received: by 10.236.82.202 with SMTP id o50mr830419yhe.30.1353611686790; Thu, 22 Nov 2012 11:14:46 -0800 (PST) Received: from wpzn3.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id i7si279362yhj.6.2012.11.22.11.14.46 (version=TLSv1/SSLv3 cipher=AES128-SHA); Thu, 22 Nov 2012 11:14:46 -0800 (PST) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id 9DB33100047; Thu, 22 Nov 2012 11:14:46 -0800 (PST) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 7C74E160CFB; Thu, 22 Nov 2012 11:14:46 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Date: Thu, 22 Nov 2012 11:12:59 -0800 Message-Id: <1353611587-18186-16-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1353611587-18186-1-git-send-email-sjg@chromium.org> References: <1353611587-18186-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQl55pjuzQAOaYz36qHldvnbeM/WQSx6PO12Qx1Se8dCBwSqoU+fRWaEKsMVl24+4W/gzEJgjitVppzK+NM7VdgGj8kuXnvsR1pH/JHgimCihOP9ihSVOUXn4kYXsCcC/QCfmAeEUvTFUhYRhD73b1OBe5+M4jSi2ZTgHWLl35WqCa4jbUQkeasaayWduacKRZRm2HYB Cc: Tom Rini , Jerry Van Baren , Devicetree Discuss Subject: [U-Boot] [PATCH v2 15/23] fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Tom Wai-Hong Tam This function can be used for LCDs as well as monitors. Signed-off-by: Tom Wai-Hong Tam Signed-off-by: Simon Glass --- Changes in v2: None 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;