ppc: Fix RAM top (2/2)
commit434a950d705170da6a621c7c952f2faff9c703b4
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 16 Oct 2010 17:35:56 +0000 (16 17:35 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 16 Oct 2010 17:35:56 +0000 (16 17:35 +0000)
treebb0f2753987212cbc8d9809d7fb9df9b4c2eb7a8
parent3cbe1cc3d89791edfb158c5bf89658ff6ce61d7d
ppc: Fix RAM top (2/2)

The hash base is not get_rom_base() - HASH_SIZE. It gets rounded down,
depending on the PVR, so read its true value from SDR1.

v2:
* Split up.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@902 f158a5a8-5612-0410-a976-696ce0be7e32
arch/ppc/qemu/ofmem.c