# git rev-parse -q --verify 05692de8307a467e143060f37a2174574701d2d2^{commit} 05692de8307a467e143060f37a2174574701d2d2 already have revision, skipping fetch # git checkout -q -f -B kisskb 05692de8307a467e143060f37a2174574701d2d2 # git clean -qxdf # git log -1 commit 05692de8307a467e143060f37a2174574701d2d2 Author: Cédric Le Goater Date: Fri Feb 17 15:05:11 2017 +0100 mtd: spi-nor: aspeed: configure chip window on AHB bus This tries to configure the segment registers of each chip depending on the size of the flash device and depending on the previous segment settings, in order to have a contiguous window across multiple chip. It should work ok for one or two chips. Unfortunately, the AST2500 SPI controller has a bug and it is not possible to configure a full 128MB window for a chip of the same size. The window size needs to be restricted to 120MB. This issue only applies to CE0. Signed-off-by: Cédric Le Goater # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 05692de8307a467e143060f37a2174574701d2d2 # < make -j 48 ARCH=sh O=/home/kisskb/slave/build/cdrx_rsk7201_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- rsk7201_defconfig # make -j 48 ARCH=sh O=/home/kisskb/slave/build/cdrx_rsk7201_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- make[1]: Entering directory '/home/kisskb/slave/build/cdrx_rsk7201_defconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release UPD include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/asm/bitsperlong.h WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/cputime.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/errno.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/fcntl.h WRAP arch/sh/include/generated/asm/ioctl.h WRAP arch/sh/include/generated/asm/ipcbuf.h WRAP arch/sh/include/generated/asm/irq_regs.h WRAP arch/sh/include/generated/asm/irq_work.h WRAP arch/sh/include/generated/asm/kvm_para.h WRAP arch/sh/include/generated/asm/local.h WRAP arch/sh/include/generated/asm/local64.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/mman.h WRAP arch/sh/include/generated/asm/msgbuf.h WRAP arch/sh/include/generated/asm/param.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/poll.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/sembuf.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/shmbuf.h WRAP arch/sh/include/generated/asm/siginfo.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/socket.h WRAP arch/sh/include/generated/asm/statfs.h WRAP arch/sh/include/generated/asm/termbits.h WRAP arch/sh/include/generated/asm/termios.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/ucontext.h WRAP arch/sh/include/generated/asm/xor.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/basic/bin2c Using /home/kisskb/slave/src as source for kernel HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o Generating include/generated/machtypes.h CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/sh/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh HOSTLD scripts/mod/modpost :1316:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1319:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1322:2: warning: #warning syscall pkey_free not implemented [-Wcpp] CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_initrd.o CC init/initramfs.o CC init/init_task.o UPD include/generated/compile.h HOSTCC usr/gen_init_cpio CC init/version.o AS arch/sh/kernel/debugtraps.o CC arch/sh/kernel/dma-nommu.o CC arch/sh/kernel/dumpstack.o CC arch/sh/kernel/idle.o CC arch/sh/kernel/io.o CC arch/sh/kernel/irq.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/process.o CC arch/sh/kernel/sys_sh.o CC arch/sh/kernel/signal_32.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/traps_32.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/setup.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/time.o CC arch/sh/mm/init.o CC arch/sh/mm/consistent.o CC arch/sh/mm/mmap.o CC arch/sh/mm/cache-sh2a.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/mm/alignment.o CC arch/sh/kernel/perf_event.o CC arch/sh/kernel/module.o AS arch/sh/kernel/head_32.o CC arch/sh/kernel/sh_ksyms_32.o CC arch/sh/kernel/perf_callchain.o CC arch/sh/kernel/iomap.o LDS arch/sh/kernel/vmlinux.lds CC arch/sh/kernel/unwinder.o CC arch/sh/kernel/hw_breakpoint.o CC arch/sh/mm/cache.o CC arch/sh/mm/nommu.o CC arch/sh/mm/extable_32.o CC arch/sh/mm/asids-debugfs.o CC arch/sh/mm/uncached.o LD arch/sh/boards/built-in.o CC arch/sh/kernel/cpu/irq/imask.o CC arch/sh/kernel/cpu/init.o CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/fpu.o GEN usr/initramfs_data.cpio.gz CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/proc.o AS arch/sh/kernel/cpu/sh2a/entry.o AS arch/sh/kernel/cpu/sh2a/ex.o CC arch/sh/kernel/cpu/sh2a/opcode_helper.o CC arch/sh/kernel/cpu/sh2a/probe.o CC arch/sh/boards/mach-rsk/setup.o CC arch/sh/kernel/cpu/sh2a/fpu.o CC arch/sh/kernel/cpu/sh2a/setup-sh7201.o CC arch/sh/kernel/cpu/sh2a/clock-sh7201.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2a/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2a/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2a/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence AS usr/initramfs_data.o LD usr/built-in.o LD arch/sh/kernel/cpu/sh2a/common.o LD arch/sh/kernel/cpu/irq/built-in.o LD certs/built-in.o CC kernel/fork.o CC kernel/exec_domain.o CC kernel/cpu.o CC kernel/panic.o CC kernel/exit.o CC kernel/softirq.o CC kernel/resource.o CC kernel/sysctl.o CC kernel/sysctl_binary.o CC mm/filemap.o CC kernel/capability.o CC mm/mempool.o CC kernel/ptrace.o CC mm/oom_kill.o CC mm/maccess.o CC mm/page-writeback.o CC mm/shmem.o CC mm/swap.o CC kernel/user.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'cpg_clk_init': CC kernel/signal.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:52:3: warning: 'arch_init_clk_ops' is deprecated (declared at /home/kisskb/slave/src/arch/sh/include/asm/clock.h:7) [-Wdeprecated-declarations] CC mm/page_alloc.o CC mm/readahead.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:76:2: warning: 'cpg_clk_init' is deprecated (declared at /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:46) [-Wdeprecated-declarations] CC kernel/kmod.o CC kernel/params.o CC kernel/workqueue.o CC kernel/sys.o CC kernel/extable.o CC kernel/task_work.o CC mm/truncate.o CC mm/vmscan.o CC kernel/pid.o CC kernel/kthread.o CC mm/util.o LD arch/sh/mm/built-in.o CC kernel/sys_ni.o CC mm/mmzone.o CC kernel/nsproxy.o CC mm/vmstat.o LD arch/sh/boards/mach-rsk/built-in.o LD init/mounts.o CC mm/backing-dev.o CC kernel/notifier.o CC mm/mm_init.o CC mm/mmu_context.o CC mm/percpu.o CC kernel/ksysfs.o LD init/built-in.o CC ipc/util.o CC ipc/msgutil.o CC mm/slab_common.o LD arch/sh/kernel/cpu/sh2a/built-in.o CC kernel/cred.o LD arch/sh/kernel/cpu/built-in.o CC security/commoncap.o CC kernel/reboot.o LD arch/sh/kernel/built-in.o CC mm/compaction.o CC mm/vmacache.o CC kernel/async.o CC fs/open.o CC mm/interval_tree.o CC mm/list_lru.o CC kernel/range.o CC kernel/smpboot.o CC kernel/ucount.o CC kernel/groups.o CC mm/workingset.o LD crypto/built-in.o CC kernel/events/core.o CC mm/debug.o LD kernel/livepatch/built-in.o CC mm/nommu.o CC ipc/msg.o CC kernel/irq/irqdesc.o CC mm/init-mm.o CC kernel/rcu/update.o CC kernel/printk/printk.o CC kernel/power/qos.o CC mm/bootmem.o CC kernel/sched/core.o CC kernel/locking/mutex.o CC mm/fadvise.o CC kernel/profile.o CC kernel/trace/trace_clock.o CC kernel/futex.o CC kernel/up.o CC mm/memblock.o CC kernel/uid16.o CC mm/slub.o CC mm/dmapool.o CC kernel/module.o CC kernel/kallsyms.o CC mm/quicklist.o CC kernel/utsname.o CC kernel/acct.o CC ipc/sem.o CC kernel/time/time.o CC ipc/shm.o CC kernel/rcu/srcu.o CC kernel/rcu/sync.o CC ipc/syscall.o CC block/bio.o CC kernel/user_namespace.o CC ipc/ipc_sysctl.o CC kernel/trace/ring_buffer.o CC kernel/pid_namespace.o /home/kisskb/slave/src/mm/bootmem.c: In function 'mark_bootmem': /home/kisskb/slave/src/mm/bootmem.c:385:1: warning: control reaches end of non-void function [-Wreturn-type] CC kernel/rcu/tiny.o GZIP kernel/config_data.gz CC kernel/utsname_sysctl.o CC block/elevator.o /home/kisskb/slave/src/kernel/sched/core.c: In function 'pick_next_task': /home/kisskb/slave/src/kernel/sched/core.c:3293:1: warning: control reaches end of non-void function [-Wreturn-type] CC kernel/elfcore.o LD security/built-in.o CC kernel/irq_work.o CC kernel/irq/handle.o CC kernel/power/main.o CC kernel/membarrier.o CC kernel/memremap.o CC ipc/namespace.o CC kernel/irq/manage.o CHK kernel/config_data.h UPD kernel/config_data.h CC kernel/irq/spurious.o CC kernel/configs.o CC kernel/irq/resend.o LD sound/built-in.o CC kernel/power/poweroff.o CC block/blk-core.o CC fs/read_write.o CC kernel/irq/chip.o CC kernel/locking/semaphore.o CC fs/file_table.o CC fs/super.o LD kernel/rcu/built-in.o CC kernel/locking/rwsem.o CC fs/stat.o CC fs/char_dev.o CC kernel/locking/percpu-rwsem.o CC block/blk-tag.o CC kernel/locking/rtmutex.o CC fs/exec.o CC kernel/locking/rwsem-spinlock.o LD firmware/built-in.o LD drivers/auxdisplay/built-in.o LD drivers/amba/built-in.o CC kernel/irq/dummychip.o CC block/blk-sysfs.o CC kernel/irq/devres.o LD drivers/block/built-in.o CC kernel/irq/irqdomain.o CC kernel/irq/proc.o LD drivers/cdrom/built-in.o LD drivers/bus/built-in.o CC kernel/sched/loadavg.o LD kernel/power/built-in.o CC kernel/sched/clock.o CC kernel/printk/nmi.o CC fs/pipe.o CC drivers/char/mem.o LD drivers/char/ipmi/built-in.o /home/kisskb/slave/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /home/kisskb/slave/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] CC drivers/clocksource/sh_mtu2.o CC drivers/clk/clk-devres.o CC drivers/clk/clkdev.o LD arch/sh/drivers/dma/built-in.o LD arch/sh/drivers/built-in.o CC drivers/cpuidle/cpuidle.o CC drivers/base/component.o CC drivers/base/core.o LD drivers/firewire/built-in.o LD drivers/clk/bcm/built-in.o CC kernel/time/timer.o CC block/blk-flush.o LD drivers/clk/mvebu/built-in.o LD drivers/gpu/vga/built-in.o LD drivers/firmware/broadcom/built-in.o CC block/blk-ioc.o CC fs/namei.o CC block/blk-settings.o CC block/blk-map.o LD drivers/clk/ti/built-in.o CC fs/fcntl.o CC fs/ioctl.o LD drivers/firmware/tegra/built-in.o LD drivers/firmware/meson/built-in.o CC arch/sh/oprofile/../../../drivers/oprofile/oprof.o CC kernel/events/callchain.o CC kernel/events/ring_buffer.o LD drivers/gpu/drm/bridge/built-in.o LD drivers/firmware/built-in.o CC kernel/sched/cputime.o LD drivers/gpu/drm/hisilicon/built-in.o CC arch/sh/oprofile/../../../drivers/oprofile/cpu_buffer.o LD net/built-in.o CC fs/readdir.o LD drivers/gpu/drm/i2c/built-in.o CC arch/sh/oprofile/../../../drivers/oprofile/buffer_sync.o CC kernel/sched/idle_task.o CC block/blk-exec.o LD drivers/gpu/drm/panel/built-in.o LD ipc/built-in.o CC fs/select.o LD drivers/gpu/drm/omapdrm/displays/built-in.o LD kernel/locking/built-in.o LD drivers/gpu/drm/tilcdc/built-in.o CC block/blk-merge.o LD kernel/printk/built-in.o CC block/blk-softirq.o CC fs/dcache.o CC block/blk-timeout.o LD drivers/hwtracing/intel_th/built-in.o LD drivers/gpu/drm/omapdrm/dss/built-in.o CC drivers/char/random.o LD drivers/gpu/drm/omapdrm/built-in.o LD drivers/clk/built-in.o CC fs/inode.o LD drivers/idle/built-in.o LD drivers/gpu/drm/built-in.o LD drivers/clocksource/built-in.o LD drivers/i2c/algos/built-in.o CC block/blk-lib.o AS arch/sh/lib/movmem.o CC block/blk-mq.o CC drivers/base/bus.o CC drivers/hid/hid-core.o LD kernel/irq/built-in.o LD drivers/irqchip/built-in.o LD drivers/i2c/busses/built-in.o LD drivers/gpu/built-in.o CC drivers/input/input.o LD drivers/lguest/built-in.o LD drivers/macintosh/built-in.o CC arch/sh/lib/ashldi3.o CC arch/sh/oprofile/../../../drivers/oprofile/event_buffer.o CC block/blk-mq-tag.o LD drivers/mfd/built-in.o LD drivers/i2c/muxes/built-in.o LD drivers/mmc/built-in.o CC arch/sh/oprofile/../../../drivers/oprofile/oprofile_files.o CC kernel/sched/fair.o CC fs/attr.o LD drivers/i2c/built-in.o CC fs/bad_inode.o LD drivers/misc/cb710/built-in.o CC kernel/time/hrtimer.o CC kernel/events/hw_breakpoint.o CC drivers/cpuidle/driver.o CC kernel/sched/rt.o CC arch/sh/oprofile/../../../drivers/oprofile/oprofilefs.o CC block/blk-stat.o LD drivers/misc/eeprom/built-in.o LD drivers/net/built-in.o CC block/blk-mq-sysfs.o CC fs/file.o LD drivers/media/common/b2c2/built-in.o LD drivers/misc/lis3lv02d/built-in.o CC fs/filesystems.o CC arch/sh/oprofile/../../../drivers/oprofile/oprofile_stats.o CC lib/lockref.o CC lib/bcd.o CC drivers/mtd/mtdcore.o LD drivers/nfc/built-in.o CC block/blk-mq-cpumap.o LD drivers/media/common/saa7146/built-in.o CC kernel/sched/deadline.o CC fs/namespace.o CC lib/div64.o LD drivers/misc/mic/bus/built-in.o CC arch/sh/lib/ashrdi3.o CC fs/seq_file.o CC block/ioctl.o LD drivers/media/common/siano/built-in.o CC block/genhd.o LD drivers/nvme/host/built-in.o CC arch/sh/oprofile/../../../drivers/oprofile/timer_int.o LD drivers/misc/mic/built-in.o CC lib/sort.o CC block/scsi_ioctl.o CC drivers/cpuidle/governor.o CC arch/sh/oprofile/common.o CC fs/xattr.o LD drivers/media/common/v4l2-tpg/built-in.o LD drivers/nvme/target/built-in.o LD drivers/misc/ti-st/built-in.o LD drivers/media/common/built-in.o CC drivers/char/misc.o LD drivers/nvme/built-in.o CC fs/libfs.o LD drivers/misc/built-in.o CC lib/parser.o LD drivers/perf/built-in.o LD drivers/media/firewire/built-in.o CC block/partition-generic.o LD drivers/platform/built-in.o CC arch/sh/oprofile/backtrace.o CC arch/sh/lib/lshrdi3.o LD drivers/power/built-in.o LD kernel/trace/built-in.o LD drivers/ptp/built-in.o CC drivers/base/dd.o CC drivers/cpuidle/sysfs.o LD drivers/media/i2c/soc_camera/built-in.o CC drivers/base/syscore.o CC fs/fs-writeback.o LD drivers/pwm/built-in.o CC fs/splice.o LD drivers/media/i2c/built-in.o CC fs/pnode.o CC block/ioprio.o CC block/badblocks.o CC lib/halfmd4.o CC block/noop-iosched.o CC block/partitions/check.o LD drivers/media/mmc/siano/built-in.o CC block/partitions/msdos.o CC kernel/sched/stop_task.o CC drivers/rtc/rtc-lib.o CC drivers/sh/clk/core.o LD drivers/media/mmc/built-in.o CC lib/debug_locks.o CC kernel/sched/wait.o CC lib/random32.o CC lib/bust_spinlocks.o AS arch/sh/lib/ashlsi3.o LD drivers/media/pci/b2c2/built-in.o CC kernel/time/timekeeping.o LD arch/sh/oprofile/oprofile.o LD drivers/char/agp/built-in.o LD arch/sh/oprofile/built-in.o LD drivers/media/platform/omap/built-in.o AS arch/sh/lib/ashrsi3.o LD drivers/media/pci/ddbridge/built-in.o CC lib/kasprintf.o LD drivers/char/built-in.o CC drivers/base/driver.o CC kernel/sched/swait.o LD drivers/media/rc/keymaps/built-in.o LD drivers/media/platform/built-in.o LD drivers/media/spi/built-in.o AS arch/sh/lib/ashiftrt.o LD drivers/media/pci/dm1105/built-in.o CC drivers/cpuidle/governors/ladder.o LD mm/built-in.o LD drivers/media/rc/built-in.o CC kernel/sched/completion.o LD drivers/media/tuners/built-in.o LD drivers/soc/bcm/built-in.o AS arch/sh/lib/lshrsi3.o LD drivers/media/pci/netup_unidvb/built-in.o AS arch/sh/lib/udiv_qrnnd.o LD drivers/media/pci/mantis/built-in.o CC fs/sync.o CC drivers/base/class.o LD drivers/media/pci/pt1/built-in.o LD drivers/media/pci/ngene/built-in.o LD drivers/media/usb/b2c2/built-in.o LD drivers/media/pci/pt3/built-in.o CC arch/sh/lib/io.o LD drivers/media/pci/saa7146/built-in.o AS arch/sh/lib/checksum.o LD drivers/media/pci/pluto2/built-in.o LD drivers/soc/fsl/built-in.o LD drivers/media/pci/smipcie/built-in.o CC drivers/mtd/mtdconcat.o CC drivers/sh/clk/cpg.o LD virt/lib/built-in.o CC drivers/mtd/mtdsuper.o CC kernel/sched/idle.o LD drivers/media/pci/ttpci/built-in.o CC fs/utimes.o LD drivers/soc/built-in.o LD virt/built-in.o CC fs/stack.o LD drivers/media/usb/dvb-usb/built-in.o CC drivers/base/platform.o LD drivers/media/pci/built-in.o CC drivers/rtc/hctosys.o CC drivers/rtc/systohc.o CC arch/sh/lib/delay.o CC drivers/sh/intc/access.o CC lib/bitmap.o CC arch/sh/lib/div64-generic.o CC fs/fs_struct.o LD drivers/media/usb/dvb-usb-v2/built-in.o CC fs/statfs.o CC fs/fs_pin.o LD drivers/media/usb/s2255/built-in.o CC lib/scatterlist.o LD drivers/media/usb/siano/built-in.o LD drivers/media/usb/stkwebcam/built-in.o CC lib/gcd.o CC lib/lcm.o CC drivers/hid/hid-input.o AS arch/sh/lib/div64.o LD drivers/media/usb/ttusb-dec/built-in.o LD drivers/media/usb/ttusb-budget/built-in.o CC drivers/thermal/thermal_core.o CC fs/nsfs.o LD drivers/media/usb/zr364xx/built-in.o CC block/partitions/efi.o CC lib/list_sort.o CC fs/buffer.o CC fs/block_dev.o AS arch/sh/lib/memchr.o CC drivers/base/cpu.o CC drivers/base/firmware.o CC drivers/base/init.o CC drivers/base/map.o LD drivers/media/usb/built-in.o CC drivers/input/input-compat.o AS arch/sh/lib/memcpy.o AS arch/sh/lib/memmove.o AS arch/sh/lib/memset.o CC drivers/tty/tty_io.o AS arch/sh/lib/strlen.o CC fs/direct-io.o AS arch/sh/lib/udivsi3.o CC fs/mpage.o LD drivers/cpuidle/governors/built-in.o CC fs/proc_namespace.o AS arch/sh/lib/udivsi3_i4i-Os.o LD drivers/sh/clk/built-in.o CC drivers/sh/pm_runtime.o LD drivers/media/built-in.o LD drivers/cpuidle/built-in.o CC drivers/rtc/class.o CC lib/uuid.o CC drivers/rtc/interface.o CC drivers/tty/n_tty.o CC drivers/rtc/rtc-dev.o CC drivers/base/devres.o CC drivers/base/attribute_container.o AR arch/sh/lib/lib.a CC drivers/tty/tty_ioctl.o CC drivers/sh/intc/chip.o EXPORTS arch/sh/lib/lib-ksyms.o CC drivers/rtc/rtc-proc.o LD drivers/video/backlight/built-in.o CC fs/debugfs/file.o CC fs/debugfs/inode.o CC fs/devpts/inode.o CC lib/flex_array.o LD arch/sh/lib/built-in.o LD fs/exofs/built-in.o CC drivers/base/transport_class.o CC drivers/mtd/mtdchar.o CC drivers/mtd/mtdpart.o CC fs/exportfs/expfs.o CC drivers/video/console/dummycon.o CC drivers/base/topology.o LD kernel/sched/built-in.o CC drivers/input/ff-core.o CC drivers/input/input-mt.o CC fs/kernfs/mount.o CC fs/ext2/balloc.o CC drivers/rtc/rtc-sysfs.o CC drivers/base/container.o LD fs/quota/built-in.o CC drivers/rtc/rtc-sh.o CC fs/notify/fsnotify.o CC drivers/sh/intc/core.o CC lib/iov_iter.o CC fs/ramfs/inode.o CC fs/romfs/storage.o CC fs/ramfs/file-nommu.o CC drivers/base/property.o CC fs/jffs2/compr.o CC fs/jffs2/dir.o LD drivers/video/console/built-in.o CC fs/sysfs/file.o CC fs/eventpoll.o CC fs/anon_inodes.o CC drivers/base/cacheinfo.o CC fs/signalfd.o CC fs/timerfd.o CC lib/clz_ctz.o LD drivers/video/fbdev/core/built-in.o CC fs/proc/nommu.o LD drivers/base/test/built-in.o CC lib/bsearch.o CC drivers/base/power/sysfs.o CC drivers/base/power/generic_ops.o /home/kisskb/slave/src/drivers/rtc/rtc-sh.c:708:13: warning: 'sh_rtc_set_irq_wake' defined but not used [-Wunused-function] CC drivers/base/dma-mapping.o CC drivers/base/dma-coherent.o CC drivers/base/firmware_class.o CC lib/find_bit.o CC lib/llist.o CC drivers/thermal/thermal_sysfs.o LD drivers/video/fbdev/omap2/omapfb/displays/built-in.o LD fs/exportfs/exportfs.o LD fs/devpts/devpts.o LD fs/exportfs/built-in.o CC fs/notify/notification.o LD fs/devpts/built-in.o CC fs/eventfd.o CC fs/aio.o LD drivers/rtc/rtc-core.o LD drivers/video/fbdev/omap2/omapfb/dss/built-in.o CC fs/locks.o LD drivers/rtc/built-in.o CC fs/binfmt_script.o LD drivers/video/fbdev/omap2/omapfb/built-in.o CC drivers/thermal/thermal_helpers.o CC lib/memweight.o CC fs/kernfs/inode.o CC lib/kfifo.o LD drivers/video/fbdev/omap2/built-in.o LD drivers/video/fbdev/built-in.o CC fs/binfmt_elf_fdpic.o CC drivers/mtd/redboot.o LD drivers/video/built-in.o CC drivers/mtd/mtd_blkdevs.o CC lib/percpu-refcount.o LD fs/debugfs/debugfs.o CC fs/romfs/super.o CC fs/jffs2/file.o CC drivers/tty/tty_ldisc.o CC fs/sysfs/dir.o LD fs/debugfs/built-in.o CC fs/proc/task_nommu.o CC fs/binfmt_flat.o CC fs/proc/inode.o CC drivers/base/power/common.o LD drivers/input/input-core.o LD fs/ramfs/ramfs.o LD drivers/input/built-in.o CC fs/jffs2/ioctl.o LD fs/ramfs/built-in.o CC drivers/base/power/qos.o CC fs/coredump.o CC drivers/base/power/runtime.o CC drivers/thermal/step_wise.o CC drivers/base/module.o LD kernel/events/built-in.o CC fs/drop_caches.o LD drivers/thermal/samsung/built-in.o CC fs/fhandle.o CC fs/notify/group.o CC drivers/sh/intc/handle.o CC fs/notify/inode_mark.o CC fs/dcookies.o CC drivers/base/power/wakeirq.o CC fs/notify/mark.o CC drivers/mtd/mtdblock.o CC fs/sysfs/symlink.o CC drivers/mtd/chips/chipreg.o CC fs/ext2/dir.o /home/kisskb/slave/src/fs/binfmt_elf_fdpic.c: In function 'elf_fdpic_dump_segments': /home/kisskb/slave/src/fs/binfmt_elf_fdpic.c:1488:17: warning: unused variable 'addr' [-Wunused-variable] CC fs/ext2/file.o CC fs/ext2/ialloc.o LD drivers/mtd/devices/built-in.o LD block/partitions/built-in.o CC fs/kernfs/dir.o CC lib/percpu_ida.o CC fs/jffs2/nodelist.o CC fs/jffs2/malloc.o CC drivers/base/power/clock_ops.o LD block/built-in.o LD drivers/mtd/lpddr/built-in.o CC drivers/mtd/maps/physmap.o LD drivers/mtd/nand/built-in.o LD drivers/thermal/thermal_sys.o LD drivers/mtd/onenand/built-in.o CC fs/jffs2/read.o LD drivers/thermal/built-in.o CC fs/jffs2/nodemgmt.o LD drivers/mtd/mtd.o CC drivers/hid/hid-debug.o CC drivers/hid/hid-generic.o CC fs/jffs2/readinode.o LD drivers/mtd/tests/built-in.o CC lib/rhashtable.o CC drivers/tty/tty_buffer.o CC drivers/tty/tty_port.o CC lib/reciprocal_div.o CC drivers/tty/tty_mutex.o CC fs/notify/vfsmount_mark.o CC drivers/mtd/chips/cfi_probe.o CC fs/proc/root.o CC drivers/sh/intc/irqdomain.o CC fs/notify/fdinfo.o CC fs/ext2/inode.o CC fs/sysfs/mount.o LD fs/romfs/romfs.o LD fs/romfs/built-in.o CC fs/proc/base.o CC fs/proc/generic.o LD fs/notify/dnotify/built-in.o CC drivers/tty/tty_ldsem.o CC drivers/mtd/chips/cfi_util.o LD fs/notify/fanotify/built-in.o CC drivers/mtd/chips/cfi_cmdset_0002.o CC fs/kernfs/file.o CC drivers/tty/pty.o CC drivers/tty/sysrq.o CC fs/notify/inotify/inotify_fsnotify.o CC lib/once.o LD drivers/tty/ipwireless/built-in.o CC kernel/time/ntp.o CC lib/hexdump.o CC lib/string_helpers.o CC lib/kstrtox.o CC fs/jffs2/write.o CC drivers/tty/serial/serial_core.o CC drivers/hid/hid-a4tech.o CC drivers/tty/serial/sh-sci.o CC drivers/hid/hid-apple.o LD drivers/mtd/maps/built-in.o CC drivers/tty/vt/vt_ioctl.o CC drivers/tty/vt/vc_screen.o CC fs/jffs2/scan.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_probe.c: In function 'cfi_probe_chip': /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here CC drivers/sh/intc/virq.o CC fs/jffs2/gc.o CC drivers/tty/vt/selection.o CC fs/sysfs/group.o CC fs/ext2/ioctl.o CC fs/jffs2/symlink.o LD drivers/base/power/built-in.o LD drivers/base/built-in.o CC lib/iomap_copy.o CC fs/jffs2/build.o CC lib/devres.o CC fs/jffs2/erase.o CC fs/jffs2/background.o CC fs/kernfs/symlink.o CC fs/notify/inotify/inotify_user.o CC fs/proc/array.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_util.c: In function 'cfi_qry_present': /home/kisskb/slave/src/include/linux/mtd/map.h:279:6: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/include/linux/mtd/map.h:279:6: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/drivers/mtd/chips/cfi_util.c:230:3: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] CC drivers/mtd/chips/gen_probe.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_util.c: In function 'cfi_send_gen_cmd': /home/kisskb/slave/src/drivers/mtd/chips/cfi_util.c:206:13: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] CC kernel/time/clocksource.o CC fs/proc/fd.o CC kernel/time/jiffies.o CC fs/proc/proc_tty.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_util.c: In function 'cfi_read_pri': /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here CC kernel/time/timer_list.o CC fs/ext2/namei.o CC lib/hweight.o CC fs/ext2/super.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c: In function 'chip_ready': /home/kisskb/slave/src/include/linux/mtd/map.h:280:4: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/include/linux/mtd/map.h:280:4: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c: In function 'chip_good': /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c:772:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:279:6: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here CC lib/bitrev.o HOSTCC lib/gen_crc32table CC drivers/hid/hid-belkin.o CC drivers/hid/hid-cherry.o CC fs/jffs2/fs.o CC kernel/time/timeconv.o CC fs/proc/cmdline.o LD fs/sysfs/built-in.o CC fs/jffs2/writev.o CC lib/lz4/lz4_decompress.o CC drivers/hid/hid-chicony.o CC lib/lzo/lzo1x_decompress_safe.o CC fs/ext2/symlink.o LD drivers/sh/intc/built-in.o LD drivers/sh/built-in.o LD fs/kernfs/built-in.o CC fs/jffs2/super.o CC fs/jffs2/debug.o CC lib/atomic64.o CC lib/syscall.o CC lib/zlib_deflate/deflate.o CC lib/xz/xz_dec_syms.o CC lib/xz/xz_dec_stream.o CC fs/proc/consoles.o CC fs/proc/cpuinfo.o CC lib/strncpy_from_user.o CC kernel/time/timecounter.o CC fs/proc/devices.o CC lib/zlib_inflate/inffast.o CC fs/proc/interrupts.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c: In function 'do_panic_write_oneword': /home/kisskb/slave/src/include/linux/mtd/map.h:279:6: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here CC lib/strnlen_user.o CC drivers/hid/hid-cypress.o CC kernel/time/alarmtimer.o CC drivers/hid/hid-ezkey.o CC fs/jffs2/wbuf.o CC fs/jffs2/compr_rtime.o CC lib/sbitmap.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c: In function 'cfi_amdstd_panic_write': /home/kisskb/slave/src/include/linux/mtd/map.h:382:14: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/include/linux/mtd/map.h:345:11: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:382:14: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here CC kernel/time/posix-timers.o CC lib/argv_split.o CC kernel/time/posix-cpu-timers.o CC kernel/time/posix-clock.o CC drivers/tty/vt/keyboard.o CC drivers/tty/vt/consolemap.o CC lib/bug.o CC lib/zlib_inflate/inflate.o CONMK drivers/tty/vt/consolemap_deftbl.c CC fs/jffs2/compr_zlib.o CC drivers/tty/vt/vt.o CC lib/zlib_inflate/infutil.o CC drivers/hid/hid-kensington.o LD fs/notify/inotify/built-in.o CC fs/proc/loadavg.o CC lib/chacha20.o LD fs/notify/built-in.o CC lib/cmdline.o CC drivers/hid/hid-lg.o LD lib/lzo/lzo_decompress.o CC lib/xz/xz_dec_lzma2.o LD lib/lzo/built-in.o CC lib/ctype.o CC lib/dec_and_lock.o SHIPPED drivers/tty/vt/defkeymap.c LD lib/lz4/built-in.o CC lib/decompress.o CC fs/proc/meminfo.o CC lib/decompress_bunzip2.o CC drivers/tty/vt/consolemap_deftbl.o CC drivers/hid/hid-microsoft.o CC fs/proc/stat.o CC lib/decompress_inflate.o CC drivers/hid/hid-monterey.o CC fs/proc/uptime.o CC lib/decompress_unlz4.o CC fs/proc/version.o CC lib/decompress_unlzma.o CC lib/decompress_unlzo.o CC lib/decompress_unxz.o CC fs/proc/softirqs.o CC drivers/tty/vt/defkeymap.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c: In function 'do_otp_lock': /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here CC lib/dma-noop.o CC lib/dump_stack.o CC fs/proc/namespaces.o CC fs/proc/self.o CC lib/earlycpio.o CC fs/proc/thread_self.o CC lib/zlib_inflate/inftrees.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c: In function 'do_write_oneword': /home/kisskb/slave/src/include/linux/mtd/map.h:279:6: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here CC fs/proc/proc_sysctl.o CC lib/extable.o CC kernel/time/itimer.o CC fs/proc/kmsg.o CC lib/xz/xz_dec_bcj.o CC lib/zlib_inflate/inflate_syms.o CC kernel/time/clockevents.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c: In function 'do_otp_write': /home/kisskb/slave/src/include/linux/mtd/map.h:382:14: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:397:11: note: 'r.x[0]' was declared here CC kernel/time/tick-common.o CC lib/zlib_deflate/deftree.o CC lib/flex_proportions.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c: In function 'cfi_amdstd_write_words': /home/kisskb/slave/src/include/linux/mtd/map.h:382:14: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/include/linux/mtd/map.h:345:11: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:382:14: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here CC lib/idr.o CC lib/zlib_deflate/deflate_syms.o CC lib/int_sqrt.o CC lib/irq_regs.o CC lib/is_single_threaded.o CC lib/klist.o CC kernel/time/sched_clock.o CC lib/kobject.o CC kernel/time/timekeeping_debug.o CC lib/kobject_uevent.o CC lib/md5.o CC lib/nodemask.o CC lib/nmi_backtrace.o CC lib/plist.o CC lib/radix-tree.o CC lib/ratelimit.o CC lib/rbtree.o CC lib/seq_buf.o CC lib/sha1.o CC lib/show_mem.o CC lib/timerqueue.o CC lib/string.o CC lib/vsprintf.o CC lib/win_minmax.o GEN lib/crc32table.h CC lib/crc32.o /home/kisskb/slave/src/drivers/mtd/chips/cfi_cmdset_0002.c: In function 'cfi_amdstd_otp_walk': /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here /home/kisskb/slave/src/arch/sh/include/uapi/asm/swab.h:14:2: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/include/linux/mtd/map.h:413:11: note: 'r.x[0]' was declared here LD drivers/mtd/chips/built-in.o LD fs/ext2/ext2.o LD drivers/mtd/built-in.o LD lib/zlib_inflate/zlib_inflate.o LD drivers/hid/hid-logitech.o LD fs/ext2/built-in.o LD lib/zlib_inflate/built-in.o LD drivers/tty/serial/built-in.o LD fs/jffs2/jffs2.o LD drivers/hid/hid.o LD fs/jffs2/built-in.o LD drivers/hid/built-in.o LD lib/xz/xz_dec.o LD lib/xz/built-in.o LD lib/zlib_deflate/zlib_deflate.o LD lib/zlib_deflate/built-in.o LD kernel/time/built-in.o LD kernel/built-in.o LD fs/proc/proc.o LD fs/proc/built-in.o LD fs/built-in.o AR lib/lib.a LD drivers/tty/vt/built-in.o LD drivers/tty/built-in.o EXPORTS lib/lib-ksyms.o LD drivers/built-in.o LD lib/built-in.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD vmlinux.o MODPOST vmlinux.o KSYM .tmp_kallsyms1.o KSYM .tmp_kallsyms2.o LD vmlinux SYSMAP System.map OBJCOPY arch/sh/boot/vmlinux.bin GZIP arch/sh/boot/vmlinux.bin.gz Building modules, stage 2. MODPOST 0 modules UIMAGE arch/sh/boot/uImage.gz Image Name: Linux-4.10.0-rc7+ Created: Sat Feb 18 14:32:44 2017 Image Type: SuperH Linux Kernel Image (gzip compressed) Data Size: 1441991 Bytes = 1408.19 kB = 1.38 MB Load Address: 08001000 Entry Point: 08002000 Image arch/sh/boot/uImage is ready make[1]: Leaving directory '/home/kisskb/slave/build/cdrx_rsk7201_defconfig_sh4' Completed OK # rm -rf /home/kisskb/slave/build/cdrx_rsk7201_defconfig_sh4 # Build took: 0:00:18.558901