]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: ls102xa: use platform data to check Ethernet interface is not SGMII
authorQuentin Schulz <quentin.schulz@cherry.de>
Thu, 7 May 2026 10:37:09 +0000 (12:37 +0200)
committerJerome Forissier <jerome.forissier@arm.com>
Wed, 3 Jun 2026 14:55:55 +0000 (16:55 +0200)
commit4cbd0faab82cf6477236205b5e0894be2110f723
tree2d6aee70967a097d8d3ccb50d1a9f830eb6e64f5
parent081ffe9b3fc7ec1ec8eb7ced39d218f525f741e9
arm: ls102xa: use platform data to check Ethernet interface is not SGMII

tsec_private should, as its name suggests, be private. In the next
commit, it'll be moved from a publicly available header file to the C
file that requires it. ls102xa currently does not allow us to do that
because it uses the structure.

The flag is actually set if the Ethernet PHY interface is SGMII in
drivers/net/tsec.c, so simply replace the current check with the same
check made in drivers/net/tsec.c to set the flag.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
arch/arm/cpu/armv7/ls102xa/fdt.c