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 20625C433EF for ; Wed, 11 May 2022 13:34:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1EEC38433D; Wed, 11 May 2022 15:34:45 +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="WDGcz6D8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CE70484328; Wed, 11 May 2022 15:34:40 +0200 (CEST) Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (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 193E584326 for ; Wed, 11 May 2022 15:34:37 +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-qv1-xf36.google.com with SMTP id kk28so2089842qvb.3 for ; Wed, 11 May 2022 06:34:37 -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=WFUnN+q9SUzFI1Z7QSjh/FomMcXdA5sPaAUX4+hx16A=; b=WDGcz6D8eAIjoRLONwIOpD5ScP4fySRFHo83qvlB0Z+/+oWLsSPJhQPS1Z0AACWR5q jQ6DoA5asDgCurPgbaRhSD8/N+dnru92eMhdJrCrqnWXsjFmBPN0jlsaKAJNC/pJnVbV xAbhpwQT703ZZKkfO/xND7FIo2kSp3QACLU5s= 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=WFUnN+q9SUzFI1Z7QSjh/FomMcXdA5sPaAUX4+hx16A=; b=iYQCP4Akiyszpt8+/ftQpdadfyER0xL5OaQPEPyr6Wl+hl0nvEE5N/9eLHJ4XUCs/r 2mxMLgDJwsbgF52GH6XByGBY1ioMH84AmfX7jx6XE4nFU9b68T+ipO8fpWWsfniMIZ0M HixrFo7KkHxO+AbM0JAI5x2NWz+INue9cASKb9AIYd4fDAHl89K9q/bNg57MaDHN5e2O XW6zQ2WONwaTnJKnqPnLkYb7pFMtPAzUu8IYO43HaBGYxNAjAi24FbZT6/EG/RE7c678 yuIzp/9e/ASm4b+27hPj8ZvnegIVY6JbzppietxOuTbW6uwnEPXif+F9Qf7n4TeZqv9F wTeQ== X-Gm-Message-State: AOAM532DjVGa5+8ylFpZ1yOhKjk/hlipwG6vu93LxXpr8KFSU3+VTbRa PpFAN3dREJ7F1YP0Creh2E7Oew== X-Google-Smtp-Source: ABdhPJxN/XisdlFxWqnBbTj2JhGsL3mJ8VKK21rlYtitaYERS2u9iXuPCzYyfk9JAByTKg/k4nx+SQ== X-Received: by 2002:a0c:f703:0:b0:456:3799:b153 with SMTP id w3-20020a0cf703000000b004563799b153mr22083984qvn.97.1652276075884; Wed, 11 May 2022 06:34:35 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-4500-b057-3c7b-12c2-aabf.res6.spectrum.com. [2603:6081:7b01:4500:b057:3c7b:12c2:aabf]) by smtp.gmail.com with ESMTPSA id b6-20020a05620a270600b0069fc13ce1f6sm1157543qkp.39.2022.05.11.06.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 06:34:35 -0700 (PDT) Date: Wed, 11 May 2022 09:34:33 -0400 From: Tom Rini To: Paul Barker Cc: u-boot@lists.denx.de Subject: Re: [PATCH 3/3] exports: Fix export of SPI access functions Message-ID: <20220511133433.GQ3901321@bill-the-cat> References: <20220505153242.1598807-1-paul.barker@sancloud.com> <20220505153242.1598807-4-paul.barker@sancloud.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mHEGYOlXWdrdotU2" Content-Disposition: inline In-Reply-To: <20220505153242.1598807-4-paul.barker@sancloud.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 --mHEGYOlXWdrdotU2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 05, 2022 at 03:32:42PM +0000, Paul Barker wrote: > * With CONFIG_DM_SPI defined, spi_get_bus_and_cs needs to be used > instead of spi_setup_slave to configure a SPI bus. As spi_setup_slave is > already present in the export list it is reasonable to also export > spi_get_bus_and_cs. >=20 > * For the functions listed in the jump table to be callable they must > also be defined in the "exports.h" header. Define the various exported > SPI functions so that they can be used. >=20 > Signed-off-by: Paul Barker Reviewed-by: Tom Rini --=20 Tom --mHEGYOlXWdrdotU2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJ7u2kACgkQFHw5/5Y0 tyxOCAv/TAp8gRMOLZn+bLJyBR9BWEGUz9S8awriDkZ4VS0pyUVS50g3t3Jht0yI oJhaNbd6g/0+SOttydJWhZXr+FY+R74VgBUfTDQZQeOHybIRb81/kw2VrKKuX1Ig GqDQG6WNgQbPhMbS2z6YdcFHsEnbzLFqWcBpOEyh482M30BgOXQhYL9cvWu/Tln4 MPtuaXChOaw8RMlvR+1jq/oI+hSToFmI5QNqKpZGGomScRd5Z3PM8iRvKAbPCmBg PY1F4+YLBJV2tvrpgTHIuVAP+0okSe1RqxWCmmbtQKm3hu9kyQk+fRa+rJNHBvDK lhm6HUlyYBjwb2kLJ7Trl2yxFBOogIKt0xd/ryF29x8ynUl9QTAfJ1QBOZOXOG9o z2neYelDxyskSX/RU4Zf8LhQWgzpmWDu+KMWLmH2o5d1tY89kAAKAEsPXmkmK2EQ 0nu6rg1AY29UOyyHKeDrZCL3pxwIzjrnGtE5lbxldJT4vQyu0x1OfnxQVq0rBAEi ZapcDUBV =NxW4 -----END PGP SIGNATURE----- --mHEGYOlXWdrdotU2--