[PATCH] arm: stm32mp25: add ethernet support for stm32mp255 series
Patrice CHOTARD
patrice.chotard at foss.st.com
Mon Oct 27 17:36:04 CET 2025
On 10/8/25 08:36, Asadeds wrote:
> 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 at eds-india.com>
> ---
> arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c b/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
> index 0d199f6f903..48b452f01b1 100644
> --- a/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
> +++ b/arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
> @@ -78,6 +78,16 @@ int get_eth_nb(void)
> case CPU_STM32MP257Axx:
> nb_eth = 5; /* dual ETH with TSN support */
> break;
> + case CPU_STM32MP255Dxx:
> + fallthrough;
> + case CPU_STM32MP255Axx:
> + fallthrough;
> + case CPU_STM32MP255Cxx:
> + fallthrough;
> + case CPU_STM32MP255Fxx:
> + fallthrough;
> + nb_eth = 2;
> + break;
> case CPU_STM32MP253Fxx:
> fallthrough;
> case CPU_STM32MP253Dxx:
I forgot, remove linux-stm32 at st-md-mailman.stormreply.com from Cc as it's an U-Boot
patch and add patrick.delaunay at foss.st.com and myself instead.
Thanks
More information about the U-Boot
mailing list