aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/configs/10m50_devboard.h5
-rw-r--r--include/configs/3c120_devboard.h5
-rw-r--r--include/configs/M5208EVBE.h1
-rw-r--r--include/configs/M5235EVB.h1
-rw-r--r--include/configs/M5272C3.h1
-rw-r--r--include/configs/M5275EVB.h1
-rw-r--r--include/configs/M5282EVB.h1
-rw-r--r--include/configs/M53017EVB.h1
-rw-r--r--include/configs/M5329EVB.h1
-rw-r--r--include/configs/M5373EVB.h1
-rw-r--r--include/configs/am43xx_evm.h2
-rw-r--r--include/configs/bmips_common.h1
-rw-r--r--include/configs/cm_t43.h3
-rw-r--r--include/configs/cobra5272.h1
-rw-r--r--include/configs/eb_cpu5282.h1
-rw-r--r--include/configs/integratorap.h2
-rw-r--r--include/configs/kontron_sl28.h3
-rw-r--r--include/configs/ls1028a_common.h4
-rw-r--r--include/configs/pic32mzdask.h5
-rw-r--r--include/configs/stmark2.h1
-rw-r--r--include/net.h8
21 files changed, 1 insertions, 48 deletions
diff --git a/include/configs/10m50_devboard.h b/include/configs/10m50_devboard.h
index caba09a..143c9a3 100644
--- a/include/configs/10m50_devboard.h
+++ b/include/configs/10m50_devboard.h
@@ -23,11 +23,6 @@
#define CONFIG_SYS_MAX_FLASH_SECT 1024
/*
- * NET options
- */
-#define CONFIG_SYS_RX_ETH_BUFFER 0
-
-/*
* BOOTP options
*/
diff --git a/include/configs/3c120_devboard.h b/include/configs/3c120_devboard.h
index 7a0743d..1aea9ad 100644
--- a/include/configs/3c120_devboard.h
+++ b/include/configs/3c120_devboard.h
@@ -23,11 +23,6 @@
#define CONFIG_SYS_MAX_FLASH_SECT 512
/*
- * NET options
- */
-#define CONFIG_SYS_RX_ETH_BUFFER 0
-
-/*
* MEMORY ORGANIZATION
* -Monitor at top of sdram.
* -The heap is placed below the monitor
diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h
index de7abbe..e30f1eb 100644
--- a/include/configs/M5208EVBE.h
+++ b/include/configs/M5208EVBE.h
@@ -20,7 +20,6 @@
#ifdef CONFIG_MCFFEC
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
-# define CONFIG_SYS_RX_ETH_BUFFER 8
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
# ifndef CONFIG_SYS_DISCOVER_PHY
# define FECDUPLEX FULL
diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
index a3ed148..bc0e00c 100644
--- a/include/configs/M5235EVB.h
+++ b/include/configs/M5235EVB.h
@@ -25,7 +25,6 @@
#ifdef CONFIG_MCFFEC
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
-# define CONFIG_SYS_RX_ETH_BUFFER 8
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
# ifndef CONFIG_SYS_DISCOVER_PHY
# define FECDUPLEX FULL
diff --git a/include/configs/M5272C3.h b/include/configs/M5272C3.h
index ca7e20b..dec1e41 100644
--- a/include/configs/M5272C3.h
+++ b/include/configs/M5272C3.h
@@ -35,7 +35,6 @@
#ifdef CONFIG_MCFFEC
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
-# define CONFIG_SYS_RX_ETH_BUFFER 8
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
# ifndef CONFIG_SYS_DISCOVER_PHY
# define FECDUPLEX FULL
diff --git a/include/configs/M5275EVB.h b/include/configs/M5275EVB.h
index 8c329de..dab512c 100644
--- a/include/configs/M5275EVB.h
+++ b/include/configs/M5275EVB.h
@@ -38,7 +38,6 @@
#ifdef CONFIG_MCFFEC
#define CONFIG_MII_INIT 1
#define CONFIG_SYS_DISCOVER_PHY
-#define CONFIG_SYS_RX_ETH_BUFFER 8
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
#ifndef CONFIG_SYS_DISCOVER_PHY
#define FECDUPLEX FULL
diff --git a/include/configs/M5282EVB.h b/include/configs/M5282EVB.h
index 1f577f6..974cfc3 100644
--- a/include/configs/M5282EVB.h
+++ b/include/configs/M5282EVB.h
@@ -33,7 +33,6 @@
#ifdef CONFIG_MCFFEC
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
-# define CONFIG_SYS_RX_ETH_BUFFER 8
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
# ifndef CONFIG_SYS_DISCOVER_PHY
# define FECDUPLEX FULL
diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h
index d3d04e7..80ca016 100644
--- a/include/configs/M53017EVB.h
+++ b/include/configs/M53017EVB.h
@@ -27,7 +27,6 @@
#ifdef CONFIG_MCFFEC
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
-# define CONFIG_SYS_RX_ETH_BUFFER 8
# define CONFIG_SYS_TX_ETH_BUFFER 8
# define CONFIG_SYS_FEC_BUF_USE_SRAM
diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
index c23b91d..e4b887f 100644
--- a/include/configs/M5329EVB.h
+++ b/include/configs/M5329EVB.h
@@ -27,7 +27,6 @@
#ifdef CONFIG_MCFFEC
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
-# define CONFIG_SYS_RX_ETH_BUFFER 8
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
# ifndef CONFIG_SYS_DISCOVER_PHY
# define FECDUPLEX FULL
diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
index 1af3bfb..9ad09e8 100644
--- a/include/configs/M5373EVB.h
+++ b/include/configs/M5373EVB.h
@@ -29,7 +29,6 @@
#ifdef CONFIG_MCFFEC
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
-# define CONFIG_SYS_RX_ETH_BUFFER 8
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
# ifndef CONFIG_SYS_DISCOVER_PHY
# define FECDUPLEX FULL
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 651eb19..e4bd13b 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -147,8 +147,6 @@
#define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time at 1G */
-#define CONFIG_SYS_RX_ETH_BUFFER 64
-
/* NAND support */
#ifdef CONFIG_MTD_RAW_NAND
/* NAND: device related configs */
diff --git a/include/configs/bmips_common.h b/include/configs/bmips_common.h
index 0f63239..57de996 100644
--- a/include/configs/bmips_common.h
+++ b/include/configs/bmips_common.h
@@ -10,7 +10,6 @@
/* ETH */
#define CONFIG_PHY_RESET_DELAY 20
-#define CONFIG_SYS_RX_ETH_BUFFER 6
/* UART */
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h
index 2d09a6f..eb015e1 100644
--- a/include/configs/cm_t43.h
+++ b/include/configs/cm_t43.h
@@ -32,9 +32,6 @@
42, 43, 44, 45, 46, 47, 48, 49, \
50, 51, 52, 53, 54, 55, 56, 57, }
-/* CPSW Ethernet support */
-#define CONFIG_SYS_RX_ETH_BUFFER 64
-
/* Power */
#define CONFIG_POWER_TPS65218
diff --git a/include/configs/cobra5272.h b/include/configs/cobra5272.h
index 43baed8..607e76c 100644
--- a/include/configs/cobra5272.h
+++ b/include/configs/cobra5272.h
@@ -91,7 +91,6 @@
#ifdef CONFIG_MCFFEC
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
-# define CONFIG_SYS_RX_ETH_BUFFER 8
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
# ifndef CONFIG_SYS_DISCOVER_PHY
# define FECDUPLEX FULL
diff --git a/include/configs/eb_cpu5282.h b/include/configs/eb_cpu5282.h
index eeab2ab..99d8e9e 100644
--- a/include/configs/eb_cpu5282.h
+++ b/include/configs/eb_cpu5282.h
@@ -54,7 +54,6 @@
#ifdef CONFIG_MCFFEC
#define CONFIG_MII_INIT 1
#define CONFIG_SYS_DISCOVER_PHY
-#define CONFIG_SYS_RX_ETH_BUFFER 8
#define CONFIG_OVERWRITE_ETHADDR_ONCE
#endif
diff --git a/include/configs/integratorap.h b/include/configs/integratorap.h
index 91116f1..f15a4d5 100644
--- a/include/configs/integratorap.h
+++ b/include/configs/integratorap.h
@@ -27,8 +27,6 @@
* PCI definitions
*/
-#define CONFIG_SYS_RX_ETH_BUFFER 8 /* use 8 rx buffer on eepro100 */
-
/*-----------------------------------------------------------------------
* There are various dependencies on the core module (CM) fitted
* Users should refer to their CM user guide
diff --git a/include/configs/kontron_sl28.h b/include/configs/kontron_sl28.h
index 9eeb7ef..77ea132 100644
--- a/include/configs/kontron_sl28.h
+++ b/include/configs/kontron_sl28.h
@@ -43,9 +43,6 @@
#define COUNTER_FREQUENCY_REAL (get_board_sys_clk() / 4)
-/* ethernet */
-#define CONFIG_SYS_RX_ETH_BUFFER 8
-
/* SPL */
#define CONFIG_SPL_BSS_START_ADDR 0x80100000
#define CONFIG_SPL_BSS_MAX_SIZE 0x00100000
diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index 8bdfddc..516a730 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -91,8 +91,4 @@
#include <asm/fsl_secure_boot.h>
#endif
-/* Ethernet */
-/* smallest ENETC BD ring has 8 entries */
-#define CONFIG_SYS_RX_ETH_BUFFER 8
-
#endif /* __L1028A_COMMON_H */
diff --git a/include/configs/pic32mzdask.h b/include/configs/pic32mzdask.h
index 0a782b4..2547058 100644
--- a/include/configs/pic32mzdask.h
+++ b/include/configs/pic32mzdask.h
@@ -44,11 +44,6 @@
*/
#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
-/*-----------------------------------------------------------------------
- * Networking Configuration
- */
-#define CONFIG_SYS_RX_ETH_BUFFER 8
-
/*--------------------------------------------------
* USB Configuration
*/
diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h
index c8a50f4..9bfb8ca 100644
--- a/include/configs/stmark2.h
+++ b/include/configs/stmark2.h
@@ -134,7 +134,6 @@
#ifdef CONFIG_MCFFEC
#define CONFIG_MII_INIT 1
#define CONFIG_SYS_DISCOVER_PHY
-#define CONFIG_SYS_RX_ETH_BUFFER 8
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
#ifndef CONFIG_SYS_DISCOVER_PHY
#define FECDUPLEX FULL
diff --git a/include/net.h b/include/net.h
index b02e4f6..675bf41 100644
--- a/include/net.h
+++ b/include/net.h
@@ -35,13 +35,7 @@ struct udevice;
* alignment in memory.
*
*/
-
-#ifdef CONFIG_SYS_RX_ETH_BUFFER
-# define PKTBUFSRX CONFIG_SYS_RX_ETH_BUFFER
-#else
-# define PKTBUFSRX 4
-#endif
-
+#define PKTBUFSRX CONFIG_SYS_RX_ETH_BUFFER
#define PKTALIGN ARCH_DMA_MINALIGN
/* Number of packets processed together */