mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-08 07:41:39 +00:00
nios2: nios2-generic: do not allocate rx buf in net.c
Do not allocate rx buf in net.c, because altera_tse allocates its own rx buf in driver. This can save 6KB memory. Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
This commit is contained in:
parent
38a0f36e83
commit
c3c44954ed
1 changed files with 2 additions and 1 deletions
|
@ -33,8 +33,9 @@
|
||||||
#define CONFIG_SYS_MAX_FLASH_SECT 512
|
#define CONFIG_SYS_MAX_FLASH_SECT 512
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MII/PHY
|
* NET options
|
||||||
*/
|
*/
|
||||||
|
#define CONFIG_SYS_RX_ETH_BUFFER 0
|
||||||
#define CONFIG_CMD_MII
|
#define CONFIG_CMD_MII
|
||||||
#define CONFIG_PHY_GIGE
|
#define CONFIG_PHY_GIGE
|
||||||
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
|
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
|
||||||
|
|
Loading…
Add table
Reference in a new issue