summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-06-06 23:13:55 +0000
committerwdenk <wdenk>2004-06-06 23:13:55 +0000
commita56bd92289298bde16306bcc754277db45315d2f (patch)
tree191b3ffdc97a005ddc973f7de85ef3b1d3768fd8 /drivers
parent5ca2679933142f7bf2996590b2e318c298664748 (diff)
* Patch by Dave Peverley, 30 Apr 2004:
Add support for OMAP730 Perseus2 Development board * Patch by Alan J. Luse, 29 Apr 2004: Fix flash chip-select (OR0) option register setting on FADS boards. * Patch by Alan J. Luse, 29 Apr 2004: Report MII network speed and duplex setting properly when auto-negotiate is not enabled. * Patch by Jarrett Redd, 29 Apr 2004: Fix hang on reset on Ocotea board due to flash in wrong mode.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/lan91c96.c6
-rw-r--r--drivers/ns16550.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/drivers/lan91c96.c b/drivers/lan91c96.c
index 032f9780af4..c3b715c6221 100644
--- a/drivers/lan91c96.c
+++ b/drivers/lan91c96.c
@@ -620,7 +620,7 @@ static int smc_open (bd_t *bd)
address |= smc_mac_addr[i];
SMC_outw (address, LAN91C96_IA0 + i);
}
-#else
+#else
for (i = 0; i < 6; i++)
SMC_outb (smc_mac_addr[i], LAN91C96_IA0 + i);
#endif
@@ -937,7 +937,7 @@ int smc_get_ethaddr (bd_t * bd)
return (0);
}
-/*
+/*
* get_rom_mac()
* Note, this has omly been tested for the OMAP730 P2.
*/
@@ -960,6 +960,4 @@ int get_rom_mac (char *v_rom_mac)
#endif
}
-
-
#endif /* CONFIG_DRIVER_LAN91C96 */
diff --git a/drivers/ns16550.c b/drivers/ns16550.c
index 05862ee6ec6..f9fe819c1d3 100644
--- a/drivers/ns16550.c
+++ b/drivers/ns16550.c
@@ -26,7 +26,7 @@ void NS16550_init (NS16550_t com_port, int baud_divisor)
com_port->lcr = LCRVAL;
com_port->mcr = MCRVAL;
com_port->fcr = FCRVAL;
-#if defined(CONFIG_OMAP1510) || defined(CONFIG_OMAP1610)
+#if defined(CONFIG_OMAP1510) || defined(CONFIG_OMAP1610) || defined(CONFIG_OMAP730)
com_port->mdr1 = 0; /* select uart mode */
#endif
}