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 <md.asadullah@eds-india.com>
This commit is contained in:
Asadeds 2025-10-28 11:09:26 +05:30 committed by Tom Rini
parent 8876396fc7
commit 16da035641

View File

@ -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: