Re: [PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-05-03 Thread Tony Lindgren
* Grant Likely [110502 14:52]: > On Mon, May 02, 2011 at 07:39:54PM +0300, Tony Lindgren wrote: > > > > The cmdline is something that bootloaders typically allow to configure, > > while the other ATAGs are static and should be in the .dts file. > > Once the libfdt code is pulled into to manipula

Re: [PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-05-02 Thread Grant Likely
On Mon, May 02, 2011 at 07:39:54PM +0300, Tony Lindgren wrote: > * Grant Likely [110502 18:31]: > > On Mon, May 2, 2011 at 9:15 AM, Tony Lindgren wrote: > > > * Grant Likely [110429 00:13]: > > >> + > > >> +/** > > >> + * setup_machine_fdt - Machine setup when an dtb was passed to the > > >> ke

Re: [PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-05-02 Thread Grant Likely
On Mon, May 02, 2011 at 08:15:42AM -0700, Tony Lindgren wrote: > Also, not counting the separate DT append issues, I got things booting > with these patches (and the dts files) on omaps. So for patches 1 - 5, > and patch 8: > > Tested-by: Tony Lindgren Seeing as Documentation isn't actually exec

Re: [PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-05-02 Thread Tony Lindgren
* Grant Likely [110502 18:31]: > On Mon, May 2, 2011 at 9:15 AM, Tony Lindgren wrote: > > * Grant Likely [110429 00:13]: > >> + > >> +/** > >> + * setup_machine_fdt - Machine setup when an dtb was passed to the kernel > >> + * @dt_phys: physical address of dt blob > >> + * > >> + * If a dtb was

Re: [PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-05-02 Thread Grant Likely
On Mon, May 2, 2011 at 9:15 AM, Tony Lindgren wrote: > * Grant Likely [110429 00:13]: >> + >> +/** >> + * setup_machine_fdt - Machine setup when an dtb was passed to the kernel >> + * @dt_phys: physical address of dt blob >> + * >> + * If a dtb was passed to the kernel in r2, then use it to choos

Re: [PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-05-02 Thread Tony Lindgren
* Grant Likely [110429 00:13]: > + > +/** > + * setup_machine_fdt - Machine setup when an dtb was passed to the kernel > + * @dt_phys: physical address of dt blob > + * > + * If a dtb was passed to the kernel in r2, then use it to choose the > + * correct machine_desc and to setup the system. > +

[PATCH v5 4/8] arm/dt: probe for platforms via the device tree

2011-04-29 Thread Grant Likely
If a dtb is passed to the kernel then the kernel needs to iterate through compiled-in mdescs looking for one that matches and move the dtb data to a safe location before it gets accidentally overwritten by the kernel. This patch creates a new function, setup_machine_fdt() which is analogous to the