From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Witold Sadowski <wsadowski@marvell.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"broonie@kernel.org" <broonie@kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"pthombar@cadence.com" <pthombar@cadence.com>
Subject: Re: [EXTERNAL] Re: [PATCH v11 4/9] spi: cadence: Add Marvell SDMA operations
Date: Tue, 30 Jul 2024 12:12:19 +0200 [thread overview]
Message-ID: <CAMuHMdUbTm++Vcf8f-wAnHgXF4wgJydE3dAn2hO0oAiTtMkouQ@mail.gmail.com> (raw)
In-Reply-To: <CO6PR18MB4098B578E6DED1FF39C3ECF1B0B02@CO6PR18MB4098.namprd18.prod.outlook.com>
Hi Witold,
On Tue, Jul 30, 2024 at 12:06 PM Witold Sadowski <wsadowski@marvell.com> wrote:
> > drivers/spi/spi-cadence-xspi.c:612:33: error: implicit declaration of
> > function 'readq'; did you mean 'readb'?
> > [-Werror=implicit-function-declaration]
> > drivers/spi/spi-cadence-xspi.c:638:25: error: implicit declaration of
> > function 'writeq'; did you mean 'writel'?
> > [-Werror=implicit-function-declaration]
> >
> >
> > readq() and writeq() are not available on 32-bit platforms, so this
> > driver has to
> > depend on 64BIT (for compile-testing).
> >
> > > + *buffer++ = b;
> > > + } while (--full_ops);
> > > + }
>
> How can I limit that driver for 64bit test only?
drivers/spi/Kconfig, config SPI_CADENCE_XSPI:
-depends on OF && HAS_IOMEM
+depends on OF && HAS_IOMEM && 64BIT
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2024-07-30 10:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-24 15:47 [PATCH v11 0/9] Marvell HW overlay support for Cadence xSPI Witold Sadowski
2024-07-24 15:47 ` [PATCH v11 1/9] spi: dt-bindings: cadence: Add Marvell overlay bindings documentation for Cadence XSPI Witold Sadowski
2024-07-24 15:47 ` [PATCH v11 2/9] spi: cadence: Add static PHY configuration in Marvell overlay Witold Sadowski
2024-07-24 15:47 ` [PATCH v11 3/9] spi: cadence: Add clock configuration for Marvell xSPI overlay Witold Sadowski
2024-07-24 15:47 ` [PATCH v11 4/9] spi: cadence: Add Marvell SDMA operations Witold Sadowski
2024-07-30 8:25 ` Geert Uytterhoeven
2024-07-30 10:06 ` [EXTERNAL] " Witold Sadowski
2024-07-30 10:12 ` Geert Uytterhoeven [this message]
2024-07-30 10:17 ` Witold Sadowski
2024-07-30 10:32 ` Mark Brown
2024-07-24 15:47 ` [PATCH v11 5/9] spi: cadence: Add Marvell xSPI interrupt changes Witold Sadowski
2024-07-24 15:47 ` [PATCH v11 6/9] spi: cadence: Add Marvell xfer operation support Witold Sadowski
2024-07-24 15:47 ` [PATCH v11 7/9] spi: cadence: Change resource mapping Witold Sadowski
2024-07-24 15:47 ` [PATCH v11 8/9] spi: cadence: Change cs property reading Witold Sadowski
2024-07-24 15:47 ` [PATCH v11 9/9] spi: cadence: Try to read spi-tx/rx-bus width property using ACPI Witold Sadowski
2024-07-29 18:02 ` [PATCH v11 0/9] Marvell HW overlay support for Cadence xSPI Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMuHMdUbTm++Vcf8f-wAnHgXF4wgJydE3dAn2hO0oAiTtMkouQ@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=pthombar@cadence.com \
--cc=robh@kernel.org \
--cc=wsadowski@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®