summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsadeds <[email protected]>2025-10-28 11:09:26 +0530
committerTom Rini <[email protected]>2025-11-17 10:44:19 -0600
commit16da0356414a789dd910d4597ebc80b968aae03c (patch)
tree05b187fe21ce7b8068741bd4c9d85cf943a2234a
parent8876396fc7b4c95f295bb65cefcf3763b6a313ca (diff)
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 <[email protected]>
-rw-r--r--arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c8
1 files changed, 8 insertions, 0 deletions
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: