From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH] ARM: SPEAr600: Add device-tree support to SPEAr600 boards Date: Wed, 14 Mar 2012 15:32:42 +0530 Message-ID: <4F606CC2.9000402@st.com> References: <1331650032-15274-1-git-send-email-sr@denx.de> <201203131644.12048.arnd@arndb.de> <4F604400.1040805@st.com> <201203140958.27289.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201203140958.27289.arnd-r2nGTMty4D4@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Arnd Bergmann Cc: Stefan Roese , "devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org" , spear-devel , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org On 3/14/2012 3:28 PM, Arnd Bergmann wrote: > No problem, we are all learning things as we are working on them. > > The idea with DT is that you no longer need any board files because all of > the information in those files is now passed as a data structure to the kernel > at boot time. Platforms that are fully converted to DT don't have any > board files but just have one DT_MACHINE_START entry for all of them in > the common platform files. Since spear600 has very little board specific > contents at the moment, it is very easy to get to this point now, and > that will actually help support other boards without having to do more > patches to add board files. > > When this work is completed, we might actually be able to extend the > spear6xx DT code to also support spear3xx and spear13xx, renaming it > to mach-spear. In that case, we would probably need one DT_MACHINE_START > entry for each family and would not be able to actually build 13xx together > with the other ones, but I guess a lot of the infrastructure could be shared. > > I would suggest you read Documentation/devicetree/booting-without-of.txt > to get a better understanding of what this is all about. You pointed exactly to the doubt i had. That was very helpful. I really appreciate it. Thanks a lot. -- viresh