]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_SYS_RX_ETH_BUFFER to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 12:38:25 +0000 (08:38 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 25 Mar 2022 12:01:15 +0000 (12:01 +0000)
This converts the following to Kconfig:
   CONFIG_SYS_RX_ETH_BUFFER

Cc: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
64 files changed:
README
configs/10m50_defconfig
configs/3c120_defconfig
configs/M5208EVBE_defconfig
configs/M5235EVB_Flash32_defconfig
configs/M5235EVB_defconfig
configs/M5272C3_defconfig
configs/M5275EVB_defconfig
configs/M5282EVB_defconfig
configs/M53017EVB_defconfig
configs/M5329AFEE_defconfig
configs/M5329BFEE_defconfig
configs/M5373EVB_defconfig
configs/am43xx_evm_defconfig
configs/am43xx_evm_qspiboot_defconfig
configs/am43xx_evm_rtconly_defconfig
configs/am43xx_evm_usbhost_boot_defconfig
configs/am43xx_hs_evm_defconfig
configs/cm_t43_defconfig
configs/cobra5272_defconfig
configs/comtrend_ar5315u_ram_defconfig
configs/comtrend_ar5387un_ram_defconfig
configs/comtrend_ct5361_ram_defconfig
configs/comtrend_vr3032u_ram_defconfig
configs/comtrend_wap5813n_ram_defconfig
configs/eb_cpu5282_defconfig
configs/eb_cpu5282_internal_defconfig
configs/huawei_hg556a_ram_defconfig
configs/integratorap_cm720t_defconfig
configs/integratorap_cm920t_defconfig
configs/integratorap_cm926ejs_defconfig
configs/integratorap_cm946es_defconfig
configs/kontron_sl28_defconfig
configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
configs/ls1028aqds_tfa_defconfig
configs/ls1028aqds_tfa_lpuart_defconfig
configs/ls1028ardb_tfa_SECURE_BOOT_defconfig
configs/ls1028ardb_tfa_defconfig
configs/netgear_dgnd3700v2_ram_defconfig
configs/pic32mzdask_defconfig
configs/sagem_f@st1704_ram_defconfig
configs/sfr_nb4-ser_ram_defconfig
include/configs/10m50_devboard.h
include/configs/3c120_devboard.h
include/configs/M5208EVBE.h
include/configs/M5235EVB.h
include/configs/M5272C3.h
include/configs/M5275EVB.h
include/configs/M5282EVB.h
include/configs/M53017EVB.h
include/configs/M5329EVB.h
include/configs/M5373EVB.h
include/configs/am43xx_evm.h
include/configs/bmips_common.h
include/configs/cm_t43.h
include/configs/cobra5272.h
include/configs/eb_cpu5282.h
include/configs/integratorap.h
include/configs/kontron_sl28.h
include/configs/ls1028a_common.h
include/configs/pic32mzdask.h
include/configs/stmark2.h
include/net.h
net/Kconfig

diff --git a/README b/README
index c704d0a007a85d1b2470d0ed7df19c4e09a9deef..effaef5574c3fe48c8fa1fa8c9615d6fc4ead1dd 100644 (file)
--- a/README
+++ b/README
@@ -2109,14 +2109,6 @@ Configuration Settings:
                while unprotecting/erasing/programming. Please only enable
                this option if you really know what you are doing.
 
-- CONFIG_SYS_RX_ETH_BUFFER:
-               Defines the number of Ethernet receive buffers. On some
-               Ethernet controllers it is recommended to set this value
-               to 8 or even higher (EEPRO100 or 405 EMAC), since all
-               buffers can be full shortly after enabling the interface
-               on high Ethernet traffic.
-               Defaults to 4 if not defined.
-
 - CONFIG_ENV_MAX_ENTRIES
 
        Maximum number of entries in the hash table that is used
index 0a8b30a8304ccd379e93ce295a521e65a6f9f6dc..517c3b016a2438769a7f539eb72037b2f4a78641 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_ENV_ADDR=0xF4080000
 CONFIG_VERSION_VARIABLE=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=0
 CONFIG_ALTERA_PIO=y
 CONFIG_MISC=y
 CONFIG_ALTERA_SYSID=y
index 550caddaa9ae3817b32ff409c7d898bb1e17735f..0470fb10dbb80696e4e8eb7dcf004d2eed0f92c0 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_ENV_ADDR=0xE2880000
 CONFIG_VERSION_VARIABLE=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=0
 CONFIG_ALTERA_PIO=y
 CONFIG_MISC=y
 CONFIG_ALTERA_SYSID=y
index 9e3d358a83c8694ac38811fda6065b3b7262f399..62b284b97bacc324d2293dc593688120ee4ca91b 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0x2000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_UDP_CHECKSUM=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
index 12d70de92850a1b918dc71724002d5216edc3a4a..a3762bb3d7680261ec3347290d285c57c44aa80b 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_USE_BOOTFILE=y
 CONFIG_BOOTFILE="u-boot.bin"
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_SYS_FSL_I2C_OFFSET=0x300
index 22d4f43885136206a0a23a7bd93ad3387e403a9f..d4f32e45156fb18355787fa5b2e5c779851eb1df 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_USE_BOOTFILE=y
 CONFIG_BOOTFILE="u-boot.bin"
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_SYS_FSL_I2C_OFFSET=0x300
index bbfbb30fa317562d2cf4cdff2458a058252ba819..c30b949872826dae829e1a4d4a356032d4f8f267 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_ENV_ADDR=0xFFE04000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_SYS_BR0_PRELIM_BOOL=y
 CONFIG_SYS_BR0_PRELIM=0xFFE00201
 CONFIG_SYS_OR0_PRELIM=0xFFE00014
index 6b9f3b9e9552db09763eda7a8dbd4bc8c98aab9c..53ff8ee4aeca6c1d2ffa734ab8ad1b87c1b17ae2 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_ENV_ADDR=0xFFE04000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_SYS_FSL_I2C_OFFSET=0x300
index 71574a348fcfa7167bb15af81beca104dee955b4..84363fbd924e8df7bdb9cb584eb436cdada465ce 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_ENV_ADDR=0xFFE04000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_PROTECTION=y
index b12e181a68120303c95e9c3e230123f878965588..b43478731c1bc059709b8b2e03be59b78b241443 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_DATE=y
 CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0x40000
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_UDP_CHECKSUM=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
index 4e5fed9b857b07dd51541a47605a06df031fda08..b8900f295f494b7213593d2eb4b2129aebf86f17 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_CMD_DATE=y
 CONFIG_ENV_ADDR=0x4000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_UDP_CHECKSUM=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
index 353eca4f61f96e02ea509fc7baba534bcb167cc3..47e6cb0ca2e7a12c7930728b70183ffe507ede7e 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_CMD_DATE=y
 CONFIG_ENV_ADDR=0x4000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_UDP_CHECKSUM=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
index 1d832ba3b28be128c9ac7bb47cda5c5bf7085b71..c59ba94f2c2290905218612e894aad7edef16c55 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_CMD_DATE=y
 CONFIG_ENV_ADDR=0x4000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_UDP_CHECKSUM=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
index 9ff8047ee66f48475c5016bb5c7611ee44f0d594..ef604e4a5017cd451519de6ae4227f715cee51f0 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_NET_RETRY_COUNT=10
 CONFIG_BOOTP_SEND_HOSTNAME=y
+CONFIG_SYS_RX_ETH_BUFFER=64
 CONFIG_DM=y
 CONFIG_REGMAP=y
 CONFIG_SPL_REGMAP=y
index 31a2de5c15fde266c43db225555af3a2666b8139..6bbb962639e4ddffc96f217c42e4267c67c2e3d0 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_NET_RETRY_COUNT=10
 CONFIG_BOOTP_SEND_HOSTNAME=y
+CONFIG_SYS_RX_ETH_BUFFER=64
 CONFIG_DM=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
index 0b6b1826628c5ddc01ba51354b648d5e7f7a5fe7..8d3461fb1e139a294302f214158697c0975c1c4b 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_NET_RETRY_COUNT=10
 CONFIG_BOOTP_SEND_HOSTNAME=y
+CONFIG_SYS_RX_ETH_BUFFER=64
 CONFIG_DM=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
index 144ab21454ce20a5fad53f35cfec516fd660c041..be56573142d5defe3980e28b086df8a17770b617 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_NET_RETRY_COUNT=10
 CONFIG_BOOTP_SEND_HOSTNAME=y
+CONFIG_SYS_RX_ETH_BUFFER=64
 CONFIG_DM=y
 CONFIG_REGMAP=y
 CONFIG_SPL_REGMAP=y
index 87b4864baedd75d7dbdee4a765f29bc0601ba641..7acc60e1c7186ae7c4af04549023623951a8d016 100644 (file)
@@ -52,6 +52,7 @@ CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_NET_RETRY_COUNT=10
 CONFIG_BOOTP_SEND_HOSTNAME=y
+CONFIG_SYS_RX_ETH_BUFFER=64
 CONFIG_DM=y
 CONFIG_REGMAP=y
 CONFIG_SPL_REGMAP=y
index d8aab5853ec1aae1a8362f36c544567123993902..46c3eb62a8297dc32eafe3eba4f277fb9dc7da3a 100644 (file)
@@ -63,6 +63,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_BOOTP_SEND_HOSTNAME=y
+CONFIG_SYS_RX_ETH_BUFFER=64
 CONFIG_DM=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
index 98fd38657d44a3c8148c600d4685ed8011f14f96..39661211b109ec6f477dbda6b43540f0e7a9e856 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_CMD_PING=y
 CONFIG_ENV_ADDR=0xFFE04000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_SYS_BR0_PRELIM_BOOL=y
 CONFIG_SYS_BR0_PRELIM=0xFFE00201
 CONFIG_SYS_OR0_PRELIM=0xFFE00014
index ed2509938d789fdd01417fb4b82e2d973e8c7bd3..45e8b765837a8bcefc40bb0d44e69d8a079d4c80 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_SLEEP is not set
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=6
 # CONFIG_DM_DEVICE_REMOVE is not set
 CONFIG_BCM6348_IUDMA=y
 CONFIG_LED=y
index ea7d7b9a3da182aff372af0a27070e08ea4ddebc..5a944483d0623334d44d2134bd6e41a220403af7 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_SLEEP is not set
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=6
 # CONFIG_DM_DEVICE_REMOVE is not set
 CONFIG_BCM6348_IUDMA=y
 CONFIG_LED=y
index 71b4d897028cc6e488f64884009937b394057054..6290b2a7208029d3226b616a7a3c51dbfa362b1c 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_SLEEP is not set
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=6
 # CONFIG_DM_DEVICE_REMOVE is not set
 CONFIG_BCM6348_IUDMA=y
 CONFIG_BCM6345_GPIO=y
index 151c623c04992eb4103274cf37992ba39b72bcaa..35bc13964e749baec82685f7e14f8f1bfc5183e0 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_SLEEP is not set
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=6
 # CONFIG_DM_DEVICE_REMOVE is not set
 CONFIG_BCM6348_IUDMA=y
 CONFIG_LED=y
index 722b7194477ff27c08bfeb818c0db413a75bcff1..a2e5f9648c6b8490f435a621d858a31f2d1ebd5e 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_SLEEP is not set
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=6
 # CONFIG_DM_DEVICE_REMOVE is not set
 CONFIG_BCM6348_IUDMA=y
 CONFIG_BCM6345_GPIO=y
index 7b7cfd3abdaf149408cbc984591bf64c4c37364b..a1aee405e97c9cc7d27cfad7fa4ba83ab276ec98 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_DATE=y
 CONFIG_ENV_ADDR=0xFF040000
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_SYS_FSL_I2C_OFFSET=0x300
index a91d578690b318feee5f4215885daa6464e28e34..4adc0569762885fe8aaca16f48176deddd51be28 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_DATE=y
 CONFIG_ENV_ADDR=0xFF040000
 CONFIG_SYS_FAULT_ECHO_LINK_DOWN=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_SYS_FSL_I2C_OFFSET=0x300
index 9201a00e71f3e42ae24992dc94ea2fa99920f522..977450e351e171db409d0aff3ee6a0d5a650d87b 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_SLEEP is not set
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=6
 # CONFIG_DM_DEVICE_REMOVE is not set
 CONFIG_BCM6348_IUDMA=y
 CONFIG_BCM6345_GPIO=y
index 7b970b954d2115824f0d185c448e3b68f38a363a..c33ef94d2c98728f9f23f9c63e4369d77b74f039 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_ARMFLASH=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_BOOTP_BOOTFILESIZE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
index 05aa6dc57cb46dc867b7577332895d6b888e7822..a3e6b8d8e8e553d9791f6cc2553e2701e33eb81f 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_ARMFLASH=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_BOOTP_BOOTFILESIZE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
index 52973da47121a1438e46bf5b80283e5f9ffdfa2c..af0d73b4f874400981cd4b0fc53dfbf507c5f65f 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_ARMFLASH=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_BOOTP_BOOTFILESIZE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
index 336f1d3cc6f2994e545aa4cc1aa4c82b86ca508f..52846913b69d87f3da2204bab79e46fdfd067ffc 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_ARMFLASH=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_BOOTP_BOOTFILESIZE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
index cf8aedfdfd7160f2dc65f1cb23e9bccbf5598c43..2ee1a17cf558aeb61f94a1478c7e2da836bc8055 100644 (file)
@@ -59,6 +59,7 @@ CONFIG_OF_LIST="fsl-ls1028a-kontron-sl28 fsl-ls1028a-kontron-sl28-var1 fsl-ls102
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_SATA=y
 CONFIG_SCSI_AHCI=y
index af65bcad84084f8e978ae157a51ffbeb79537372..94a1bd35e613ffb1bf8bcf57d5b9fc2f290076ca 100644 (file)
@@ -43,6 +43,7 @@ CONFIG_OF_CONTROL=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_DM=y
 CONFIG_SATA=y
 CONFIG_SCSI_AHCI=y
index bc473ae143d69f4e00f61970f0485b434bee0b78..c4e3c89e5d7aeb26540a746aa699cfd2f332433a 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_ENV_ADDR=0x20500000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_DM=y
 CONFIG_SATA=y
 CONFIG_SCSI_AHCI=y
index 417c8481241c781007b305ab638caba152997f46..1d0e303da2e1915deca2b00e83704fcc0ef94335 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_ENV_ADDR=0x20500000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_DM=y
 CONFIG_SATA=y
 CONFIG_SCSI_AHCI=y
index 8b5bb130f67d033088ac3038053158463ab2c11f..16c32c4cfaabf054aff205e71ff4d94a6e28f571 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_OF_CONTROL=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_DM=y
 CONFIG_SATA=y
 CONFIG_SCSI_AHCI=y
index 2018d15a837b52600d652c720b02ecf85f3db6bb..87a03add4db9a71c7eed172b7a01104a8b499010 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_ENV_ADDR=0x20500000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_DM=y
 CONFIG_SATA=y
 CONFIG_SCSI_AHCI=y
index 1a5492e0eed5232e61f343d7c582ea72b74b80f5..c3e626c9c34b1c254df9126037179a200e756660 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_SLEEP is not set
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=6
 # CONFIG_DM_DEVICE_REMOVE is not set
 CONFIG_BCM6348_IUDMA=y
 CONFIG_BCM6345_GPIO=y
index d5008c4b1f3f89d74adc3d2646575a478040ef13..60e0d477136a03485956ebc289ed748d0abf782b 100644 (file)
@@ -34,6 +34,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ARP_TIMEOUT=500
 CONFIG_NET_RETRY_COUNT=20
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=8
 CONFIG_CLK=y
 CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
index 35ce6ae8776d6aac08dfe8a85b53097ce7cf1979..ac906a9dcf81f1dfa108a188b1e4781c0b190755 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_SLEEP is not set
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=6
 # CONFIG_DM_DEVICE_REMOVE is not set
 CONFIG_BCM6348_IUDMA=y
 CONFIG_BCM6345_GPIO=y
index c9c50bd840736a199beb63124c979b0fc33a23c0..5caad90fe91564c6d3da5d48cef4b302d9ff35e0 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_SLEEP is not set
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_RX_ETH_BUFFER=6
 # CONFIG_DM_DEVICE_REMOVE is not set
 CONFIG_BCM6348_IUDMA=y
 CONFIG_BCM6345_GPIO=y
index caba09af8a9ed41d642d35833e67715e9bfacbc7..143c9a3867d9a7153300178f898dc86e12f3cf26 100644 (file)
  */
 #define CONFIG_SYS_MAX_FLASH_SECT      1024
 
-/*
- * NET options
- */
-#define CONFIG_SYS_RX_ETH_BUFFER       0
-
 /*
  * BOOTP options
  */
index 7a0743de41c4cbb7899a49f241d1aa5ebaf8c460..1aea9ad5c884d7537b8e64d6819d02329a1d51c1 100644 (file)
 #define CONFIG_SYS_CFI_FLASH_STATUS_POLL /* fix amd flash issue */
 #define CONFIG_SYS_MAX_FLASH_SECT      512
 
-/*
- * NET options
- */
-#define CONFIG_SYS_RX_ETH_BUFFER       0
-
 /*
  * MEMORY ORGANIZATION
  * -Monitor at top of sdram.
index de7abbe2bff1f5268311662d5ad2e6d51bf9aa2d..e30f1ebc35c0d248c2a417ec9674c2ec6c8ea86f 100644 (file)
@@ -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
index a3ed148d652b8dd0c7828ed5ce903ff88d8f8371..bc0e00cadd9ad670e27ce07d5d83afc0d1f8c2e0 100644 (file)
@@ -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
index ca7e20ba8a7a71fd0cb27cb44dfb955f2967ef4b..dec1e41936d21e863f16bf3e7d44b8b9d10c419e 100644 (file)
@@ -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
index 8c329de6aec5b81273ab0bf0f1626d500d13015c..dab512c70f02912b5aa5a5f69ddbc5135cdaf10d 100644 (file)
@@ -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
index 1f577f616618041f41c7802573ca3d6e777a2dc1..974cfc343d4234b9a255e38f2535aa95f1ca2c92 100644 (file)
@@ -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
index d3d04e7498b2f73ffa6d1a7c09eb7c670e16af8b..80ca016d2be2df2a4bbb74f1e7012523d52a747f 100644 (file)
@@ -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
 
index c23b91d0b4765a55ec8986d572a780fb428e29f7..e4b887f02e2622218514fff1b7dbb7099084e333 100644 (file)
@@ -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
index 1af3bfb47291a7ad731e81118c799bc954a33ce4..9ad09e827e99c6269d151022a7141dbecf9a9dca 100644 (file)
@@ -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
index 651eb19759fcb73e4f80481cd6f8683104b32ab8..e4bd13b47dcc8ad2838335bd5f1f549cbb2ebd7f 100644 (file)
 
 #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 */
index 0f63239e5a557620c7b2394cd3e7050b439bf2b6..57de9960956278a717c13928581758ebb7925704 100644 (file)
@@ -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, \
index 2d09a6f4c7591439bade4eb07419f0cb8ca36a69..eb015e1b20f2de75e3e3cb4f2e82d807aa359deb 100644 (file)
@@ -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
 
index 43baed8d90c00d20d283486ffefc80e831c78b82..607e76c349e13e6ccfe5393ae881287de442726a 100644 (file)
@@ -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
index eeab2abeb34ed88b0d7582eaa71536c1b7790ec5..99d8e9e4e671a7c4661dcc7efe8bdf599872685f 100644 (file)
@@ -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
 
index 91116f1021b7f3d77471a8500cd10419d26e6592..f15a4d572587e7aa247a37ef54406e817148c13f 100644 (file)
@@ -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
index 9eeb7ef9bfc2b7f9e246f5f1f512284621eab7e1..77ea1327f9a4e26e773f90c61bb6181caa3d39e4 100644 (file)
@@ -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
index 8bdfddcbc758256ceb1b969d0ba1c0c51f71098e..516a7306a644050de56af294712a77eefc3334c6 100644 (file)
@@ -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 */
index 0a782b4ae447359535ecaf433575a3dbd901a384..25470583149a70e1469b9e1328a3d17028852064 100644 (file)
  */
 #define CONFIG_SYS_CBSIZE              1024 /* Console I/O Buffer Size   */
 
-/*-----------------------------------------------------------------------
- * Networking Configuration
- */
-#define CONFIG_SYS_RX_ETH_BUFFER       8
-
 /*--------------------------------------------------
  * USB Configuration
  */
index c8a50f4e319634b92704df803b6a9d8b685d01af..9bfb8ca9b74ebf69e8fd4bdfc41a591375a5e8d9 100644 (file)
 #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
index b02e4f630c012883044175b2160629c4f7a1b867..675bf4171b177603d4e35141550b6fd3f22daafa 100644 (file)
@@ -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 */
index af6856f7fc3b38d834381329df713e17be51eea2..ef0aa161f7307d1c988c700dfc7fe052f298352d 100644 (file)
@@ -160,3 +160,12 @@ config BOOTP_SERVERIP
          bootp and tftp.
 
 endif   # if NET
+
+config SYS_RX_ETH_BUFFER
+       int "Number of receive packet buffers"
+       default 4
+       help
+         Defines the number of Ethernet receive buffers. On some Ethernet
+         controllers it is recommended to set this value to 8 or even higher,
+         since all buffers can be full shortly after enabling the interface on
+         high Ethernet traffic.