Author: mcayland Date: Mon Aug 4 19:40:34 2014 New Revision: 1310 URL: http://tracker.coreboot.org/trac/openbios/changeset/1310
Log: pc_serial.c: don't add address property to SPARC64 serial ports
This is similar to real hardware, otherwise NetBSD allows this property to override the bus address which inevitably gives the wrong value.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/drivers/pc_serial.c
Modified: trunk/openbios-devel/drivers/pc_serial.c ============================================================================== --- trunk/openbios-devel/drivers/pc_serial.c Mon Aug 4 19:40:31 2014 (r1309) +++ trunk/openbios-devel/drivers/pc_serial.c Mon Aug 4 19:40:34 2014 (r1310) @@ -192,10 +192,12 @@ push_str("reg"); fword("property");
+#if !defined(CONFIG_SPARC64) PUSH(offset); fword("encode-int"); push_str("address"); fword("property"); +#endif
#if defined(CONFIG_SPARC64) set_int_property(get_cur_dev(), "interrupts", 1);