[PATCH RFC next 2/5] arm: ls102xa: use platform data to check Ethernet interface is not SGMII

Simon Glass sjg at chromium.org
Wed Apr 29 19:15:00 CEST 2026


On 2026-04-29T10:35:00, Quentin Schulz <foss+uboot at 0leil.net> wrote:
> 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.
>
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
>
> arch/arm/cpu/armv7/ls102xa/fdt.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list