# git rev-parse -q --verify 6aa254f8d119df235963fd718d145317512963ac^{commit} 6aa254f8d119df235963fd718d145317512963ac already have revision, skipping fetch # git checkout -q -f -B kisskb 6aa254f8d119df235963fd718d145317512963ac # git clean -qxdf # < git log -1 # commit 6aa254f8d119df235963fd718d145317512963ac # Author: Cédric Le Goater # Date: Fri Oct 4 13:24:36 2019 +0200 # # mtd: spi-nor: aspeed: Add read training support for the AST2600 # # The read training algorithm consists of finding the appropriate read # timing delays for the HCLK dividers in range [ 2 - 5 ] and store the # results in the Read Timing Compensation register. The previous AST2500 # and AST2400 SoCs were covering a broader HCLK range [ 1 - 5 ] because # the AHB frequency was lower. # # The algorithm first reads a golden buffer at low speed and then # performs reads with different clocks and delay cycle settings to find # a breaking point. This selects the default clock frequency for the CEx # control register. The current settings are bit optimistic as we pick # the first delay giving good results. A safer approach would be to # determine an interval and choose the middle value. We might change the # approach depending on the results on other systems. # # Signed-off-by: Cédric Le Goater # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 6aa254f8d119df235963fd718d145317512963ac # < make -s -j 48 ARCH=sh O=/kisskb/build/cdrx_se7705_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- se7705_defconfig # < make -s -j 48 ARCH=sh O=/kisskb/build/cdrx_se7705_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 48 ARCH=sh O=/kisskb/build/cdrx_se7705_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 48 ARCH=sh O=/kisskb/build/cdrx_se7705_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type return ioread8(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:21:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread8(void __iomem *); ^ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type return ioread16(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:21:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread16(void __iomem *); ^ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type return ioread32(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:21:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread32(void __iomem *); ^ kernel/bpf/core.o: In function `___bpf_prog_run': core.c:(.text+0xf68): undefined reference to `__fpscr_values' core.c:(.text+0x12e4): undefined reference to `__fpscr_values' core.c:(.text+0x1f2c): undefined reference to `__fpscr_values' make[1]: *** [/kisskb/src/Makefile:1094: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 48 ARCH=sh O=/kisskb/build/cdrx_se7705_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/cdrx_se7705_defconfig_sh4-gcc4.9 # Build took: 0:00:32.507430