]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14a6ba2ac7f51d0601c56f93428df90c47537294
tree0ae5f3290d5a3804fc87b7af5af5943104d9531e
parent5341b5ecdf66f9855b3193e43217d42bf79a430b
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