From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755676AbbA0XKL (ORCPT ); Tue, 27 Jan 2015 18:10:11 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:55218 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754907AbbA0XKJ (ORCPT ); Tue, 27 Jan 2015 18:10:09 -0500 Date: Wed, 28 Jan 2015 00:10:07 +0100 From: Pavel Machek To: Nicolas Pitre Cc: Russell King - ARM Linux , Pali =?iso-8859-1?Q?Roh=E1r?= , Rob Herring , Will Deacon , Ivaylo Dimitrov , Sebastian Reichel , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Tony Lindgren Subject: Re: [PATCH] ARM: /proc/atags: Export also for DT Message-ID: <20150127231007.GA27641@amd> References: <1403110464-29646-1-git-send-email-pali.rohar@gmail.com> <20150127132127.GA869@amd> <201501271532.25540@pali> <20150127174818.GM26493@n2100.arm.linux.org.uk> <20150127210943.GN26493@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > > Useful when properly designed and generic enough to be shared. > > > > > > I'd suggest a DT property be proposed for that purpose if it doesn't > > > already exist. That at least has a chance to be generically useful. > > > > What this means is that we have to further augment the atags-to-dt code > > in the decompressor with the platform specific ATAGs to parse this > > information and merge it into the appended DT before passing the > > resulting DT blob to the kernel. > > That would be only 2 new lines of code in the best case. Yes, instead of 2 new lines of code, let people write, debug, and flash 1000 lines shim. Completely makes sense. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: pavel@ucw.cz (Pavel Machek) Date: Wed, 28 Jan 2015 00:10:07 +0100 Subject: [PATCH] ARM: /proc/atags: Export also for DT In-Reply-To: References: <1403110464-29646-1-git-send-email-pali.rohar@gmail.com> <20150127132127.GA869@amd> <201501271532.25540@pali> <20150127174818.GM26493@n2100.arm.linux.org.uk> <20150127210943.GN26493@n2100.arm.linux.org.uk> Message-ID: <20150127231007.GA27641@amd> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi! > > > Useful when properly designed and generic enough to be shared. > > > > > > I'd suggest a DT property be proposed for that purpose if it doesn't > > > already exist. That at least has a chance to be generically useful. > > > > What this means is that we have to further augment the atags-to-dt code > > in the decompressor with the platform specific ATAGs to parse this > > information and merge it into the appended DT before passing the > > resulting DT blob to the kernel. > > That would be only 2 new lines of code in the best case. Yes, instead of 2 new lines of code, let people write, debug, and flash 1000 lines shim. Completely makes sense. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html