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: 3834271 Return-Path: X-Original-To: patchwork-linux-arm@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 92E1C9F2BB for ; Fri, 14 Mar 2014 17:39:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8EEDC20320 for ; Fri, 14 Mar 2014 17:39:37 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8567920304 for ; Fri, 14 Mar 2014 17:39:36 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOW4b-0005HW-3V; Fri, 14 Mar 2014 17:39:09 +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-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=IrUQGp0JoWDroc0TzW6MYJ4VZkEPrtkPE0XjH1udJ60Axctu3jck+FtMaN2btgmJGZ NHvRTT3Vl9PQ0tCzWIixApSg8Ba0ZjXuRnNOk+1Mj9+3DDwCEX5C0T5iT5BiBtZepZhh i7BJjDcQ59Myd04jeZKovsoH9rxQN74XLjty1q/OhotzLuy0w8VN0vOUJKbUFG17FhYF b6S7eH7gR++B2s9yACtXEaoBwLDZp7aH5gj8YIQ6hMzNDC2grk0/QwkIQCTn1b+14mAX sl/mk5E9/ooUtFfVqQoPDUV8TaXBAPSKmRs33kBKzOXk7UueXc/c4WXPc18wn45A7RoV Iwmg== X-Gm-Message-State: ALoCoQkf1pcmQyVRkY0gJbYlgdwFYsXy3AQAzglZSJkRDYfac5wQPm2y9Woh+hwB9+SXN9m2WhyM 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 (--) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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