[RFC PATCH v2 1/1] powerpc/embedded6xx: Add support for Motorola/Emerson MVME5100.

Scott Wood scottwood at freescale.com
Thu Sep 12 02:39:15 EST 2013


On Wed, 2013-09-11 at 11:15 +1000, Benjamin Herrenschmidt wrote:
> On Tue, 2013-09-10 at 18:47 -0500, Scott Wood wrote:
> 
> > No blank line before }
> > 
> > > +CONFIG_CMDLINE_BOOL=y
> > > +CONFIG_CMDLINE="console=ttyS0,9600 ip=dhcp root=/dev/nfs"
> > 
> > I take it there's no way to pass a command line in from whatever loader
> > this board uses... but you could put it in the dts instead.
> 
> No, please don't put that in the device-tree. Somebody might want
> different settings, this is typically what .config is for.

I figured that in the defconfig it presents a barrier to getting rid of
the board-specific defconfig, while the dts is still going to be
per-board.  In this case the device tree is not baked into firmware so
it's just as easy to change things in /chosen as in .config (actually
slightly easier since you only need to rewrap the kernel rather than
rebuild).

-Scott





More information about the Linuxppc-dev mailing list