summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-11-05 16:37:33 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-11-12 08:26:58 +0800
commitc3c44954ed34637f2bb1220825ff0910abb97f6e (patch)
treec3198c1b05ffaf94819d546c4391f21b65fc5efe
parent38a0f36e83e1d707eceab3c31da65a22c8140bb3 (diff)
downloadu-boot-imx-c3c44954ed34637f2bb1220825ff0910abb97f6e.zip
u-boot-imx-c3c44954ed34637f2bb1220825ff0910abb97f6e.tar.gz
u-boot-imx-c3c44954ed34637f2bb1220825ff0910abb97f6e.tar.bz2
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>
-rw-r--r--include/configs/nios2-generic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h
index 4569de8..856c836 100644
--- a/include/configs/nios2-generic.h
+++ b/include/configs/nios2-generic.h
@@ -33,8 +33,9 @@
#define CONFIG_SYS_MAX_FLASH_SECT 512
/*
- * MII/PHY
+ * NET options
*/
+#define CONFIG_SYS_RX_ETH_BUFFER 0
#define CONFIG_CMD_MII
#define CONFIG_PHY_GIGE
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN