sh: Make initrd detection more robust.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 6 May 2010 06:09:45 +0000 (15:09 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 6 May 2010 06:09:45 +0000 (15:09 +0900)
commit9b7a37853a8cd69829eb1d9715a6c09aae01eeec
tree0ae5f3290d5a3804fc87b7af5af5943104d9531e
parent1483feac74fdfd84a7ed7586c66482842e3b6e86
sh: Make initrd detection more robust.

Various boot loaders go to various extents to thwart the initrd detection
logic (mostly on account of not being able to be bothered with adhering
to the established boot ABI), so we make the detection logic a bit more
robust. This makes it possible to work around the SDK7786's firmware's
attempts to thwart compressed image booting. Victory is mine.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/setup.c