From patchwork Sat Jan 5 01:51:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 209607 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 EBFBB2C0085 for ; Sat, 5 Jan 2013 12:58:57 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E5C124A155; Sat, 5 Jan 2013 02:58:38 +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 KtfbwB5e8Yr1; Sat, 5 Jan 2013 02:58:38 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3B2084A0BB; Sat, 5 Jan 2013 02:56:58 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C8F864A0B7 for ; Sat, 5 Jan 2013 02:56:50 +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 teGDuium5Adl for ; Sat, 5 Jan 2013 02:56:50 +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-fa0-f73.google.com (mail-fa0-f73.google.com [209.85.161.73]) by theia.denx.de (Postfix) with ESMTPS id 2DF844A048 for ; Sat, 5 Jan 2013 02:56:38 +0100 (CET) Received: by mail-fa0-f73.google.com with SMTP id v1so1064784fav.2 for ; Fri, 04 Jan 2013 17:56:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=Oif0m1/bgYld1YJXx/c5HQPw/B2S1Aqvnh0GxFlOChY=; b=M8K0Nb+R3AavSJfGAb/obYmLfL8Ir5Hz4u3tZpSm7N8LEunTbQ8cf4CbyuuH/Cq53s oi62PqmjmkJuw3LWhB32lVmQVMdCmlnDsH0aUZiVRq/LBjNslTfhLmi0nKBhl39teDsZ QwA/eksNzgUj/Z/pgkVzRIr6oZPg96Nebzi4rqvaFVdmgrZ3+p3VouLvAmuqYB18HM7F oEG2kEmu34VV5vXqXYh3hDY2oCcK1sgp+PaQFAjIAek0G3gsCHIvtUk4DYC+9IB4A5vS /iqqCtECPRw/MZZVBIOXP1JYM+IP27Bi3y2P0CmMU2BZ72qod1y5Wk0kTYUFPmEURITf LqSg== X-Received: by 10.14.0.196 with SMTP id 44mr69169353eeb.6.1357350998346; Fri, 04 Jan 2013 17:56:38 -0800 (PST) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id z44si19167149een.0.2013.01.04.17.56.38 (version=TLSv1/SSLv3 cipher=AES128-SHA); Fri, 04 Jan 2013 17:56:38 -0800 (PST) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id F3E4B200065; Fri, 4 Jan 2013 17:56:37 -0800 (PST) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id B2029160F7C; Fri, 4 Jan 2013 17:56:37 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Date: Fri, 4 Jan 2013 17:51:53 -0800 Message-Id: <1357350734-13737-25-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1357350734-13737-1-git-send-email-sjg@chromium.org> References: <1357350734-13737-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQllukAqEI2YF6V7krNh4JTf+kq+czs0iqkmRqDPN7AW9CADCFiXsQNt4pSuy0l/JsGa+bBFnSQHlZN7WcsvXdXPJ9G/F2C2WuWn/61BkAtfjxP5cgfK4wp+Sk9MbINhvRfG4B8S2RaphjiNlalqj1OPGdmYMhx5QwMBD3b9nglVv1VG9SWmP8IjREK+vO8pxtBsqSEz Cc: Joel A Fernandes , Tom Rini , Vadim Bendebury , =?UTF-8?q?Andreas=20B=C3=A4ck?= Subject: [U-Boot] [RFC PATCH 24/44] Revert "fdt- Tell the FDT library where the device tree is" 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 This reverts commit 3b73459ea3421e9f8c6c8c62e1d3fe458ca5bc56. In practice it doesn't seem like a good idea to make the the working FDT point to the control FDT. Now that we can access the control FDT using the 'fdt' command, there is no need for this feature. Remove it. Signed-off-by: Simon Glass --- common/main.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/common/main.c b/common/main.c index 5d8454e..bbc3be6 100644 --- a/common/main.c +++ b/common/main.c @@ -45,10 +45,6 @@ #include #endif -#ifdef CONFIG_OF_LIBFDT -#include -#endif /* CONFIG_OF_LIBFDT */ - #include #include #include @@ -500,10 +496,6 @@ void main_loop (void) #endif /* CONFIG_MENUKEY */ #endif /* CONFIG_BOOTDELAY */ -#if defined CONFIG_OF_CONTROL - set_working_fdt_addr((void *)gd->fdt_blob); -#endif /* CONFIG_OF_CONTROL */ - /* * Main Loop for Monitor Command Processing */