summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
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 032f978..c3b715c 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 05862ee..f9fe819 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
}