ppc: Add RTAS rtas-version property

The CHRP 1.0 spec defines it as 1, which matches the IBM JS20.
Macs appear to have it as 0x41 though.

v2:
* Authentically set it to 0x41 for Apple machines.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@937 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Andreas Färber
2010-10-31 10:30:22 +00:00
committed by Andreas Färber
parent 8d8e29fce6
commit b0158732da

View File

@@ -764,6 +764,7 @@ arch_of_init( void )
while (size < (unsigned long)of_rtas_end - (unsigned long)of_rtas_start)
size *= 2;
set_property(ph, "rtas-size", (char*)&size, sizeof(size));
set_int_property(ph, "rtas-version", is_apple() ? 0x41 : 1);
}
break;
}