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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45960C433F5 for ; Mon, 27 Sep 2021 14:49:54 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2B7C2604DC for ; Mon, 27 Sep 2021 14:49:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2B7C2604DC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 679D8812B6; Mon, 27 Sep 2021 16:49:50 +0200 (CEST) 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="ASEigygu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CE49481761; Mon, 27 Sep 2021 16:49:46 +0200 (CEST) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 915068020E for ; Mon, 27 Sep 2021 16:49:42 +0200 (CEST) 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-qk1-x733.google.com with SMTP id x12so3709604qkf.9 for ; Mon, 27 Sep 2021 07:49:42 -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:user-agent; bh=ca7OkJMX9050Z1mZM8ND84ZONyeyG/C0hABjm+GsTF8=; b=ASEigygumI9A6XmAXQCU0BzQotjTEw6gdF4KQWxKbRLNezl+6Ix6JCm7vAATLkqEMk uin1dgHMQHhd8qEGT87ZwUMojq140Y6y3jcEiaKEhgz5fcFiidJ8ptcG6oPJi4OFaOBX j+4RkkM0WadaHULjResas6ci/xBKLTKnXOQhQ= 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:user-agent; bh=ca7OkJMX9050Z1mZM8ND84ZONyeyG/C0hABjm+GsTF8=; b=sS4owwwXjfsYOUmXHAE/UcmVKUKhbA5dXRR6aU81Lbr1D7vkImlt60xTu+V10d0tfu 7xJoNI9RT3W27UZx75gPiCcywckpJeXZtnKwIJyJBodWFPHDai8w8EnxDsEtZvngNlJZ vsY2igQc0tShxnHPO4EpVdmdPaSM0Qe9oAEy06qe8kG5jjX33T5VoO2XQtj4Qhz+r9Ez fYkW4RlrF6ju7381HTAnX4FBFHf+oKkDTjcFizAcPVd63Y3AVdoHCCWsZgKIzNoJyS7l QOEA7/nFQy103LB5dxOBEIMjOuFAPllPTt+ZuiMZ+fAjgiZsjTLT1KZ0qzqAkftFbKsF MzrA== X-Gm-Message-State: AOAM531Q7TUqdmNDzqcFOxiNRmFKPOq5ehwQjKpW5qEWiwf0nl3ZYBHH SjhPHitBG6QNPwRL9Nfd+sC+3Q== X-Google-Smtp-Source: ABdhPJzX8r7J8vPw3s22U6buTFl6EVZZraNHxKnj11Cu5p2ixoPimPjEJNzE2X9gzMdygrvmIflX0w== X-Received: by 2002:a37:2714:: with SMTP id n20mr313695qkn.221.1632754181166; Mon, 27 Sep 2021 07:49:41 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-ac93-cd04-265f-76da.res6.spectrum.com. [2603:6081:7b01:cbda:ac93:cd04:265f:76da]) by smtp.gmail.com with ESMTPSA id 9sm12496400qkc.52.2021.09.27.07.49.40 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Sep 2021 07:49:40 -0700 (PDT) Date: Mon, 27 Sep 2021 10:49:38 -0400 From: Tom Rini To: Wolfgang Denk Cc: Adam Ford , u-boot@lists.denx.de Subject: Re: Bug in board/logicpd/omap3som/omap3logic.h ??? Message-ID: <20210927144938.GK31748@bill-the-cat> References: <2186934.1632753901@gemini.denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zd5GkkQQtETumrwc" Content-Disposition: inline In-Reply-To: <2186934.1632753901@gemini.denx.de> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 --zd5GkkQQtETumrwc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 27, 2021 at 04:45:01PM +0200, Wolfgang Denk wrote: > Dear Adam, >=20 > commit 25e4ff45b17 "ARM: omap3_logic: Enable OMAP EHCI support for > SOM-LV Boards" added (among other things) these lines: >=20 > ... > 243 MUX_VAL(CP(MCSPI2_SOMI), (IEN | PTD | DIS | M0)); = /*HSUSB2_DATA5*/ > 244 MUX_VAL(CP(MCSPI2_CS0), (IEN | PTD | EN | M0)); = /*HSUSB2_DATA6*/ > 245 MUX_VAL(CP(MCSPI2_CLK), (IEN | PTD | DIS | M0)); = /*HSUSB2_DATA7*/ > 246 MUX_VAL(CP(SYS_BOOT2), (IEN | PTD | DIS | M4)) /* GP= IO_4 */ > 247 MUX_VAL(CP(ETK_D10_ES2), (IDIS | PTU | DIS | M3)); = /*HSUSB2_CLK*/ > 248 MUX_VAL(CP(ETK_D11_ES2), (IDIS | PTU | DIS | M3)); = /*HSUSB2_STP*/ > 249 MUX_VAL(CP(ETK_D12_ES2), (IEN | PTU | DIS | M3)); = /*HSUSB2_DIR*/ > ... >=20 > All the entries in set_muxconf_regs() have a terminating semicolon - > all except the entry in line # 246. >=20 > I reckon this is a mistake and should be fixed? Interesting. MUX_VAL is from arch/arm/include/asm/arch-omap3/mux.h and includes a semicolon, so that's how this didn't trip anything up. Most of the time it's not used with one either, from a quick grep. --=20 Tom --zd5GkkQQtETumrwc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFR2f8ACgkQFHw5/5Y0 tyxMwwwAhnzcBvKq7uF2Jr3LjOWH5FQIZwJXn9d5gD6orBi64a3F8kNCDQc9QjUz PUfJ6Ux0aYxkEJ0wTX15+vilcI1LnV7nbZfXQqH85Q31PjKewf01vmcbwMgnA5lm dS5dDY9acJJY9Ysl4znXXcgYhxjfjswPKk/RxI20K9JD8QEzvcfKAMaPvIJBdVez 86t7VzHr3hRBPx0MYz9MazVmy+/h2EXv7GBmDXEnOh7Vr08eXXjRxpexj5RH70tr mo2FkyD/vqb0Biv3ARGnfCZaqRNXOjAib1NNIKPfx1RSEQJW+mkkKDoXjw2sx3OV 6DiMmlN9wOFeT+r5mpSsaUN7s3gj2td4u4/9ulZ44+nrHEt9UlYHFS04YvnqUZTy QpdBRsGT9RxT0WveD2EJO6GBl8FagXx69YO4ASGOVCofUucYyiLstgVbbdVdhHJQ Ip4Pvj7GET4pct2pT1417tvWaByxtlJBHR7jhsshWLZ/j2l9LO+0pwKeN0hZ2tc3 WghUoCic =zw1S -----END PGP SIGNATURE----- --zd5GkkQQtETumrwc--