From: Asadeds Date: Tue, 28 Oct 2025 05:39:26 +0000 (+0530) Subject: arm: stm32mp25: add ethernet support for stm32mp255 series X-Git-Tag: v2026.01-rc3~14^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16da0356414a789dd910d4597ebc80b968aae03c;p=thirdparty%2Fu-boot.git arm: stm32mp25: add ethernet support for stm32mp255 series Add missing CPU_STM32MP255* cases in get_eth_nb() so that U-Boot correctly reports 2 Ethernet interfaces on stm32mp255 devices. This fixes the "ethernet not found" error during boot. Signed-off-by: Md Asadullah --- diff --git a/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c b/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c index 12b43ea5cdf..bf1f3d3c5a7 100644 --- a/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c +++ b/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c @@ -77,6 +77,14 @@ int get_eth_nb(void) case CPU_STM32MP257Axx: nb_eth = 5; /* dual ETH with TSN support */ break; + case CPU_STM32MP255Fxx: + fallthrough; + case CPU_STM32MP255Dxx: + fallthrough; + case CPU_STM32MP255Cxx: + fallthrough; + case CPU_STM32MP255Axx: + fallthrough; case CPU_STM32MP253Fxx: fallthrough; case CPU_STM32MP253Dxx: