[PATCH RFC next 3/5] net: tsec: make tsec_private a private structure
Simon Glass
sjg at chromium.org
Wed Apr 29 19:15:02 CEST 2026
On 2026-04-29T10:35:00, Quentin Schulz <foss+uboot at 0leil.net> wrote:
> net: tsec: make tsec_private a private structure
>
> Move the definition of tsec_private within the only file that makes use
> of it.
>
> This adds the benefit of include/tsec.h not referencing PKTBUFSRX (which
> is set to CONFIG_SYS_RX_ETH_BUFFER, which we're trying to move to be
> under CONFIG_NET dependency) anymore. Considering drivers/net/tsec.c is
> only built if CONFIG_NET=y, this is fine.
>
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
>
> drivers/net/tsec.c | 17 +++++++++++++++++
> include/tsec.h | 17 -----------------
> 2 files changed, 17 insertions(+), 17 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list