diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-12-10 21:38:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-12-11 01:15:11 +0000 |
commit | 2a9d92fb3a1282a4659f1bb6d5684018846537b7 (patch) | |
tree | d79e15d009e74fbc7610842c114c1383c2fdcc9a /drivers/spi/Makefile | |
parent | a24626d72915fef2b38bb8467b3714f17efae6c0 (diff) | |
download | linux-2a9d92fb3a1282a4659f1bb6d5684018846537b7.tar.bz2 |
mtd: atmel-quadspi: disallow building on ebsa110
I ran into a link-time error with the atmel-quadspi driver on the
EBSA110 platform:
drivers/mtd/built-in.o: In function `atmel_qspi_run_command':
:(.text+0x1ee3c): undefined reference to `_memcpy_toio'
:(.text+0x1ee48): undefined reference to `_memcpy_fromio'
The problem is that _memcpy_toio/_memcpy_fromio are not available on
that platform, and we have to prevent building the driver there.
In case we want to backport this to older kernels: between linux-4.8
and linux-4.20, the Kconfig entry was in drivers/mtd/spi-nor/Kconfig
but had the same problem.
Link: https://lore.kernel.org/patchwork/patch/812860/
Fixes: 161aaab8a067 ("mtd: atmel-quadspi: add driver for Atmel QSPI controller")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/spi/Makefile')
0 files changed, 0 insertions, 0 deletions