summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Marginean <alexandru.marginean@nxp.com>2019-07-03 12:11:39 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-07-25 13:13:30 -0500
commitff6c6b2d6d9fc2cadd9bf171f106f8d53ba47496 (patch)
treea9eb18e8b10d8aa4998fcb8533cf11a4c36eb540 /include
parenta9aa4c5700c68c070d63a391b51ea8d341b6e8a6 (diff)
downloadu-boot-ff6c6b2d6d9fc2cadd9bf171f106f8d53ba47496.tar.gz
u-boot-ff6c6b2d6d9fc2cadd9bf171f106f8d53ba47496.tar.xz
u-boot-ff6c6b2d6d9fc2cadd9bf171f106f8d53ba47496.zip
include: configs: ls1028a: set SYS_RX_ETH_BUFFER to 8
LS1028A ethernet interfaces work with at least 8 BDs, set number of buffers to match that. Signed-off-by: Alex Marginean <alexm.osslist@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls1028a_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index 896d7a33b5..a6c7c3753d 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -194,4 +194,8 @@
#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 */