Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F23AFC43334 for ; Tue, 14 Jun 2022 12:43:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9F6208395F; Tue, 14 Jun 2022 14:43:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="LVxb1W5x"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 370738395F; Tue, 14 Jun 2022 14:43:02 +0200 (CEST) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7FDA6837BB for ; Tue, 14 Jun 2022 14:42:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x836.google.com with SMTP id b3so532151qtp.4 for ; Tue, 14 Jun 2022 05:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=RHFCdBQRy+iMl/nIKcPEpc+Hqq+2nc13J4PqU1dW0m4=; b=LVxb1W5xeAZDtfaII+pEUiTxEej67R/Jm8WBI5NpqTYM9QYe8QlIcQxcks5hVHnM+y FQo8qw9E7fIUFNKjBRAZYhunoDSZP87XhXcwm06tvWnXl3UoPiKEJOYd4xtn3dC88qqx QR8TP9vunYjcYB5MdtT0miZf+PfbQYdlJT+Ks= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RHFCdBQRy+iMl/nIKcPEpc+Hqq+2nc13J4PqU1dW0m4=; b=mRVTycGhQw6TqDJKcNn8JQ0zmBCMJCrbxaItaVLj8ZN9/CF5bcSjQzdREB0HUIYFGW I0ThK8JRK7YKBUNs+ifWA5qotIHE1osTJgOWOZBodPWqdF1sixXbP7O8XkSkXEfN0hMD 4cfBl3Pdjaz6fvOfmaFuxto5GMzCYG5BiyKjM5//JbaYSG8Eb+j0oft2yD8nSgHsUVGS Fv/zejo5n71ABg1hoBB4H9ctwrksr1R1S05SMUHpgiSLfnzR4RT3m3wFx9Fdwb9G7R/o 4bDi2wtwyE6VJxN/35X0MEI25tz0UKrPsSx8wgGItDFIntEo96Wbl6X3HYN5VQbPEoeJ yhxA== X-Gm-Message-State: AOAM5317OsV5eupQOgaiigTjktRZAChzhL3ElnQeNMZVSLt7nMsHohZt hL8IXw9EQhanfDv69EKhVN/d2w== X-Google-Smtp-Source: ABdhPJyZJtstS9yOJdxUHf4wWv0H+AfOYTRvScKkTlZlqSa0G7zxkttDiuEANl6OmeMMAZbPgVFtag== X-Received: by 2002:a05:622a:608c:b0:2f1:e3fa:b603 with SMTP id hf12-20020a05622a608c00b002f1e3fab603mr3862232qtb.48.1655210578209; Tue, 14 Jun 2022 05:42:58 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id v11-20020a05620a440b00b006a6d3a6d597sm9909571qkp.71.2022.06.14.05.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 05:42:57 -0700 (PDT) Date: Tue, 14 Jun 2022 08:42:55 -0400 From: Tom Rini To: Corentin LABBE Cc: afd@ti.com, u-boot@lists.denx.de Subject: Re: [PATCH] board: ti: am335x: eth_cpsw should depend on CONFIG_NET Message-ID: <20220614124255.GY2484912@bill-the-cat> References: <20220614084407.1991748-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wICysDeFgFMelglS" Content-Disposition: inline In-Reply-To: <20220614084407.1991748-1-clabbe@baylibre.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --wICysDeFgFMelglS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 usag= e 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 ena= bled. >=20 > Signed-off-by: Corentin LABBE Fixes: e41651fffda7 ("dm: Support parent devices with of-platdata") Reviewed-by: Tom Rini --=20 Tom --wICysDeFgFMelglS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmKogk8ACgkQFHw5/5Y0 tyzKjQv9ExJEOOlmGsLMxaa2z+0KEncLtZTgFl0nj28PK1AgVvxnP628M7qVDKSd ql23A/85+A8ZaK2LFYpbL4N3Fb2ukXUICQcKg2VsjTD4T5K+KjzE4tAuTYwmPj9s XLncyMQyRiOhBOu2EUpTQEeMhKfWR55/bjlfrK8OMm7UKaMubO8JRjZN9cKg5eeP 0t4eaCeOsq/q+FGiiBja7YV2AgDe4pJHwECCiDx5C0mMMDMSRjlXC9+u4vH77rj+ stWQA8B0TsyzSqAJV4AiTPRQvt2WYQIJgD3ltSO63rdHLRo3ncVbJLhD6CBtVD0a 8yuzIxdcYCYwpCNKb+FlAFd08DYw3ndkFdqLe9UO2f3SG5Np99BYnFdLhkcvS/Tg rEUq+GOs0hLjmW+x7G6kZ46yvgT8KKb9YyBhLffV3sf46FboYYW0xGSOxIdn+kni 6wx9iv8cnvrZljREZTyFiyfJqasAnF/it72OuAdnVUFU6VRlrHpnj8xYStkVzyH0 cCD37YVC =l770 -----END PGP SIGNATURE----- --wICysDeFgFMelglS--