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: 26276 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BC06C20143 for ; Fri, 14 Mar 2014 17:40:05 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id p10sf6306502pdj.7 for ; Fri, 14 Mar 2014 10:40:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=4Wl1ZyBLW82FxtELfRHjSSIgWWblIqtMhX7olHe4cis=; b=JnWietVDtTYyBoy4LGVXWPDEnGllTVeXjPBRF+o2yQIDOstK9cxPGREbQMmWJwUpqO AldQ3sgrsBg5hdX1C5XgnzD+LylWOtfch0g6qdGDFm5NwkzuwhH4XtYf2HiEkMn7Pc9y lJOsL7mJcNbunYiXIIuLKiI1UIDb9sK9IaJHPvtR3UDnP2AqUtZe6ydb8hZO2n7injUj jipvb+5m7X0pyK0+9qWH/NE9gdYJNvYSVIxfZPZfHYAMc0Pu0GTTRLqUE6cS4qm2s7Wo CzKvYdYvUOqZqiUG66ZUIQQ65ocsozAps8l9Q+MYnREVyKDhXdxBLXN7KqPVTAHyR2iL L3Mg== X-Gm-Message-State: ALoCoQlfIvpjgi8SE7f7rGE3QfqdJhSgHSzXj3ljvvgkyZFJoM+4vfqkUofhH2PnKfzFJx1/UfeT X-Received: by 10.66.158.6 with SMTP id wq6mr3633275pab.39.1394818804900; Fri, 14 Mar 2014 10:40:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.130 with SMTP id u2ls777868qga.34.gmail; Fri, 14 Mar 2014 10:40:04 -0700 (PDT) X-Received: by 10.58.94.195 with SMTP id de3mr130259veb.39.1394818804759; Fri, 14 Mar 2014 10:40:04 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id x3si2327756vcn.84.2014.03.14.10.40.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Mar 2014 10:40:04 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id db12so3105774veb.10 for ; Fri, 14 Mar 2014 10:40:04 -0700 (PDT) X-Received: by 10.221.29.137 with SMTP id ry9mr7352237vcb.6.1394818804668; Fri, 14 Mar 2014 10:40:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp38479vck; Fri, 14 Mar 2014 10:40:04 -0700 (PDT) X-Received: by 10.180.211.208 with SMTP id ne16mr7154574wic.21.1394818803786; Fri, 14 Mar 2014 10:40:03 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id bv7si4185616wib.31.2014.03.14.10.40.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Mar 2014 10:40:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOW4Z-0005HV-Ol; Fri, 14 Mar 2014 17:39:07 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOW4R-0003Jc-Ce; Fri, 14 Mar 2014 17:38:59 +0000 Received: from mail-pb0-f44.google.com ([209.85.160.44]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOW4L-0003Hx-DV for linux-arm-kernel@lists.infradead.org; Fri, 14 Mar 2014 17:38:54 +0000 Received: by mail-pb0-f44.google.com with SMTP id rp16so2922990pbb.3 for ; Fri, 14 Mar 2014 10:38:31 -0700 (PDT) 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 , davinci-linux-open-source@linux.davincidsp.com 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140314_133853_597539_AF30ADDA X-CRM114-Status: UNSURE ( 7.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.44 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: khilman@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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