[PATCH] ARM: move memory layout sanity checking before meminfo initialization

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Jul 15 14:13:09 EDT 2011


On Fri, Jul 15, 2011 at 10:35:14AM -0700, Colin Cross wrote:
> CMDLINE_EXTEND solves a real problem, and when it's not solved in the
> kernel, it ends up getting solved in every bootloader.  Every
> kernel/board requires some command line options (like "console="), and
> every bootloader ends up passing some special options.

And yet again, if you have a kernel with a built-in console= setting,
there is _no_ _way_ to disable that console via the kernel command
line.

So what if some of your platforms need one console, others need a different
console, but must not use the first one...

Do we need nomem= and noconsole= options too?  Or do we just do the
sane thing and get rid of CMDLINE_EXTEND - or insist that stuff like
console= and mem= options are never built-in ?



More information about the linux-arm-kernel mailing list