From a56bd92289298bde16306bcc754277db45315d2f Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 6 Jun 2004 23:13:55 +0000 Subject: * 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. --- drivers/lan91c96.c | 6 ++---- drivers/ns16550.c | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'drivers') diff --git a/drivers/lan91c96.c b/drivers/lan91c96.c index 032f9780af..c3b715c622 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 05862ee6ec..f9fe819c1d 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 } -- cgit v1.2.3