j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: afaerber Date: Thu Apr 4 13:26:41 2013 New Revision: 1104 URL: http://tracker.coreboot.org/trac/openbios/changeset/1104
Log: ppc: Fix is_apple() for PReP
It was returning true for ARCH_PREP although not an Apple device. Limit it to Old World and New World Macs.
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 Fri Mar 22 15:16:46 2013 (r1103) +++ trunk/openbios-devel/arch/ppc/qemu/init.c Thu Apr 4 13:26:41 2013 (r1104) @@ -76,7 +76,7 @@
int is_apple(void) { - return 1; + return is_oldworld() || is_newworld(); }
int is_oldworld(void)