Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
5e728b9d
Commit
5e728b9d
authored
Sep 26, 2011
by
Yuri Tikhonov
Browse files
RT73025. stm32f2_eth: minor cleanups
Signed-off-by:
Yuri Tikhonov
<
yur@emcraft.com
>
parent
d1693b09
Changes
2
Hide whitespace changes
Inline
Side-by-side
drivers/net/stm32f2_eth.c
View file @
5e728b9d
...
...
@@ -26,7 +26,7 @@
#include <config.h>
/*
* Define
this to 'printf()' any 'debug()' below
* Define
DEBUG to enable debug() messages in this module
*/
#undef DEBUG
...
...
@@ -417,6 +417,9 @@ int stm32f2_eth_init(bd_t *bd)
rv
=
eth_register
(
netdev
);
out:
if
(
rv
!=
0
&&
mac
)
free
(
mac
);
return
rv
;
}
...
...
include/configs/stm3220g-eval.h
View file @
5e728b9d
...
...
@@ -142,11 +142,11 @@
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
/*
* Ethernet
* Ethernet
configuration
*/
#define CONFIG_NET_MULTI
#define CONFIG_STM32F2_ETH
#define CONFIG_SYS_RX_ETH_BUFFER 4
/* 4 rx buffer */
#define CONFIG_SYS_RX_ETH_BUFFER 4
/*
* Console I/O buffer size
...
...
@@ -194,7 +194,6 @@
#undef CONFIG_CMD_IMLS
#undef CONFIG_CMD_LOADS
#undef CONFIG_CMD_MISC
#define CONFIG_CMD_PING
#define CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_SOURCE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment