]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh: sh_bios detection.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 12 Jan 2010 09:42:52 +0000 (18:42 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 12 Jan 2010 09:42:52 +0000 (18:42 +0900)
commit94cd049522136c2f3bbe063d2e98b2b8d4286fd3
tree7c521604861235e113715ecfb627398f5b941359
parenta99eae5417a09e0be66bf574a9a79a2a7388c967
sh: sh_bios detection.

This adds some VBR sanity checks in the sh_bios code to ensure that the
BIOS VBR is in range before blindly trapping in to it. This permits
boards with varying boot loader configurations to always leave support
for sh-bios enabled and it will just be disabled at run-time if not
found.

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