j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: mcayland Date: Fri Jan 8 13:09:44 2016 New Revision: 1375 URL: http://tracker.coreboot.org/trac/openbios/changeset/1375
Log: pci: enable AAPL,address property for all Apple PPC machines
The property appears in device trees for both Old World and New World Macs so let's do the same.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk Reviewed-by: Alexander Graf agraf@suse.de Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/drivers/pci.c
Modified: trunk/openbios-devel/drivers/pci.c ============================================================================== --- trunk/openbios-devel/drivers/pci.c Fri Jan 8 13:09:41 2016 (r1374) +++ trunk/openbios-devel/drivers/pci.c Fri Jan 8 13:09:44 2016 (r1375) @@ -1020,7 +1020,10 @@ }
pci_set_assigned_addresses(phandle, config, num_bars); - OLDWORLD(pci_set_AAPL_address(config)); + + if (is_apple()) { + pci_set_AAPL_address(config); + }
PCI_DPRINTF("\n"); }