]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: tsec: make tsec_private a private structure
authorQuentin Schulz <quentin.schulz@cherry.de>
Thu, 7 May 2026 10:37:10 +0000 (12:37 +0200)
committerJerome Forissier <jerome.forissier@arm.com>
Wed, 3 Jun 2026 14:55:55 +0000 (16:55 +0200)
commit987b5eabc35f3924fd10c66bb1be64a60c6feb23
treecfcbc730c1db8dc9f24d93852c52acc932a039cb
parent4cbd0faab82cf6477236205b5e0894be2110f723
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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
drivers/net/tsec.c
include/tsec.h