Author: mcayland Date: Fri Oct 23 14:58:13 2015 New Revision: 1349 URL: http://tracker.coreboot.org/trac/openbios/changeset/1349
Log: ppc: fix up power-mgt properties
Modify some basic device tree properties to more accurately emulate a real Mac machine.
Signed-off-by: Cormac O'Brien cormac@c-obrien.org Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/drivers/cuda.c
Modified: trunk/openbios-devel/drivers/cuda.c ============================================================================== --- trunk/openbios-devel/drivers/cuda.c Sun Oct 4 21:24:13 2015 (r1348) +++ trunk/openbios-devel/drivers/cuda.c Fri Oct 23 14:58:13 2015 (r1349) @@ -380,7 +380,8 @@
ph = find_dev(buf); set_property(ph, "device_type", "power-mgt", 10); - set_property(ph, "compatible", "power-mgt", 10); + set_property(ph, "mgt-kind", "min-consumption-pwm-led", strlen("min-consumption-pwm-led") + 1); + set_property(ph, "compatible", "cuda", strlen("cuda") + 1); }
cuda_t *cuda_init (const char *path, phys_addr_t base)