From mboxrd@z Thu Jan 1 00:00:00 1970 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 7C820C433F5 for ; Mon, 17 Jan 2022 18:36:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EA5D4830DC; Mon, 17 Jan 2022 19:36:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (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="F4eaJSRA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D5FB5834A0; Mon, 17 Jan 2022 19:36:13 +0100 (CET) Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (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 CBE6682A71 for ; Mon, 17 Jan 2022 19:36:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf32.google.com with SMTP id t1so4037885qvp.4 for ; Mon, 17 Jan 2022 10:36:10 -0800 (PST) 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=8eJW3RjD7cja3ol9W5WAUa+ZkccIjZsu+UYMVRMtwhE=; b=F4eaJSRAkq3uSbuV285fLUvjiIr4f3vWuOf4QkzkVj19iANjP2xyo3hFDpr/8yYU+i 9g7zD/N5aAEIiv/gYDP34l44nNt6pEkAagVj6ld6An5rVi4Zv8/qkcCGHzEUzTegjTAS 90njgp++iSs9KEKviPaCaN38JpuHLgCENM8Aw= 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=8eJW3RjD7cja3ol9W5WAUa+ZkccIjZsu+UYMVRMtwhE=; b=e27qtNBGGJI15AtJph6+tODu6c5YgeoDnne3AzB0KCve8sF6RfPwOYTW8c/tjqARlo ulgo9psLKwHk36JB0tLafAUnpFL6Z7hzy6SvpSlks3+SuNYNzzr/N6DggvJEKPsWiBxv W1hzou62bxtuZc8xlryoNBp1606+Cjij4hoynDDcBH8l44spmMaV0WcdNsDcKhYlpY3I Y4C62qHf4Z3m9/nXzoLT9OpAOcA9XnwJenbjZzzsVgYPQucBplNbBvx/KVbnrsdr4BSr b2PvaMGyx4PEJN7HP/XZE7IxUSjb0iNHbUHFTtPQQ19DjHfHTA2X3fMCiBLfzBhSORvJ T27A== X-Gm-Message-State: AOAM531IkTKBp4kxGWhpUroY3pBdZOkY10IqepFkJ8FaIPZP3AiJJaJa CvTtfu8rVyx+EuIi3DIiY/I5Ng== X-Google-Smtp-Source: ABdhPJxiU08Jc0G6MUz0PdlDPvfrIEYGPqVITiGJ9C7gFVKA0rTPcpteeVfUprDSU2kKyl7II2tivg== X-Received: by 2002:ad4:5d69:: with SMTP id fn9mr13827786qvb.20.1642444569693; Mon, 17 Jan 2022 10:36:09 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-8dc3-db57-8e4a-695a.res6.spectrum.com. [2603:6081:7b01:cbda:8dc3:db57:8e4a:695a]) by smtp.gmail.com with ESMTPSA id j5sm8747335qki.9.2022.01.17.10.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 10:36:09 -0800 (PST) Date: Mon, 17 Jan 2022 13:36:07 -0500 From: Tom Rini To: Amjad Ouled-Ameur Cc: u-boot@lists.denx.de, Roger Quadros , Heiko Schocher , Igor Opaniuk , Kory Maincent , Lokesh Vutla , Priyanka Jain , Rick Chen , Sean Anderson , Simon Glass , khilman@baylibre.com Subject: Re: [PATCH] board: ti: am335x: Choose CPSW or PRUSS configuration based on jumper setting Message-ID: <20220117183607.GS2631111@bill-the-cat> References: <20211029140817.85307-1-aouledameur@baylibre.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1R6ZDISWaA1muLP0" Content-Disposition: inline In-Reply-To: <20211029140817.85307-1-aouledameur@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.2 at phobos.denx.de X-Virus-Status: Clean --1R6ZDISWaA1muLP0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 29, 2021 at 04:08:17PM +0200, Amjad Ouled-Ameur wrote: > The am335x-ice-v2 board's Ethernet ports can be configured > in 'MII' or 'RMII' mode to be connected to 'PRUSS' or 'CPSW' > Ethernet subsystems. >=20 > This patch sets the environment variable 'ice_mii' to > 'mii' or 'rmii' accordingly. Based on that we choose the > appropriate board devicetree i.e. 'am335x-ice-v2.dtb' or > 'am335x-ice-v2-prueth.dtb'. >=20 > Since there are 2 Ethernet ports with 2 modes, there can be 4 > configurations but for now we consider both ports in different modes > to be an invalid configuration and prevent boot in that case. >=20 > Signed-off-by: Roger Quadros > [Amjad: use overlay instead of using new am335x-ice-v2-prueth.dtb] > Signed-off-by: Amjad Ouled-Ameur > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! --=20 Tom --1R6ZDISWaA1muLP0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmHltxAACgkQFHw5/5Y0 tywswgwAqg/qx7BcHKyEvisTXkxBW4Pkl/JGHSheT9PFwxD00WIV4LIhNMhbKl3n OgmqO3oq8NfegUCQzTik1+5GLteNXZSfHw/iB5YeJwUUVcuDz5yE3VKw0D+O+dJg 5XNVW7lOUMgSNI/8aJ83P5BoLngpsmBBY7BOW+zqGFeoLLhLsjYkleeY9SjXBEus 1W1+KjswNJgTFdivWO9y1+dPrsZtW5Lx2uoYOP7UNafRhByL3i87JaPx72+oF3jY cTbjhP/V719XfobYgd5wm32+jiV0FQ6V420iCVbaHKUuO8HeaP91mbSEVZqAoVMv HbxKkJnVAm+uRflUZ+fz20AZcAJUHV4/VKP6FPQrmaV8naUvrLa2PMLYLpZEAbD5 qOfYJkqcuLzayUFAa09CUHWYIOb9uN4ljxHDXQy5eSDbzCngr6ckahJzMi9n6rBP VbfnPHC/47fjKnkt5wCbb+VK8AfvNJ2R1wqsLPgPXHRAWmIkw7v3aqZI9pMbMW4v +HS8em20 =+f7x -----END PGP SIGNATURE----- --1R6ZDISWaA1muLP0--