[PATCH 2/2] ti: Do not remove ft_board_setup for CONFIG_NO_NET

Tom Rini trini at konsulko.com
Fri Sep 5 03:32:56 CEST 2025


On Thu, Sep 04, 2025 at 01:19:26PM +0000, Maarten Brock wrote:
> From: Tom Rini
> 
> > On Mon, Sep 01, 2025 at 04:06:10PM +0000, Maarten Brock wrote:
> > 
> > > Even when CONFIG_NO_NET is selected there is still need for a
> > > definition of ft_board_setup(). Thus move the checks for
> > > CONFIG_DM_ETH and CONFIG_DRIVER_TI_CPSW inside the function.
> > >
> > > Signed-off-by: Maarten Brock <maarten.brock at sttls.nl>
> > 
> > Shouldn't OF_BOARD_SETUP be disabled in that case?
> > 
> > --
> > Tom
> 
> Had there also been non-NET-related fixups in this ft_board_setup(),
> would that also have been your answer?
> I don't see why disabling NET drivers would have to impact anything else.

Yes it would have been my answer. And because not all dependencies are
easily expressible in Kconfig.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250904/3c8e97b1/attachment.sig>


More information about the U-Boot mailing list