[PATCH] board: ti: am335x: eth_cpsw should depend on CONFIG_NET
Tom Rini
trini at konsulko.com
Fri Jun 17 15:17:25 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>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Acked-by: Andrew Davis <afd at ti.com>
Applied to u-boot/master, thanks!
--
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/20220617/a7687f68/attachment.sig>
More information about the U-Boot
mailing list