]> git.dujemihanovic.xyz Git - u-boot.git/commit
MIPS: start.S: emulate REVISION register for qemu-malta
authorGabor Juhos <juhosg@openwrt.org>
Wed, 22 May 2013 03:57:46 +0000 (03:57 +0000)
committerTom Rini <trini@ti.com>
Wed, 24 Jul 2013 13:51:03 +0000 (09:51 -0400)
commit843a76b66be70a28a55f295fa72faa74dde9e02b
treefb1224f566335c6e5e07b2271589edeae1ff0840
parenta79b5e684822e16298f46dd6fa5bbcdaec01af46
MIPS: start.S: emulate REVISION register for qemu-malta

On the origial Malta boards the REVISION register is
accessible at the 0x1fc00010 address. The contents of
this register gives information about the revision
of the Malta and Core Boards.

This register is used by the Linux kernel to identify
the actual board it is running on. However the register
is not emulated properly by Qemu, so put a hardcoded
value into the flash to make Linux work.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
arch/mips/cpu/mips32/start.S