[RFC PATCH 0/3] ARM: uncompress.h multi-platform enablement

Arnd Bergmann arnd at arndb.de
Wed Sep 26 10:49:48 EDT 2012


On Wednesday 26 September 2012, Tim Bird wrote:
> My main issue is to avoid requiring the loading of
> drivers and features that are not required for a
> platform, if the platform does not need it (or the
> developer chooses to omit it).  I may have mis-read
> this thread, but it sounded like the uncompress
> code was going to be moved to a common area and
> not be configurable.

The suggestion was to move it into a different location, but you
still would only have one version of it, even for a multiplatform
kernel, so no code growth there.

Right now, a multiplatform kernel has no way of debugging the
decompressor using console output, so it's actually /smaller/
than a single-platform kernel, but also less capable.

Stephen's patches are a way to bring that feature back for
platforms that are converted to multiplatform, but such a kernel
would still only work on a single platform, even if it has
all the actual kernel code enabled to support others.

	Arnd



More information about the linux-arm-kernel mailing list