[PATCH 0/4] net: macb: support for instances with less features

Jerome Forissier jerome.forissier at arm.com
Wed May 6 11:01:35 CEST 2026



On 28/04/2026 20:04, Christian DREHER via B4 Relay wrote:
> Hi,
> 
> I am updating the macb driver to use it on a new SoC with a Cadence
> GEM (IP7014). The GEM is instantiated with a different setup than the
> ones in the Atmel family, and this patchset allows the driver to run
> on this other configuration, with no significant change of behavior
> on already supported platforms. (The support of the SoC itself will
> not reach the mailing-list before months).
> 
> This patchset was tested on emulator, with a RGMII fixed-link, by
> pinging a remote host (an actual computer, connected to the emulator
> and running Linux). The test produced an ARP request/answer followed
> by a successful ICMP request/answer, using the legacy IP stack in
> u-boot.
> 
> The patchset was developed and tested on top of U-boot v2026.1
> 
> It was not tested for non-regression on previous hardware, since I do
> not own any.
> 
> This patchset
> * Remove a build issue when the mach does not have its own clk.h
> * Uses MAC filter 1 instead of 3, for GEMs without 3 filters
> * Does not set the user_io register on GEMs that do not have one
> * Add fixed-link for Gigabit (added for test purpose, may be dropped)
> 
> Thanks,
> Christian
> 
> Signed-off-by: Christian DREHER <christian.dreher at nanoxplore.com>
> ---
> Christian DREHER (4):
>       net: macb: include arch/clk.h only when necessary
>       net: macb: use SA1 for MAC filtering on GEM
>       net: macb: do not set user_io when it does not exist
>       net: macb: add gigabit implementation for fixed-link
> 
>  drivers/net/macb.c | 94 ++++++++++++++++++++++++++++++++++++++++--------------
>  drivers/net/macb.h |  2 ++
>  2 files changed, 72 insertions(+), 24 deletions(-)
> ---
> base-commit: 4433253ecf2041f9362a763bb6cb79960921ac7e
> change-id: 20260428-net-macb-support-for-feature-lite-instances-fb0707bbad26
> 
> Best regards,
> --  
> Christian DREHER <christian.dreher at nanoxplore.com>

Series added to the net queue, thanks!

-- 
Jerome



More information about the U-Boot mailing list