j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: afaerber Date: Sun Oct 31 11:30:22 2010 New Revision: 937 URL: http://tracker.coreboot.org/trac/openbios/changeset/937
Log: 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
Modified: trunk/openbios-devel/arch/ppc/qemu/init.c
Modified: trunk/openbios-devel/arch/ppc/qemu/init.c ============================================================================== --- trunk/openbios-devel/arch/ppc/qemu/init.c Sun Oct 31 11:21:50 2010 (r936) +++ trunk/openbios-devel/arch/ppc/qemu/init.c Sun Oct 31 11:30:22 2010 (r937) @@ -764,6 +764,7 @@ 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; }