From: Alex Marginean Date: Wed, 3 Jul 2019 09:11:39 +0000 (+0300) Subject: include: configs: ls1028a: set SYS_RX_ETH_BUFFER to 8 X-Git-Tag: v2019.10-rc1~11^2~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff6c6b2d6d9fc2cadd9bf171f106f8d53ba47496;p=oweals%2Fu-boot.git 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 Reviewed-by: Bin Meng Acked-by: Joe Hershberger --- 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 #endif +/* Ethernet */ +/* smallest ENETC BD ring has 8 entries */ +#define CONFIG_SYS_RX_ETH_BUFFER 8 + #endif /* __L1028A_COMMON_H */