[PATCH] board: ti: am335x: eth_cpsw should depend on CONFIG_NET

Tom Rini trini at konsulko.com
Tue Jun 14 14:42:55 CEST 2022


On Tue, Jun 14, 2022 at 08:44:07AM +0000, Corentin LABBE wrote:

> The origin of this patch is the breaking of am335x-hs boot
> due to commit e41651fffda7 ("dm: Support parent devices with of-platdata")
> HS boards have less SRAM for SPL and so this commit increased memory usage beyond am335x limit.
> This commit added 10 driver binding pass and am335x boot only if one pass is done.
> SPL try to do more than one pass due to eth_cpsw failing.
> Since HS SPL does not need network (and NET is already disabled in config),
> the easiest fix is to "remove" eth_cpsw from SPL by testing if NET is enabled.
> 
> Signed-off-by: Corentin LABBE <clabbe at baylibre.com>

Fixes: e41651fffda7 ("dm: Support parent devices with of-platdata")
Reviewed-by: Tom Rini <trini at konsulko.com>

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


More information about the U-Boot mailing list