From patchwork Fri Mar 14 17:30:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 3834241 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3B8A79F387 for ; Fri, 14 Mar 2014 17:31:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2F122202A7 for ; Fri, 14 Mar 2014 17:31:41 +0000 (UTC) Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 188072012F for ; Fri, 14 Mar 2014 17:31:40 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2EHUa4d025362; Fri, 14 Mar 2014 12:30:37 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2EHUZMC000518; Fri, 14 Mar 2014 12:30:35 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Fri, 14 Mar 2014 12:30:35 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2EHUYMe020010; Fri, 14 Mar 2014 12:30:34 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 4697780627; Fri, 14 Mar 2014 11:30:34 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflxv17.itg.ti.com (dflxv17.itg.ti.com [128.247.5.93]) by linux.omap.com (Postfix) with ESMTP id 295D580626 for ; Fri, 14 Mar 2014 11:30:33 -0600 (CST) Received: from neches.ext.ti.com (neches.ext.ti.com [192.91.81.29]) by dflxv17.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2EHUXjm024322 for ; Fri, 14 Mar 2014 12:30:33 -0500 Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by neches.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2EHUW0m025780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 14 Mar 2014 12:30:32 -0500 Received: from [216.82.242.147:37913] by server-13.bemta-8.messagelabs.com id D3/D8-20975-8BC33235; Fri, 14 Mar 2014 17:30:32 +0000 X-Env-Sender: khilman@linaro.org X-Msg-Ref: server-13.tower-95.messagelabs.com!1394818230!18264851!1 X-Originating-IP: [209.85.220.48] X-SpamReason: No, hits=0.0 required=7.0 tests=UPPERCASE_25_50 X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 10905 invoked from network); 14 Mar 2014 17:30:31 -0000 Received: from mail-pa0-f48.google.com (HELO mail-pa0-f48.google.com) (209.85.220.48) by server-13.tower-95.messagelabs.com with RC4-SHA encrypted SMTP; 14 Mar 2014 17:30:31 -0000 Received: by mail-pa0-f48.google.com with SMTP id hz1so2929374pad.35 for ; Fri, 14 Mar 2014 10:30:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=09JQbYtUpbF7lKgc2BfAg0H/w7b7oYJYOwWeo27wCx8=; b=m4S7mXlNSuUsXaieRAPpuCxwIfBQtCey4BU6bUtzTs5fxaPAKEL8g2Lzu2/fUmORlx VdKC6xpbfDQURCrgersp/ZMmuRZy/0zjvriRDGDlS7SyPJfSMHt5FJ5ADqdmj39aE0In ma8oiTuPFkdvwo8jGXTAdQmZu79CNEzqzVzQCvGuLG5rm1DvnTo1ouWMBailO+JLqUOY ZIjXrUW+4bI8FVFsri9UBgU/IXSsx1S/B3pd0B4ILT+f2r/0RuXS+85I03cPz82YhOaO 0CmPA2Jxq/wLFR1wmThP/JuNc5PgfsCDElpDmX5Gb/mMbh3kBOcaR/wAdLJ8aGu0D7hX kKYQ== X-Gm-Message-State: ALoCoQmb8NIUuHojwunsDyEBK5QQxxOnQ240ok7tIYmcQQJ4Rqju2DVU76WMHGC5xlxE3eLnQxYq X-Received: by 10.68.242.68 with SMTP id wo4mr10444136pbc.32.1394818230036; Fri, 14 Mar 2014 10:30:30 -0700 (PDT) Received: from localhost (c-24-19-7-36.hsd1.wa.comcast.net. [24.19.7.36]) by mx.google.com with ESMTPSA id oa3sm18495827pbb.15.2014.03.14.10.30.29 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 14 Mar 2014 10:30:29 -0700 (PDT) From: Kevin Hilman To: Sekhar Nori , Subject: [PATCH] ARM: davinci: fix DT booting with default defconfig Date: Fri, 14 Mar 2014 10:30:28 -0700 Message-ID: <1394818228-1846-1-git-send-email-khilman@linaro.org> X-Mailer: git-send-email 1.8.3 CC: , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Davinci boards tend to have older booloaders without DTB support. Enable appended DTB support by default to allow DT booting on older platforms. While there, also enable /proc/device-tree support for easy verification of DT boot. Signed-off-by: Kevin Hilman Acked-by: Sekhar Nori --- Sekhar, this applies on top of your latest defconfig cleanup queued for v3.15 and validated with DT and legacy boot on DA850 EVM. arch/arm/configs/davinci_all_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig index fff4eb6f62c2..2df72ffb09a2 100644 --- a/arch/arm/configs/davinci_all_defconfig +++ b/arch/arm/configs/davinci_all_defconfig @@ -40,6 +40,8 @@ CONFIG_LEDS=y CONFIG_USE_OF=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 +CONFIG_ARM_APPENDED_DTB=y +CONFIG_ARM_ATAG_DTB_COMPAT=y CONFIG_AUTO_ZRELADDR=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y @@ -70,6 +72,7 @@ CONFIG_MTD_CFI_AMDSTD=m CONFIG_MTD_PHYSMAP=m CONFIG_MTD_NAND=m CONFIG_MTD_NAND_DAVINCI=m +CONFIG_PROC_DEVICETREE=y CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=1