# git rev-parse -q --verify cbf5c33ba2f308fc9a42c947d3478698d10fd205^{commit} cbf5c33ba2f308fc9a42c947d3478698d10fd205 already have revision, skipping fetch # git checkout -q -f -B kisskb cbf5c33ba2f308fc9a42c947d3478698d10fd205 # git clean -qxdf # < git log -1 # commit cbf5c33ba2f308fc9a42c947d3478698d10fd205 # Author: Cédric Le Goater # Date: Fri Jun 22 12:13:04 2018 +0200 # # mtd: spi-nor: aspeed: introduce optimized settings for fast reads # # Better settings for fast reads are looked for by implementing a SPI # Timing calibration sequence described in the Aspeed SoC specification # document. The code is based on the OpenPOWER pflash tool and a similar # sequence using DMAs can be found in the SDK U-Boot. # # The SPI calibration performs a loop on different SPI clock rates # (dividers of the AHB clock rates) and on different input delay cycles # for each SPI clock rates. The successive read results are compared to # a golden buffer, read at low speed, to select the fastest read # settings for the chip. # # The "spi-max-frequency" property is used to cap the optimize read # algorithm on some devices or controllers for which we want a safe # setting, on the FMC controller chips for instance. # # It can also be deactivated at boot time with a kernel parameter # 'optimize_read', but that was never used on the field. # # Signed-off-by: Cédric Le Goater # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < git log --format=%s --max-count=1 cbf5c33ba2f308fc9a42c947d3478698d10fd205 # < make -s -j 48 ARCH=mips O=/kisskb/build/cdrx_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MIPS_CPS_NS16550_BASE=0x1b0003f8 # Added to kconfig CONFIG_MIPS_CPS_NS16550_SHIFT=0 # Added to kconfig # yes \n | make -s -j 48 ARCH=mips O=/kisskb/build/cdrx_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=mips O=/kisskb/build/cdrx_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- :1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] :1335:2: warning: #warning syscall rseq not implemented [-Wcpp] /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-objcopy: architecture UNKNOWN! unknown /kisskb/src/net/bpfilter/Makefile:31: recipe for target 'net/bpfilter/bpfilter_umh.o' failed make[3]: *** [net/bpfilter/bpfilter_umh.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/scripts/Makefile.build:558: recipe for target 'net/bpfilter' failed make[2]: *** [net/bpfilter] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/Makefile:1034: recipe for target 'net' failed make[1]: *** [net] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^ /kisskb/src/drivers/spi/spi-sh-msiof.c:77:0: warning: "STR" redefined #define STR 0x40 /* Status Register */ ^ In file included from /kisskb/src/arch/mips/include/asm/mach-generic/spaces.h:15:0, from /kisskb/src/arch/mips/include/asm/addrspace.h:13, from /kisskb/src/arch/mips/include/asm/barrier.h:11, from /kisskb/src/include/linux/compiler.h:245, from /kisskb/src/arch/mips/include/asm/bitops.h:16, from /kisskb/src/include/linux/bitops.h:38, from /kisskb/src/include/linux/bitmap.h:8, from /kisskb/src/drivers/spi/spi-sh-msiof.c:14: /kisskb/src/arch/mips/include/asm/mipsregs.h:29:0: note: this is the location of the previous definition #define STR(x) __STR(x) ^ In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:41:0, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/bcm1480_scd.h:274:0: warning: "M_SPC_CFG_CLEAR" redefined #define M_SPC_CFG_CLEAR M_BCM1480_SPC_CFG_CLEAR ^ In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:40:0, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/sb1250_scd.h:405:0: note: this is the location of the previous definition #define M_SPC_CFG_CLEAR _SB_MAKEMASK1(32) ^ In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:41:0, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/bcm1480_scd.h:275:0: warning: "M_SPC_CFG_ENABLE" redefined #define M_SPC_CFG_ENABLE M_BCM1480_SPC_CFG_ENABLE ^ In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:40:0, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/sb1250_scd.h:406:0: note: this is the location of the previous definition #define M_SPC_CFG_ENABLE _SB_MAKEMASK1(33) ^ Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 48 ARCH=mips O=/kisskb/build/cdrx_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/cdrx_mips-allmodconfig_mipsel # Build took: 0:11:06.790390