Author: agraf Date: Sun Jun 30 05:13:14 2013 New Revision: 1169 URL: http://tracker.coreboot.org/trac/openbios/changeset/1169
Log: Mac-io: Set device revision
Mac OS X 10.5 requires device-rev to be set for mac-io. Make it happy.
Signed-off-by: Alexander Graf agraf@suse.de
Modified: trunk/openbios-devel/drivers/macio.c
Modified: trunk/openbios-devel/drivers/macio.c ============================================================================== --- trunk/openbios-devel/drivers/macio.c Sun Jun 30 05:13:13 2013 (r1168) +++ trunk/openbios-devel/drivers/macio.c Sun Jun 30 05:13:14 2013 (r1169) @@ -256,6 +256,7 @@ dnode = find_dev("/uni-n"); set_property(dnode, "device_type", "memory-controller", 18); set_property(dnode, "compatible", "uni-north", 10); + set_int_property(dnode, "device-rev", 0); props[0] = __cpu_to_be32(0xf8000000); props[1] = __cpu_to_be32(0x1000000); set_property(dnode, "reg", (char *)&props, sizeof(props));