Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752622AbbHKR3N (ORCPT ); Tue, 11 Aug 2015 13:29:13 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:38587 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157AbbHKR3K (ORCPT ); Tue, 11 Aug 2015 13:29:10 -0400 Message-ID: <55CA3113.1010601@wwwdotorg.org> Date: Tue, 11 Aug 2015 11:29:55 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Lucas Stach CC: Simon Glass , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephen Warren , Russell King , Lee Jones , devicetree@vger.kernel.org, Kumar Gala , linux-kernel@vger.kernel.org, Ian Campbell , Rob Herring , linux-rpi-kernel@lists.infradead.org, Pawel Moll , Mark Rutland Subject: Re: [PATCH] arm: rpi: Device tree modifications for U-Boot References: <1439303153-12171-1-git-send-email-sjg@chromium.org> <1439312701.2451.3.camel@lynxeye.de> In-Reply-To: <1439312701.2451.3.camel@lynxeye.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1885 Lines: 51 On 08/11/2015 11:05 AM, Lucas Stach wrote: > Hi Simon, > > why did you send this to the Tegra ML? At my request, so that the DT changes could be reviewed by the kernel DT reviewers and added to the copy of the DT files in the kernel source tree if approved. My assertion is that DT content should be independent of SW stack. Or put another way, all SW stacks should use the same DT content. As such, if these properties are needed by U-Boot, and contained in the copy of the DT files in the U-Boot source tree, they should also be present in the copy of the DT files in the kernel source tree, so the two do not become out of sync. > Am Dienstag, den 11.08.2015, 08:25 -0600 schrieb Simon Glass: >> This updates the device tree from the kernel version to something suitable >> for U-Boot: >> >> - Add stdout-path alias for console >> - Mark the /soc node to be available pre-relocation so that the early >> serial console works (we need the 'ranges' property to be available) >> diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi >> index 301c73f..bd6bff6 100644 >> --- a/arch/arm/boot/dts/bcm2835.dtsi >> +++ b/arch/arm/boot/dts/bcm2835.dtsi >> @@ -8,6 +8,7 @@ >> >> chosen { >> bootargs = "earlyprintk console=ttyAMA0"; >> + stdout-path = &uart; >> }; >> >> soc { >> @@ -16,6 +17,7 @@ >> #size-cells = <1>; >> ranges = <0x7e000000 0x20000000 0x02000000>; >> dma-ranges = <0x40000000 0x00000000 0x20000000>; >> + u-boot,dm-pre-reloc; > > Why do you need this and why should upstream carry your favourite > bootloaders configuration? This is in no way hardware description. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/