* [nomadik:ixp4 13/54] drivers//mtd/maps/physmap-ixp4xx.c:40:4: error: #error CONFIG_MTD_CFI_BE_BYTE_SWAP required for LE operation
@ 2019-02-28 15:29 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-02-28 15:29 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 2151 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ixp4
head: 053c8f0451e047c9d2efe70a7a66e962aceb684d
commit: dbaf6263142ce5d89ad7986d15d3a37f747f28f3 [13/54] mtd: physmap_of: add a hook for Intel IXP4xx flash probing
config: s390-allyesconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout dbaf6263142ce5d89ad7986d15d3a37f747f28f3
# save the attached .config to linux build tree
GCC_VERSION=8.2.0 make.cross ARCH=s390
All errors (new ones prefixed by >>):
>> drivers//mtd/maps/physmap-ixp4xx.c:40:4: error: #error CONFIG_MTD_CFI_BE_BYTE_SWAP required for LE operation
# error CONFIG_MTD_CFI_BE_BYTE_SWAP required for LE operation
^~~~~
vim +40 drivers//mtd/maps/physmap-ixp4xx.c
18
19 /*
20 * Read/write a 16 bit word from flash address 'addr'.
21 *
22 * When the cpu is in little-endian mode it swizzles the address lines
23 * ('address coherency') so we need to undo the swizzling to ensure commands
24 * and the like end up on the correct flash address.
25 *
26 * To further complicate matters, due to the way the expansion bus controller
27 * handles 32 bit reads, the byte stream ABCD is stored on the flash as:
28 * D15 D0
29 * +---+---+
30 * | A | B | 0
31 * +---+---+
32 * | C | D | 2
33 * +---+---+
34 * This means that on LE systems each 16 bit word must be swapped. Note that
35 * this requires CONFIG_MTD_CFI_BE_BYTE_SWAP to be enabled to 'unswap' the CFI
36 * data and other flash commands which are always in D7-D0.
37 */
38 #ifndef __ARMEB__
39 #ifndef CONFIG_MTD_CFI_BE_BYTE_SWAP
> 40 # error CONFIG_MTD_CFI_BE_BYTE_SWAP required for LE operation
41 #endif
42
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 53016 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-28 15:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-28 15:29 [nomadik:ixp4 13/54] drivers//mtd/maps/physmap-ixp4xx.c:40:4: error: #error CONFIG_MTD_CFI_BE_BYTE_SWAP required for LE operation kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).