[ 0s] Using BUILD_ROOT=/srv/build/root_6/.mount [ 0s] Using BUILD_ARCH=armv7l:armv5tel [ 0s] Doing kvm build in /srv/build/root_6/root [ 0s] [ 0s] [ 0s] w19 started "build _service:gbs:u-boot-tm1.spec" at Mon May 30 22:07:38 UTC 2016. [ 0s] [ 0s] Building u-boot-sprd for project 'Tizen:2.4:Mobile' repository 'target-TM1' arch 'armv7l' srcmd5 '1d8a6b17a2852cf84f875a72d5cd2459' [ 0s] [ 0s] processing specfile /srv/build/root_6/.build-srcdir/_service:gbs:u-boot-tm1.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_6/.build-srcdir/_service:gbs:u-boot-tm1.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/6/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_6/.build.rpmlist /srv/build/root_6/.build-srcdir/_service:gbs:u-boot-tm1.spec build rpmlint-Factory ... [ 0s] registering binfmt handlers for VM [ 0s] /.build/qemu-reg: No such file or directory [ 0s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 0s] write: Invalid argument [ 0s] /proc/sys/fs/binfmt_misc/register: write failed [ 0s] /usr/lib/build/qemu-reg: line 7: write failed. Content: :arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-binfmt:P [ 0s] [ 0s] /usr/lib/build/qemu-reg: binfmt registration failed [ 1s] cycle: filesystem -> setup [ 1s] breaking dependency setup -> filesystem [ 1s] cycle: glibc -> glibc-common -> bash [ 1s] breaking dependency glibc-common -> bash [ 1s] cycle: glibc -> glibc-common -> coreutils -> bash [ 1s] breaking dependency coreutils -> bash [ 1s] cycle: glibc -> glibc-common -> coreutils [ 1s] breaking dependency coreutils -> glibc [ 1s] cycle: glibc -> glibc-common -> coreutils -> libacl [ 1s] breaking dependency libacl -> glibc [ 1s] cycle: glibc -> glibc-common -> coreutils -> libacl -> libattr [ 1s] breaking dependency libattr -> glibc [ 1s] cycle: libgcc -> glibc -> glibc-common -> coreutils -> libacl -> libattr [ 1s] breaking dependency libacl -> libattr [ 1s] cycle: libgcc -> glibc -> glibc-common -> coreutils -> libacl [ 1s] breaking dependency glibc-common -> coreutils [ 1s] cycle: glibc -> glibc-common [ 1s] breaking dependency glibc -> glibc-common [ 1s] cycle: libgcc -> glibc [ 1s] breaking dependency libgcc -> glibc [ 1s] cycle: rpm-libs -> rpm [ 1s] breaking dependency rpm-libs -> rpm [ 1s] [1/52] preinstalling tizen-release... [ 1s] [2/52] preinstalling libgcc... [ 1s] [3/52] preinstalling setup... [ 1s] [4/52] preinstalling filesystem... [ 1s] [5/52] preinstalling glibc... [ 1s] [6/52] preinstalling libattr... [ 1s] [7/52] preinstalling libacl... [ 1s] [8/52] preinstalling bash... [ 1s] [9/52] preinstalling bzip2-libs... [ 1s] [10/52] preinstalling diffutils... [ 1s] [11/52] preinstalling elfutils-libelf... [ 1s] [12/52] preinstalling libcap... [ 1s] [13/52] preinstalling liblua... [ 1s] [14/52] preinstalling libstdc++... [ 1s] [15/52] preinstalling ncurses-libs... [ 1s] [16/52] preinstalling nspr... [ 1s] [17/52] preinstalling nss-softokn-freebl... [ 1s] [18/52] preinstalling popt... [ 1s] [19/52] preinstalling readline... [ 1s] [20/52] preinstalling sed... [ 1s] [21/52] preinstalling sqlite... [ 1s] [22/52] preinstalling xz-libs... [ 1s] [23/52] preinstalling zlib... [ 1s] [24/52] preinstalling glibc-common... [ 1s] [25/52] preinstalling tar... [ 1s] [26/52] preinstalling coreutils... [ 1s] [27/52] preinstalling qemu-linux-user-x86-arm... [ 2s] [28/52] preinstalling tizen-accelerator... [ 2s] [29/52] preinstalling libfile... [ 2s] [30/52] preinstalling bzip2... [ 2s] [31/52] preinstalling nss... [ 2s] [32/52] preinstalling bzip2-libs-x86-arm... [ 2s] [33/52] preinstalling elfutils-libelf-x86-arm... [ 2s] [34/52] preinstalling glibc-x86-arm... [ 2s] [35/52] preinstalling libacl-x86-arm... [ 2s] [36/52] preinstalling libattr-x86-arm... [ 2s] [37/52] preinstalling libcap-x86-arm... [ 2s] [38/52] preinstalling libgcc-x86-arm... [ 2s] [39/52] preinstalling liblua-x86-arm... [ 2s] [40/52] preinstalling ncurses-libs-x86-arm... [ 2s] [41/52] preinstalling nspr-x86-arm... [ 2s] [42/52] preinstalling nss-softokn-freebl-x86-arm... [ 2s] [43/52] preinstalling nss-x86-arm... [ 2s] [44/52] preinstalling popt-x86-arm... [ 2s] [45/52] preinstalling sqlite-x86-arm... [ 2s] [46/52] preinstalling xz-libs-x86-arm... [ 2s] [47/52] preinstalling zlib-x86-arm... [ 2s] [48/52] preinstalling rpm-libs... [ 2s] [49/52] preinstalling bash-x86-arm... [ 2s] [50/52] preinstalling rpm-libs-x86-arm... [ 2s] [51/52] preinstalling rpm... [ 2s] [52/52] preinstalling rpm-x86-arm... [ 2s] [ 3s] cycle: perl -> perl-libs [ 3s] breaking dependency perl-libs -> perl [ 3s] [1/8] preinstalling e2fsprogs-libs... [ 3s] [2/8] preinstalling libpcre... [ 3s] [3/8] preinstalling libuuid... [ 3s] [4/8] preinstalling grep... [ 3s] [5/8] preinstalling libblkid... [ 3s] [6/8] preinstalling util-linux... [ 3s] [7/8] preinstalling perl-libs... [ 3s] [8/8] preinstalling perl... [ 3s] copying packages... [ 4s] reordering...cycle: bash -> glibc -> glibc-common [ 4s] breaking dependency glibc-common -> bash [ 4s] cycle: bash -> glibc -> glibc-common -> coreutils [ 4s] breaking dependency glibc-common -> coreutils [ 4s] cycle: glibc -> glibc-common -> findutils [ 4s] breaking dependency glibc-common -> findutils [ 4s] cycle: glibc -> glibc-common [ 4s] breaking dependency glibc-common -> glibc [ 4s] cycle: glibc -> glibc-common -> grep [ 4s] breaking dependency grep -> glibc [ 4s] cycle: glibc -> glibc-common -> grep -> libgcc [ 4s] breaking dependency grep -> libgcc [ 4s] cycle: glibc -> glibc-common -> grep -> libpcre [ 4s] breaking dependency libpcre -> glibc [ 4s] cycle: glibc -> glibc-common -> grep -> libpcre -> libgcc [ 4s] breaking dependency libpcre -> libgcc [ 4s] cycle: glibc -> glibc-common -> grep -> libpcre -> libstdc++ [ 4s] breaking dependency libstdc++ -> glibc [ 4s] cycle: glibc -> glibc-common -> grep -> libpcre -> libstdc++ -> libgcc [ 4s] breaking dependency glibc -> glibc-common [ 4s] cycle: glibc -> libgcc [ 4s] breaking dependency libgcc -> glibc [ 4s] cycle: filesystem -> setup [ 4s] breaking dependency setup -> filesystem [ 4s] cycle: ncurses -> ncurses-libs [ 4s] breaking dependency ncurses-libs -> ncurses [ 4s] cycle: ncurses-base -> ncurses -> ncurses-libs [ 4s] breaking dependency ncurses-libs -> ncurses-base [ 4s] cycle: perl -> perl-libs [ 4s] breaking dependency perl -> perl-libs [ 4s] cycle: perl -> perl-IO-Compress-Zlib [ 4s] breaking dependency perl -> perl-IO-Compress-Zlib [ 4s] cycle: perl -> perl-IO-Compress-Base [ 4s] breaking dependency perl -> perl-IO-Compress-Base [ 4s] cycle: perl -> perl-Module-Pluggable [ 4s] breaking dependency perl -> perl-Module-Pluggable [ 4s] cycle: perl -> perl-Pod-Simple [ 4s] breaking dependency perl -> perl-Pod-Simple [ 4s] cycle: nss -> nss-sysinit [ 4s] breaking dependency nss -> nss-sysinit [ 4s] cycle: rpm-libs -> rpm [ 4s] breaking dependency rpm-libs -> rpm [ 4s] done [ 8s] booting kvm ... [ 8s] /usr/bin/qemu-kvm -no-reboot -nographic -vga none -net none -cpu host -kernel /srv/obsw/vmlinuz -initrd /srv/obsw/initrd -append root=/dev/vda panic=1 quiet no-kvmclock nmi_watchdog=0 rw elevator=noop console=ttyS0 init=/.build/initvm.x86_64 -m 6000 -drive file=/srv/build/root_6/root,if=virtio,cache=none -drive file=/srv/build/root_6/root,if=ide,index=0,cache=none -drive file=/srv/build/root_6/swap,if=virtio,cache=none -smp 4 [ 10s] doing fast boot [ 10s] Creating device nodes with udev [ 12s] Waiting for device /dev/vda to appear: ok [ 12s] fsck from util-linux 2.21.2 [ 12s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 12s] /dev/vda: clean, 4684/2392064 files, 229216/9568256 blocks [ 12s] fsck succeeded. Mounting root device read-write. [ 12s] Mounting root /dev/vda [ 12s] mount -o rw -t ext4 /dev/vda /root [ 14s] replacing /etc/mtab with symlink to /proc/self/mounts [ 14s] /.build/qemu-reg: line 9: interpreter '/usr/bin/qemu-armeb-binfmt' not found, ignoring [ 14s] /.build/qemu-reg: line 10: interpreter '/usr/bin/qemu-ppc-binfmt' not found, ignoring [ 14s] /.build/qemu-reg: line 11: interpreter '/usr/bin/qemu-mips-binfmt' not found, ignoring [ 14s] /.build/qemu-reg: line 12: interpreter '/usr/bin/qemu-mipsel-binfmt' not found, ignoring [ 14s] /.build/qemu-reg: line 18: interpreter '/usr/bin/qemu-sh4-binfmt' not found, ignoring [ 14s] /.build/qemu-reg: line 19: interpreter '/usr/bin/qemu-sh4eb-binfmt' not found, ignoring [ 15s] 2nd stage started in virtual machine [ 15s] machine type: armv7l [ 15s] swapon on /dev/vdb [ 15s] swapon: /dev/vdb: found swap signature: version 1, page-size 4, same byte order [ 15s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 17s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 18s] logging output to //.build.log... [ 18s] processing specfile /.build-srcdir/_service:gbs:u-boot-tm1.spec ... [ 19s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:u-boot-tm1.spec build rpmlint-Factory ... [ 27s] running rpm-x86-arm postinstall script [ 28s] running rpm-libs-x86-arm postinstall script [ 29s] running tizen-accelerator postinstall script [ 29s] running glibc-x86-arm postinstall script [ 29s] running bash-x86-arm postinstall script [ 30s] initializing rpm db... [ 35s] [1/169] cumulate cross-armv7l-platformfile-0.0.1-1.1 [ 35s] [2/169] cumulate kernel-headers-3.4.91-1.1 [ 35s] [3/169] cumulate tizen-release-2.2.0-1.1 [ 35s] [4/169] cumulate tzdata-2014j-1.1 [ 35s] [5/169] cumulate libgcc-4.9.2-2015.02.1.11 [ 35s] [6/169] cumulate setup-0.2-1.1 [ 35s] [7/169] cumulate filesystem-0.1-1.1 [ 35s] [8/169] cumulate glibc-2.20-2014.11.1.10 [ 35s] [9/169] cumulate libstdc++-4.9.2-2015.02.1.11 [ 35s] [10/169] cumulate libatomic-4.9.2-2015.02.1.11 [ 35s] [11/169] cumulate libgomp-4.9.2-2015.02.1.11 [ 35s] [12/169] cumulate openssl-1.0.1p-1.5 [ 35s] [13/169] cumulate bash-4.1-1.6 [ 35s] [14/169] cumulate bzip2-libs-1.0.5-1.8 [ 35s] [15/169] cumulate cpio-2.8-1.6 [ 35s] [16/169] cumulate db4-4.8.30-1.8 [ 35s] [17/169] cumulate diffutils-3.0-1.6 [ 35s] [18/169] cumulate e2fsprogs-libs-1.41.9-1.4 [ 35s] [19/169] cumulate elfutils-libelf-0.152-1.12 [ 35s] [20/169] cumulate expat-2.0.1-1.8 [ 35s] [21/169] cumulate fdupes-1.40-1.5 [ 35s] [22/169] cumulate findutils-4.2.31-1.5 [ 35s] [23/169] cumulate gdbm-1.8.3-1.12 [ 35s] [24/169] cumulate libattr-2.4.44-1.8 [ 36s] [25/169] cumulate libitm-4.9.2-2015.02.1.11 [ 36s] [26/169] cumulate liblua-5.1.4-1.6 [ 36s] [27/169] cumulate libuuid-2.20.2-1.4 [ 36s] [28/169] cumulate m4-1.4.14-1.5 [ 36s] [29/169] cumulate net-tools-1.60-2.6 [ 36s] [30/169] cumulate nspr-4.9-1.9 [ 36s] [31/169] cumulate nss-softokn-freebl-3.12.9-1.17 [ 36s] [32/169] cumulate patch-2.6-1.6 [ 36s] [33/169] cumulate pkg-config-0.25-2.6 [ 36s] [34/169] cumulate popt-1.16-1.8 [ 36s] [35/169] cumulate readline-5.2-1.6 [ 36s] [36/169] cumulate ruby-1.9.2-1.6 [ 36s] [37/169] cumulate sed-4.1.5-1.5 [ 36s] [38/169] cumulate sqlite-3.8.10.2-1.8 [ 36s] [39/169] cumulate xz-libs-5.0.3-1.8 [ 36s] [40/169] cumulate zlib-1.2.8-1.8 [ 36s] [41/169] cumulate libasan-4.9.2-2015.02.1.11 [ 36s] [42/169] cumulate libpcre-7.7-1.25 [ 36s] [43/169] cumulate libubsan-4.9.2-2015.02.1.11 [ 36s] [44/169] cumulate patchelf-0.5.svn20809-1.5 [ 36s] [45/169] cumulate ncurses-libs-5.7-1.8 [ 36s] [46/169] cumulate build-compare-2009.10.14-1.6 [ 36s] [47/169] cumulate qemu-linux-user-x86-arm-2.2.0-4.1.1 [ 36s] [48/169] cumulate cpp-4.9.2-2015.02.1.11 [ 36s] [49/169] cumulate glibc-headers-2.20-2014.11.1.10 [ 36s] [50/169] cumulate libcap-2.21-1.6 [ 36s] [51/169] cumulate unzip-6.0-1.12 [ 36s] [52/169] cumulate grep-2.5.1a-1.5 [ 36s] [53/169] cumulate libacl-2.2.49-1.5 [ 36s] [54/169] cumulate libfile-5.04-1.7 [ 36s] [55/169] cumulate libpython-2.7.1-1.5 [ 36s] [56/169] cumulate libxml2-2.9.2-1.3 [ 36s] [57/169] cumulate make-3.82-154.1.6 [ 36s] [58/169] cumulate ncurses-5.7-1.8 [ 36s] [59/169] cumulate pcre-7.7-1.25 [ 36s] [60/169] cumulate psmisc-22.20-1.6 [ 36s] [61/169] cumulate binutils-2.25.0-2015.01.1.8 [ 36s] [62/169] cumulate bzip2-1.0.5-1.8 [ 36s] [63/169] cumulate libblkid-2.20.2-1.4 [ 36s] [64/169] cumulate xz-5.0.3-1.8 [ 36s] [65/169] cumulate elfutils-libs-0.152-1.12 [ 36s] [66/169] cumulate nss-3.12.9-1.17 [ 36s] [67/169] cumulate perl-5.12.1-1.25 [ 36s] [68/169] cumulate ncurses-base-5.7-1.8 [ 36s] [69/169] cumulate perl-HTML-Tagset-3.20-1.1 [ 36s] [70/169] cumulate perl-IO-Compress-Base-2.008-1.25 [ 37s] [71/169] cumulate perl-Module-Pluggable-3.60-1.25 [ 37s] [72/169] cumulate perl-Pod-Escapes-1.04-1.25 [ 37s] [73/169] cumulate perl-TimeDate-1.20-1.1 [ 37s] [74/169] cumulate perl-URI-1.54-1.1 [ 37s] [75/169] cumulate glibc-devel-2.20-2014.11.1.10 [ 37s] [76/169] cumulate file-5.04-1.7 [ 37s] [77/169] cumulate libxslt-1.1.28-1.2 [ 37s] [78/169] cumulate perl-Compress-Raw-Zlib-2.008-1.25 [ 37s] [79/169] cumulate perl-libs-5.12.1-1.25 [ 37s] [80/169] cumulate tar-1.17-1.6 [ 37s] [81/169] cumulate coreutils-6.9-1.6 [ 37s] [82/169] cumulate libmount-2.20.2-1.4 [ 37s] [83/169] cumulate xz-lzma-compat-5.0.3-1.8 [ 37s] [84/169] cumulate elfutils-0.152-1.12 [ 37s] [85/169] cumulate nss-sysinit-3.12.9-1.17 [ 37s] [86/169] cumulate python-base-2.7.1-1.5 [ 37s] [87/169] cumulate glibc-common-2.20-2014.11.1.10 [ 37s] [88/169] cumulate libarchive-2.8.3-1.2 [ 37s] [89/169] cumulate rpm-libs-4.9.1-4.3.1.10 [ 37s] [90/169] cumulate libstdc++-devel-4.9.2-2015.02.1.11 [ 37s] [91/169] cumulate perl-Pod-Simple-3.07-1.25 [ 37s] [92/169] cumulate tizen-accelerator-1.0.1-1.1 [ 37s] [93/169] cumulate perl-IO-Compress-Zlib-2.008-1.25 [ 37s] [94/169] cumulate gawk-3.1.5-1.6 [ 37s] [95/169] cumulate gzip-1.3.12-1.6 [ 37s] [96/169] cumulate perl-HTML-Parser-3.65-1.5 [ 37s] [97/169] cumulate python-xml-2.7.1-1.5 [ 37s] [98/169] cumulate autoconf-2.68-1.1 [ 37s] [99/169] cumulate build-2011.01.10a-1.1 [ 37s] [100/169] installing rpm-4.9.1-4.3.1.10 [ 38s] [101/169] cumulate python-lxml-2.2.3-1.2 [ 38s] [102/169] cumulate util-linux-2.20.2-1.4 [ 38s] [103/169] cumulate cmake-2.8.5-1.1.2 [ 38s] [104/169] cumulate python-2.7.1-1.3 [ 38s] [105/169] cumulate gcc-4.9.2-2015.02.1.11 [ 38s] [106/169] cumulate automake-1.11.1-1.1 [ 38s] [107/169] cumulate bzip2-libs-x86-arm-1.0.5-9.1.4 [ 38s] [108/169] cumulate elfutils-libelf-x86-arm-0.152-9.1.4 [ 38s] [109/169] cumulate elfutils-libs-x86-arm-0.152-9.1.4 [ 38s] [110/169] cumulate expat-x86-arm-2.0.1-1.4 [ 38s] [111/169] cumulate glibc-x86-arm-2.20-9.1.5 [ 38s] [112/169] cumulate libacl-x86-arm-2.2.49-9.1.4 [ 38s] [113/169] cumulate libarchive-x86-arm-2.8.3-1.3 [ 38s] [114/169] cumulate libattr-x86-arm-2.4.44-9.1.4 [ 38s] [115/169] cumulate libcap-x86-arm-2.21-9.1.4 [ 38s] [116/169] cumulate libfile-x86-arm-5.04-9.1.4 [ 38s] [117/169] cumulate libgcc-x86-arm-4.9.2-9.1.4 [ 38s] [118/169] cumulate liblua-x86-arm-5.1.4-9.1.3 [ 38s] [119/169] cumulate libpython-x86-arm-2.7.1-9.1.3 [ 38s] [120/169] cumulate libstdc++-x86-arm-4.9.2-9.1.4 [ 38s] [121/169] cumulate libxml2-x86-arm-2.9.2-9.1.3 [ 38s] [122/169] cumulate libxslt-x86-arm-1.1.28-9.1.3 [ 38s] [123/169] cumulate ncurses-libs-x86-arm-5.7-9.1.3 [ 38s] [124/169] cumulate nspr-x86-arm-4.9-9.1.5 [ 38s] [125/169] cumulate nss-softokn-freebl-x86-arm-3.12.9-9.1.5 [ 38s] [126/169] cumulate nss-x86-arm-3.12.9-9.1.5 [ 38s] [127/169] cumulate openssl-x86-arm-1.0.1p-9.1.3 [ 38s] [128/169] cumulate perl-libs-x86-arm-5.12.1-9.1.5 [ 38s] [129/169] cumulate popt-x86-arm-1.16-9.1.4 [ 38s] [130/169] cumulate python-lxml-x86-arm-2.2.3-9.1.3 [ 38s] [131/169] cumulate python-x86-arm-2.7.1-9.1.3 [ 38s] [132/169] cumulate python-xml-x86-arm-2.7.1-9.1.3 [ 38s] [133/169] cumulate rpm-libs-x86-arm-4.9.1-9.1.4 [ 38s] [134/169] cumulate sqlite-x86-arm-3.8.10.2-9.1.3 [ 38s] [135/169] cumulate xz-libs-x86-arm-5.0.3-9.1.4 [ 38s] [136/169] cumulate zlib-x86-arm-1.2.8-9.1.4 [ 38s] [137/169] cumulate gcc-c++-4.9.2-2015.02.1.11 [ 38s] [138/169] cumulate perl-Compress-Zlib-2.008-1.25 [ 38s] [139/169] cumulate rpm-build-4.9.1-4.3.1.10 [ 38s] [140/169] cumulate bash-x86-arm-4.1-9.1.4 [ 39s] [141/169] cumulate diffutils-x86-arm-3.0-9.1.4 [ 39s] [142/169] cumulate fdupes-x86-arm-1.40-9.1.4 [ 39s] [143/169] cumulate findutils-x86-arm-4.2.31-9.1.4 [ 39s] [144/169] cumulate gawk-x86-arm-3.1.5-9.1.3 [ 39s] [145/169] cumulate gzip-x86-arm-1.3.12-9.1.4 [ 39s] [146/169] cumulate libtool-2.2.6b-1.8 [ 39s] [147/169] cumulate m4-x86-arm-1.4.14-9.1.4 [ 39s] [148/169] cumulate make-x86-arm-3.82-9.1.3 [ 39s] [149/169] cumulate patch-x86-arm-2.6-9.1.4 [ 39s] [150/169] cumulate perl-libwww-perl-5.836-1.1 [ 39s] [151/169] cumulate pkg-config-x86-arm-0.25-9.1.4 [ 39s] [152/169] cumulate ruby-x86-arm-1.9.2-9.1.4 [ 39s] [153/169] cumulate sed-x86-arm-4.1.5-9.1.4 [ 39s] [154/169] cumulate bzip2-x86-arm-1.0.5-1.4 [ 39s] [155/169] cumulate perl-x86-arm-5.12.1-9.1.5 [ 39s] [156/169] cumulate python-base-x86-arm-2.7.1-9.1.3 [ 39s] [157/169] cumulate coreutils-x86-arm-6.9-9.1.4 [ 39s] [158/169] cumulate cross-armv7l-gcc-accel-x86-armv7l-4.9.2-2015.02.1.6 [ 40s] [159/169] cumulate file-x86-arm-5.04-9.1.4 [ 40s] [160/169] cumulate tar-x86-arm-1.17-9.1.4 [ 40s] [161/169] cumulate elfutils-x86-arm-0.152-9.1.4 [ 40s] [162/169] cumulate cmake-x86-arm-2.8.5-1.3 [ 40s] [163/169] cumulate rpm-x86-arm-4.9.1-9.1.4 [ 40s] [164/169] cumulate rpm-build-x86-arm-4.9.1-9.1.4 [ 40s] [165/169] cumulate perl-HTML-Parser-x86-arm-3.65-9.1.3 [ 40s] [166/169] cumulate cross-armv7l-binutils-accel-x86-armv7l-2.25.0-2015.01.1.3 [ 40s] [167/169] cumulate perl-XML-Parser-2.36-1.6 [ 40s] [168/169] cumulate perl-XML-Parser-x86-arm-2.36-9.1.3 [ 40s] [169/169] now installing cumulated packages [ 41s] Preparing... ################################################## [ 41s] setup ################################################## [ 41s] filesystem ################################################## [ 41s] tzdata ################################################## [ 41s] tizen-release ################################################## [ 41s] kernel-headers ################################################## [ 41s] cross-armv7l-platformfile ################################################## [ 41s] bash ################################################## [ 41s] findutils ################################################## [ 41s] grep ################################################## [ 42s] coreutils ################################################## [ 42s] glibc-common ################################################## [ 42s] libgcc ################################################## [ 42s] /sbin/ldconfig: relative path `1' used to build cache [ 42s] warning: %post(libgcc-4.9.2-2015.02.1.11.armv7l) scriptlet failed, exit status 1 [ 42s] glibc ################################################## [ 42s] libstdc++ ################################################## [ 42s] libattr ################################################## [ 43s] libacl ################################################## [ 43s] libpcre ################################################## [ 43s] tizen-accelerator ################################################## [ 43s] glibc-x86-arm ################################################## [ 44s] libattr-x86-arm ################################################## [ 44s] libacl-x86-arm ################################################## [ 44s] libgcc-x86-arm ################################################## [ 44s] libstdc++-x86-arm ################################################## [ 45s] glibc-headers ################################################## [ 45s] glibc-devel ################################################## [ 45s] libstdc++-devel ################################################## [ 45s] coreutils-x86-arm ################################################## [ 48s] bash-x86-arm ################################################## [ 48s] findutils-x86-arm ################################################## [ 48s] build-compare ################################################## [ 48s] qemu-linux-user-x86-arm ################################################## [ 49s] zlib ################################################## [ 49s] zlib-x86-arm ################################################## [ 49s] bzip2-libs ################################################## [ 49s] bzip2-libs-x86-arm ################################################## [ 49s] elfutils-libelf ################################################## [ 49s] xz-libs ################################################## [ 49s] ncurses-libs ################################################## [ 49s] ncurses ################################################## [ 49s] ncurses-base ################################################## [ 49s] libpython ################################################## [ 49s] python-base ################################################## [ 50s] libxml2 ################################################## [ 50s] binutils ################################################## [ 50s] xz-libs-x86-arm ################################################## [ 50s] elfutils-libelf-x86-arm ################################################## [ 50s] libfile ################################################## [ 50s] openssl ################################################## [ 50s] expat ################################################## [ 50s] libuuid ################################################## [ 50s] nspr ################################################## [ 50s] popt ################################################## [ 50s] sed ################################################## [ 50s] sqlite ################################################## [ 50s] popt-x86-arm ################################################## [ 50s] nspr-x86-arm ################################################## [ 50s] libfile-x86-arm ################################################## [ 50s] libblkid ################################################## [ 50s] libarchive ################################################## [ 50s] file ################################################## [ 50s] libxslt ################################################## [ 50s] xz ################################################## [ 50s] elfutils-libs ################################################## [ 50s] elfutils ################################################## [ 50s] bzip2 ################################################## [ 50s] tar ################################################## [ 50s] libcap ################################################## [ 50s] libcap-x86-arm ################################################## [ 50s] diffutils ################################################## [ 50s] liblua ################################################## [ 50s] liblua-x86-arm ################################################## [ 50s] m4 ################################################## [ 50s] nss-softokn-freebl ################################################## [ 51s] nss ################################################## [ 51s] nss-sysinit ################################################## [ 51s] nss-x86-arm ################################################## [ 51s] rpm-libs ################################################## [ 51s] rpm-libs-x86-arm ################################################## [ 51s] patch ################################################## [ 51s] pkg-config ################################################## [ 51s] gawk ################################################## [ 51s] gzip ################################################## [ 51s] elfutils-libs-x86-arm ################################################## [ 51s] libarchive-x86-arm ################################################## [ 51s] openssl-x86-arm ################################################## [ 51s] libxml2-x86-arm ################################################## [ 51s] libpython-x86-arm ################################################## [ 51s] xz-lzma-compat ################################################## [ 52s] python-lxml ################################################## [ 52s] cmake ################################################## [ 52s] libmount ################################################## [ 52s] python-xml ################################################## [ 52s] cpp ################################################## [ 52s] libasan ################################################## [ 52s] libubsan ################################################## [ 52s] libatomic ################################################## [ 52s] libgomp ################################################## [ 52s] cpio ################################################## [ 52s] db4 ################################################## [ 52s] fdupes ################################################## [ 52s] gdbm ################################################## [ 52s] perl-Pod-Escapes ################################################## [ 52s] perl-Compress-Raw-Zlib ################################################## [ 53s] perl-IO-Compress-Base ################################################## [ 53s] perl-Module-Pluggable ################################################## [ 53s] perl-Pod-Simple ################################################## [ 53s] perl-IO-Compress-Zlib ################################################## [ 53s] perl-libs ################################################## [ 54s] perl ################################################## [ 54s] perl-URI ################################################## [ 55s] autoconf ################################################## [ 55s] automake ################################################## [ 55s] perl-HTML-Tagset ################################################## [ 55s] perl-TimeDate ################################################## [ 55s] perl-Compress-Zlib ################################################## [ 55s] perl-libs-x86-arm ################################################## [ 55s] perl-x86-arm ################################################## [ 56s] perl-HTML-Parser ################################################## [ 56s] perl-libwww-perl ################################################## [ 56s] perl-XML-Parser ################################################## [ 56s] libitm ################################################## [ 57s] gcc ################################################## [ 57s] gcc-c++ ################################################## [ 58s] cross-armv7l-gcc-accel-x86-a################################################## [ 58s] "GCCVER: 4.9 GCCVER_NEW: 4.9 " [ 58s] GCC and GCC-accel versions match. Enabling cross-compiler. [ 58s] readline ################################################## [ 58s] python ################################################## [ 58s] ruby ################################################## [ 58s] unzip ################################################## [ 58s] rpm-build ################################################## [ 58s] make ################################################## [ 59s] make-x86-arm ################################################## [ 59s] rpm-build-x86-arm ################################################## [ 59s] ruby-x86-arm ################################################## [ 59s] python-x86-arm ################################################## [ 59s] cross-armv7l-binutils-accel-################################################## [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/addr2line': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ar': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/as': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/c++filt': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/elfedit': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/gprof': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ld': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ld.bfd': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ld.gold': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/nm': File exists [ 59s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/objcopy': File exists [ 60s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/objdump': File exists [ 60s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ranlib': File exists [ 60s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/readelf': File exists [ 60s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/size': File exists [ 60s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/strings': File exists [ 60s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/strip': File exists [ 60s] perl-XML-Parser-x86-arm ################################################## [ 60s] perl-HTML-Parser-x86-arm ################################################## [ 60s] build ################################################## [ 60s] libtool ################################################## [ 60s] fdupes-x86-arm ################################################## [ 60s] python-xml-x86-arm ################################################## [ 60s] cmake-x86-arm ################################################## [ 60s] python-lxml-x86-arm ################################################## [ 60s] python-base-x86-arm ################################################## [ 61s] elfutils-x86-arm ################################################## [ 61s] gzip-x86-arm ################################################## [ 62s] gawk-x86-arm ################################################## [ 62s] pkg-config-x86-arm ################################################## [ 62s] patch-x86-arm ################################################## [ 62s] rpm-x86-arm ################################################## [ 62s] /bin/rpm.orig-arm already present - skipping. [ 62s] /usr/bin/rpm2cpio.orig-arm already present - skipping. [ 62s] /usr/bin/rpmdb.orig-arm already present - skipping. [ 62s] /usr/bin/rpmquery.orig-arm already present - skipping. [ 62s] /usr/bin/rpmsign.orig-arm already present - skipping. [ 62s] /usr/bin/rpmverify.orig-arm already present - skipping. [ 62s] nss-softokn-freebl-x86-arm ################################################## [ 62s] m4-x86-arm ################################################## [ 62s] diffutils-x86-arm ################################################## [ 62s] tar-x86-arm ################################################## [ 62s] bzip2-x86-arm ################################################## [ 62s] libxslt-x86-arm ################################################## [ 62s] mv: cannot stat `/usr/bin/xsltproc': No such file or directory [ 62s] file-x86-arm ################################################## [ 62s] sqlite-x86-arm ################################################## [ 62s] sed-x86-arm ################################################## [ 62s] expat-x86-arm ################################################## [ 62s] ncurses-libs-x86-arm ################################################## [ 62s] util-linux ################################################## [ 62s] psmisc ################################################## [ 62s] pcre ################################################## [ 62s] patchelf ################################################## [ 62s] e2fsprogs-libs ################################################## [ 62s] net-tools ################################################## [ 63s] removing nis flags from //etc/nsswitch.conf... [ 63s] now finalizing build dir... [ 70s] build target is armv7l-tizen-linux [ 70s] ----------------------------------------------------------------- [ 70s] I have the following modifications for u-boot-tm1.spec: [ 70s] 5c5 [ 70s] < Release: 0 [ 70s] --- [ 70s] > Release: %{?release_prefix:%{release_prefix}.}2.1 [ 70s] ----------------------------------------------------------------- [ 70s] ----- building u-boot-tm1.spec (user abuild) [ 70s] ----------------------------------------------------------------- [ 70s] ----------------------------------------------------------------- [ 70s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:2.4:Mobile/target-TM1/1d8a6b17a2852cf84f875a72d5cd2459-u-boot-sprd' /home/abuild/rpmbuild/SOURCES/u-boot-tm1.spec [ 70s] Building target platforms: armv7l-tizen-linux [ 70s] Building for target armv7l-tizen-linux [ 70s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WE6kk1 [ 70s] + umask 022 [ 70s] + cd /home/abuild/rpmbuild/BUILD [ 70s] + cd /home/abuild/rpmbuild/BUILD [ 70s] + rm -rf u-boot-sprd-2010.12 [ 70s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-sprd-2010.12.tar.bz2 [ 70s] + /bin/tar -xf - [ 72s] + STATUS=0 [ 72s] + '[' 0 -ne 0 ']' [ 72s] + cd u-boot-sprd-2010.12 [ 72s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 72s] + exit 0 [ 72s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SfBr8W [ 72s] + umask 022 [ 72s] + cd /home/abuild/rpmbuild/BUILD [ 72s] + cd u-boot-sprd-2010.12 [ 72s] + LANG=C [ 72s] + export LANG [ 72s] + unset DISPLAY [ 72s] + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb' [ 72s] + export CFLAGS [ 72s] + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb' [ 72s] + export CXXFLAGS [ 72s] + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -I%_fmoddir' [ 72s] + export FFLAGS [ 72s] + LD_AS_NEEDED=1 [ 72s] + export LD_AS_NEEDED [ 72s] + cp /home/abuild/rpmbuild/SOURCES/u-boot-tm1.manifest . [ 72s] + make distclean [ 73s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 73s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 73s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 73s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 73s] + make tizen_tm1_config [ 73s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 73s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 73s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 73s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 73s] Configuring for tizen_tm1 board... [ 73s] + make -j4 'HOSTCC=gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb' HOSTSTRIP=/bin/true tools [ 73s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 73s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 73s] Generating include/autoconf.mk [ 73s] Generating include/autoconf.mk.dep [ 73s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 73s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 74s] gcc -DDO_DEPS_ONLY \ [ 74s] -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 74s] -o lib/asm-offsets.s lib/asm-offsets.c -c -S [ 74s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 74s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 74s] from lib/asm-offsets.c:18: [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 74s] #define CONFIG_MMC 1 [ 74s] ^ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 74s] #define CONFIG_MMC [ 74s] ^ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 74s] #define CONFIG_EFI_PARTITION 1 [ 74s] ^ [ 74s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 74s] #define CONFIG_EFI_PARTITION [ 74s] ^ [ 74s] Generating include/generated/generic-asm-offsets.h [ 74s] tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h [ 74s] for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ ; do \ [ 74s] make -C $dir _depend ; done [ 74s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 74s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 75s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 75s] make[1]: Nothing to be done for `_depend'. [ 75s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 75s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 75s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 75s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 75s] make[1]: Nothing to be done for `_depend'. [ 75s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 75s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 75s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 75s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 75s] make[1]: Nothing to be done for `_depend'. [ 75s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 76s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 76s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 76s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 76s] make[1]: Nothing to be done for `_depend'. [ 76s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 76s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 76s] make[1]: Nothing to be done for `_depend'. [ 76s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 76s] make -C tools all [ 76s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 76s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o bmp_logo.o bmp_logo.c -c [ 76s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o crc32.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/crc32.c [ 76s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o default_image.o default_image.c -c [ 76s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o fit_image.o fit_image.c -c [ 76s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o image.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common/image.c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o imximage.o imximage.c -c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o kwbimage.o kwbimage.c -c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o md5.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/md5.c [ 77s] kwbimage.c: In function 'kwbimage_verify_header': [ 77s] kwbimage.c:351:10: warning: variable 'calc_exthdrcsum' set but not used [-Wunused-but-set-variable] [ 77s] uint8_t calc_exthdrcsum; [ 77s] ^ [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o mkimage.o mkimage.c -c [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/md5.c: In function 'MD5Final': [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 77s] ((__u32 *) ctx->in)[14] = ctx->bits[0]; [ 77s] ^ [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 77s] ((__u32 *) ctx->in)[15] = ctx->bits[1]; [ 77s] ^ [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o os_support.o os_support.c -c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o sha1.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/sha1.c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt.c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_ro.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt_ro.c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_rw.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt_rw.c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_strerror.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt_strerror.c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_wip.o /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt/fdt_wip.c [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o bmp_logo bmp_logo.o [ 77s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o mkimage crc32.o default_image.o fit_image.o image.o imximage.o kwbimage.o md5.o mkimage.o os_support.o sha1.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o [ 77s] /bin/true bmp_logo [ 77s] ./bmp_logo logos/denx.bmp >/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/bmp_logo.h [ 77s] /bin/true mkimage [ 77s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 77s] + make -j4 'HOSTCC=gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb' CONFIG_ENV_IS_IN_MMC=y env [ 78s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 78s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 78s] make -C tools/env all MTD_VERSION= [ 78s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 78s] ln -s ../../lib/crc32.c crc32.c [ 78s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 78s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 78s] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include2 -idirafter /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -DUSE_HOSTCC -o fw_printenv crc32.c fw_env.c fw_env_main.c [ 79s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 79s] + export PATH=/usr/local/bin:/bin:/usr/bin:tools [ 79s] + PATH=/usr/local/bin:/bin:/usr/bin:tools [ 79s] ++ echo kernel/u-boot-tm1#e0cf76221b8da0276639b7ccf545f9740228a19c [ 79s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 79s] + make -j4 EXTRAVERSION=-ge0cf76221-TIZEN.org [ 79s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 79s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 79s] for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ ; do \ [ 79s] make -C $dir _depend ; done [ 79s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 79s] make[1]: Nothing to be done for `_depend'. [ 79s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 79s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 79s] make[1]: Nothing to be done for `_depend'. [ 79s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 79s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 79s] make[1]: Nothing to be done for `_depend'. [ 79s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 80s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] make[1]: Nothing to be done for `_depend'. [ 80s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] make[1]: Nothing to be done for `_depend'. [ 80s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] make -C tools all [ 80s] make -C examples/standalone all [ 80s] make -C examples/api all [ 80s] make -C arch/arm/cpu/armv7 start.o [ 80s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 80s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 80s] make -C /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ u-boot.lds [ 80s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 80s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder \ [ 80s] -o hello_world.o hello_world.c -c [ 80s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 80s] make[1]: Nothing to be done for `all'. [ 80s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 80s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder \ [ 80s] -o stubs.o stubs.c -c [ 80s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 80s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 80s] from hello_world.c:24: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 80s] #define CONFIG_MMC 1 [ 80s] ^ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 80s] #define CONFIG_MMC [ 80s] ^ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 80s] #define CONFIG_EFI_PARTITION 1 [ 80s] ^ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 80s] #define CONFIG_EFI_PARTITION [ 80s] ^ [ 80s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 80s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 80s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/exports.h:6, [ 80s] from stubs.c:1: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 80s] #define CONFIG_MMC 1 [ 80s] ^ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 80s] #define CONFIG_MMC [ 80s] ^ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 80s] #define CONFIG_EFI_PARTITION 1 [ 80s] ^ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 80s] #define CONFIG_EFI_PARTITION [ 80s] ^ [ 80s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] gcc -D__ASSEMBLY__ -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a \ [ 80s] -o start.o start.S -c [ 80s] ld -r -o libstubs.o stubs.o [ 80s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] make[1]: Nothing to be done for `u-boot.lds'. [ 80s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] gcc -E -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -include /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/u-boot/u-boot.lds.h -ansi -D__ASSEMBLY__ -P - u-boot.lds [ 80s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 80s] from start.S:33: [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 80s] #define CONFIG_MMC 1 [ 80s] ^ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 80s] #define CONFIG_MMC [ 80s] ^ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 80s] #define CONFIG_EFI_PARTITION 1 [ 80s] ^ [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 80s] #define CONFIG_EFI_PARTITION [ 80s] ^ [ 80s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] ld -g -Ttext 0xc100000 \ [ 80s] -o hello_world -e hello_world hello_world.o libstubs.o \ [ 80s] -L/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9 -lgcc [ 80s] objcopy -O srec hello_world hello_world.srec 2>/dev/null [ 80s] objcopy -O binary hello_world hello_world.bin 2>/dev/null [ 80s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 80s] make -C api/ [ 80s] make -C arch/arm/cpu/armv7/ [ 81s] make -C arch/arm/cpu/armv7/sc8830/ [ 81s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 81s] make -C arch/arm/lib/ [ 81s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 81s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 81s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 81s] -o cpu.o cpu.c -c [ 81s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 81s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 81s] from cpu.c:34: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 81s] #define CONFIG_MMC 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 81s] #define CONFIG_MMC [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 81s] #define CONFIG_EFI_PARTITION 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 81s] #define CONFIG_EFI_PARTITION [ 81s] ^ [ 81s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 81s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 81s] -o syslib.o syslib.c -c [ 81s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 81s] rm -f libapi.o; ar rcs libapi.o [ 81s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 81s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 81s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 81s] from syslib.c:24: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 81s] #define CONFIG_MMC 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 81s] #define CONFIG_MMC [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 81s] #define CONFIG_EFI_PARTITION 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 81s] #define CONFIG_EFI_PARTITION [ 81s] ^ [ 81s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 81s] make -C common/ [ 81s] ld -r -o libarmv7.o cpu.o syslib.o [ 81s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 81s] make -C disk/ [ 81s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 81s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 81s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 81s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 81s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 81s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 81s] -o part.o part.c -c [ 81s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 81s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 81s] -o board.o board.c -c [ 81s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 81s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 81s] from part.c:24: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 81s] #define CONFIG_MMC 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 81s] #define CONFIG_MMC [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 81s] #define CONFIG_EFI_PARTITION 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 81s] #define CONFIG_EFI_PARTITION [ 81s] ^ [ 81s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 81s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 81s] from board.c:41: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 81s] #define CONFIG_MMC 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 81s] #define CONFIG_MMC [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 81s] #define CONFIG_EFI_PARTITION 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 81s] #define CONFIG_EFI_PARTITION [ 81s] ^ [ 81s] part.c: In function 'get_partition_info_with_partnum': [ 81s] part.c:397:3: warning: implicit declaration of function 'get_partition_info_efi_with_partnum' [-Wimplicit-function-declaration] [ 81s] if (get_partition_info_efi_with_partnum(dev_desc,part,info, total, sdidx, sdpart, sdinfo) == 0) { [ 81s] ^ [ 81s] part.c: In function 'get_all_partition_info': [ 81s] part.c:414:3: warning: implicit declaration of function 'get_all_partition_info_efi' [-Wimplicit-function-declaration] [ 81s] if (get_all_partition_info_efi(dev_desc,info,total_partition_num) == 0) { [ 81s] ^ [ 81s] board.c: In function 'board_init_r': [ 81s] board.c:468:2: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 81s] performance_debug("1:"); [ 81s] ^ [ 81s] board.c:468:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 81s] board.c:493:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 81s] performance_debug("2:"); [ 81s] ^ [ 81s] board.c:548:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 81s] performance_debug("3:"); [ 81s] ^ [ 81s] board.c:557:2: warning: implicit declaration of function 'mmc_legacy_init' [-Wimplicit-function-declaration] [ 81s] mmc_legacy_init(1); [ 81s] ^ [ 81s] board.c:574:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 81s] performance_debug("4:"); [ 81s] ^ [ 81s] board.c:683:5: warning: implicit declaration of function 'MMU_Init' [-Wimplicit-function-declaration] [ 81s] MMU_Init(CONFIG_MMU_TABLE_ADDR); [ 81s] ^ [ 81s] board.c:699:13: warning: implicit declaration of function 'DCDC_Cal_ArmCore' [-Wimplicit-function-declaration] [ 81s] DCDC_Cal_ArmCore(); [ 81s] ^ [ 81s] board.c:700:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 81s] performance_debug("6:"); [ 81s] ^ [ 81s] board.c:706:5: warning: implicit declaration of function 'board_keypad_init' [-Wimplicit-function-declaration] [ 81s] board_keypad_init(); [ 81s] ^ [ 81s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 81s] -o part_dos.o part_dos.c -c [ 81s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 81s] -o bootm.o bootm.c -c [ 81s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 81s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 81s] from bootm.c:24: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 81s] #define CONFIG_MMC 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 81s] #define CONFIG_MMC [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 81s] #define CONFIG_EFI_PARTITION 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 81s] #define CONFIG_EFI_PARTITION [ 81s] ^ [ 81s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 81s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 81s] from part_dos.c:33: [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 81s] #define CONFIG_MMC 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 81s] #define CONFIG_MMC [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 81s] #define CONFIG_EFI_PARTITION 1 [ 81s] ^ [ 81s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 81s] #define CONFIG_EFI_PARTITION [ 81s] ^ [ 82s] bootm.c: In function 'bootm_linux_fdt': [ 82s] bootm.c:186:8: warning: unused variable 'of_size' [-Wunused-variable] [ 82s] ulong of_size = images->ft_len; [ 82s] ^ [ 82s] bootm.c:185:8: warning: unused variable 'bootmap_base' [-Wunused-variable] [ 82s] ulong bootmap_base = getenv_bootm_low(); [ 82s] ^ [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o cache.o cache.c -c [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o part_efi.o part_efi.c -c [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from cache.c:26: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o cache-cp15.o cache-cp15.c -c [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from part_efi.c:34: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] part_efi.c:600:12: warning: 'format_gpt_valid' defined but not used [-Wunused-function] [ 82s] static int format_gpt_valid(block_dev_desc_t * dev_desc, unsigned long long lba, [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from cache-cp15.c:24: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o interrupts.o interrupts.c -c [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from interrupts.c:38: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 82s] ld -r -o libdisk.o part.o part_dos.o part_efi.o [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o reset.o reset.c -c [ 82s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 82s] make -C drivers/bios_emulator/ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from reset.c:40: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 82s] gcc -D__ASSEMBLY__ -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a \ [ 82s] -o mmu_asm.o mmu_asm.S -c [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o eabi_compat.o eabi_compat.c -c [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from mmu_asm.S:13: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o generic.o generic.c -c [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from eabi_compat.c:12: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from generic.c:25: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] ld -r -o libarm.o board.o bootm.o cache.o cache-cp15.o interrupts.o reset.o [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o timer.o timer.c -c [ 82s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 82s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 82s] make -C drivers/block/ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from timer.c:39: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 82s] In file included from timer.c:44:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 82s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 82s] ^ [ 82s] In file included from timer.c:39:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 82s] #define MAX(x, y) max(x, y) [ 82s] ^ [ 82s] In file included from timer.c:44:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 82s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 82s] ^ [ 82s] In file included from timer.c:39:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 82s] #define MIN(x, y) min(x, y) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 82s] from timer.c:46: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 82s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 82s] from timer.c:46: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 82s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 82s] ^ [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o reset.o reset.c -c [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from reset.c:35: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 82s] rm -f libatibiosemu.o; ar rcs libatibiosemu.o [ 82s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 82s] In file included from reset.c:37:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 82s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 82s] ^ [ 82s] In file included from reset.c:35:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 82s] #define MAX(x, y) max(x, y) [ 82s] ^ [ 82s] In file included from reset.c:37:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 82s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 82s] ^ [ 82s] In file included from reset.c:35:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 82s] #define MIN(x, y) min(x, y) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 82s] from reset.c:38: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 82s] #define KPD_NUM (0x31 << 16) [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 82s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 82s] from reset.c:38: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 82s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 82s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 82s] from reset.c:40: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 82s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 82s] from reset.c:38: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 82s] #define ADC_BASE 0x40038300 //Aux ADC [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 82s] from reset.c:40: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 82s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 82s] from reset.c:40: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 82s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 82s] ^ [ 82s] reset.c: In function 'reset_cpu': [ 82s] reset.c:46:2: warning: implicit declaration of function 'start_watchdog' [-Wimplicit-function-declaration] [ 82s] start_watchdog(5); [ 82s] ^ [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o ldo.o ldo.c -c [ 82s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 82s] make -C drivers/clk/ [ 82s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 82s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from ldo.c:19: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 82s] from ldo.c:22: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 82s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 82s] ^ [ 82s] In file included from ldo.c:19:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 82s] #define MAX(x, y) max(x, y) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 82s] from ldo.c:22: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 82s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 82s] ^ [ 82s] In file included from ldo.c:19:0: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 82s] #define MIN(x, y) min(x, y) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 82s] from ldo.c:24: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 82s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 82s] from ldo.c:24: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 82s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 82s] ^ [ 82s] ldo.c: In function '__LDO_IDX': [ 82s] ldo.c:139:17: warning: comparison between 'LDO_ID_E' and 'SLP_LDO_E' [-Wenum-compare] [ 82s] if(ldo_id == s_ldo_ctl_data[i].id) [ 82s] ^ [ 82s] ldo.c: In function 'LDO_Init': [ 82s] ldo.c:157:2: warning: implicit declaration of function 'regulator_init' [-Wimplicit-function-declaration] [ 82s] return regulator_init(); [ 82s] ^ [ 82s] ldo.c: In function 'LDO_GetLdoCtl': [ 82s] ldo.c:217:28: warning: comparison between 'SLP_LDO_E' and 'LDO_ID_E' [-Wenum-compare] [ 82s] if (s_ldo_ctl_data[i].id == ldo_id) [ 82s] ^ [ 82s] ldo.c:219:8: warning: assignment from incompatible pointer type [ 82s] ctl = &s_ldo_ctl_data[i]; [ 82s] ^ [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o mfp_sprd.o mfp_sprd.c -c [ 82s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 82s] rm -f libblock.o; ar rcs libblock.o [ 82s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o cmd_bdinfo.o cmd_bdinfo.c -c [ 82s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 82s] from mfp_sprd.c:20: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x35/sprd_reg_pmu_apb.h:372:0: warning: "BIT_GPU_SOFT_RST" redefined [ 82s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 82s] from mfp_sprd.c:20: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x35/sprd_reg_gpu_apb.h:21:0: note: this is the location of the previous definition [ 82s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 82s] ^ [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from mfp_sprd.c:23: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 82s] mfp_sprd.c:111:22: warning: 'spi_cs1_gpio_cfg' defined but not used [-Wunused-variable] [ 82s] static unsigned long spi_cs1_gpio_cfg = MFP_CFG_X(SPI_CSN0, GPIO, DS1, F_PULL_NONE, S_PULL_DOWN, IO_NONE); [ 82s] ^ [ 82s] mfp_sprd.c: In function 'mfp_to_gpio': [ 82s] mfp_sprd.c:44:1: warning: control reaches end of non-void function [-Wreturn-type] [ 82s] } [ 82s] ^ [ 82s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 82s] make -C drivers/dma/ [ 82s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 82s] -o mmu.o mmu.c -c [ 82s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 82s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 82s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 82s] from cmd_bdinfo.c:27: [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 82s] #define CONFIG_MMC 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 82s] #define CONFIG_MMC [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 82s] #define CONFIG_EFI_PARTITION 1 [ 82s] ^ [ 82s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 82s] #define CONFIG_EFI_PARTITION [ 82s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_boot.o cmd_boot.c -c [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 83s] from mmu.c:2: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] mmu.c: In function 'MMU_Init': [ 83s] mmu.c:55:22: warning: assignment makes pointer from integer without a cast [ 83s] g_mmu_page_table = const_MMUTableStartAddr; [ 83s] ^ [ 83s] mmu.c:77:5: warning: implicit declaration of function 'MMU_InvalideICACHEALL' [-Wimplicit-function-declaration] [ 83s] MMU_InvalideICACHEALL();//steve.zhan add. [ 83s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o adc.o adc.c -c [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from cmd_boot.c:27: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from adc.c:1: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_bootm.o cmd_bootm.c -c [ 83s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 83s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 83s] rm -f libclk.o; ar rcs libclk.o [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 83s] from adc.c:3: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 83s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 83s] from adc.c:3: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 83s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 83s] from adc.c:5: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 83s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from adc.c:1:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 83s] #define MAX(x, y) max(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 83s] from adc.c:5: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 83s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from adc.c:1:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 83s] #define MIN(x, y) min(x, y) [ 83s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o rtc-sprd.o rtc-sprd.c -c [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from cmd_bootm.c:28: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 83s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o sec_boot.o sec_boot.c -c [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from rtc-sprd.c:11: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 83s] from rtc-sprd.c:13: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 83s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 83s] from rtc-sprd.c:13: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 83s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 83s] from rtc-sprd.c:14: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 83s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from rtc-sprd.c:11:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 83s] #define MAX(x, y) max(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 83s] from rtc-sprd.c:14: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 83s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from rtc-sprd.c:11:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 83s] #define MIN(x, y) min(x, y) [ 83s] ^ [ 83s] rtc-sprd.c: In function 'sprd_clean_rtc': [ 83s] rtc-sprd.c:183:6: warning: unused variable 'err' [-Wunused-variable] [ 83s] int err; [ 83s] ^ [ 83s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 83s] rm -f libdma.o; ar rcs libdma.o [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from sec_boot.c:1: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] make -C drivers/fpga/ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 83s] from sec_boot.c:3: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 83s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from sec_boot.c:1:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 83s] #define MAX(x, y) max(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 83s] from sec_boot.c:3: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 83s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from sec_boot.c:1:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 83s] #define MIN(x, y) min(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 83s] from sec_boot.c:3: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 83s] #define KPD_NUM (0x31 << 16) [ 83s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_console.o cmd_console.c -c [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 83s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 83s] from sec_boot.c:3: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 83s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 83s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 83s] ^ [ 83s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 83s] from sec_boot.c:4: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 83s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 83s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o glb.o glb.c -c [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 83s] from sec_boot.c:3: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 83s] #define ADC_BASE 0x40038300 //Aux ADC [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 83s] from sec_boot.c:4: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 83s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 83s] from sec_boot.c:4: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 83s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 83s] ^ [ 83s] In file included from sec_boot.c:5:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 83s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 83s] #define VLR_INFO_OFF (512) [ 83s] ^ [ 83s] sec_boot.c: In function 'harshVerify': [ 83s] sec_boot.c:298:22: warning: passing argument 2 of 'SHA1Result_32' from incompatible pointer type [ 83s] SHA1Result_32(&sha, soft_hash_data); [ 83s] ^ [ 83s] sec_boot.c:205:12: note: expected 'unsigned char *' but argument is of type 'unsigned int *' [ 83s] PUBLIC int SHA1Result_32(SHA1Context_32 * context, unsigned char *Message_Digest) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from cmd_console.c:27: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from glb.c:16: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_echo.o cmd_echo.c -c [ 83s] glb.c: In function 'sci_glb_write': [ 83s] glb.c:40:23: warning: unused variable 'hw_flags' [-Wunused-variable] [ 83s] unsigned long flags, hw_flags; [ 83s] ^ [ 83s] glb.c:40:16: warning: unused variable 'flags' [-Wunused-variable] [ 83s] unsigned long flags, hw_flags; [ 83s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o adi.o adi.c -c [ 83s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from cmd_echo.c:24: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from adi.c:20: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_ext4.o cmd_ext4.c -c [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 83s] from adi.c:23: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 83s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from adi.c:20:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 83s] #define MAX(x, y) max(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 83s] from adi.c:23: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 83s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from adi.c:20:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 83s] #define MIN(x, y) min(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 83s] from adi.c:26: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 83s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 83s] from adi.c:26: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 83s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 83s] ^ [ 83s] adi.c: In function '__adi_read': [ 83s] adi.c:172:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 83s] printf("[0x%s]: ADI READ timeout!!! reg = 0x%x, value = 0x%x\n", __func__, regPddr, val); [ 83s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_fat.o cmd_fat.c -c [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from cmd_ext4.c:43: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o gpio.o gpio.c -c [ 83s] make -C drivers/gpio/ [ 83s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 83s] rm -f libfpga.o; ar rcs libfpga.o [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from cmd_fat.c:27: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 83s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 83s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_fdt.o cmd_fdt.c -c [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 83s] struct gpio_chip *chip); [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: its scope is only this definition or declaration, which is probably not what you want [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 83s] from gpio.c:16: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 83s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 83s] #define MAX(x, y) max(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 83s] from gpio.c:16: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 83s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 83s] #define MIN(x, y) min(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 83s] from gpio.c:16: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 83s] #define KPD_NUM (0x31 << 16) [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 83s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 83s] ^ [ 83s] In file included from gpio.c:16:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:87:3: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 83s] __raw_bits_and(value, reg_addr); [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:95:3: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 83s] __raw_bits_or(value, reg_addr); [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 83s] from gpio.c:17: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h: At top level: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 83s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 83s] #define ADC_BASE 0x40038300 //Aux ADC [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 83s] from gpio.c:17: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 83s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 83s] from gpio.c:17: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 83s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 83s] ^ [ 83s] make -C drivers/hwmon/ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from cmd_fdt.c:27: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] In file included from gpio.c:18:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:32:0: warning: "ANA_GPIO_BASE" redefined [ 83s] #define ANA_GPIO_BASE SPRD_ANA_GPIO_PHYS [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:282:0: note: this is the location of the previous definition [ 83s] #define ANA_GPIO_BASE 0x40038480 [ 83s] ^ [ 83s] In file included from gpio.c:18:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:33:0: warning: "GPIO_BASE" redefined [ 83s] #define GPIO_BASE SPRD_GPIO_PHYS [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:301:0: note: this is the location of the previous definition [ 83s] #define GPIO_BASE CTL_BASE_GPIO [ 83s] ^ [ 83s] gpio.c:22:0: warning: "KERN_WARNING" redefined [ 83s] #define KERN_WARNING "" [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:145:0: note: this is the location of the previous definition [ 83s] #define KERN_WARNING [ 83s] ^ [ 83s] gpio.c:23:0: warning: "WARN" redefined [ 83s] #define WARN(nmu, fmt...) printf(fmt) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:275:0: note: this is the location of the previous definition [ 83s] #define WARN(condition, format...) ({ \ [ 83s] ^ [ 83s] gpio.c:24:0: warning: "WARN_ON" redefined [ 83s] #define WARN_ON(num) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:266:0: note: this is the location of the previous definition [ 83s] #define WARN_ON(condition) ({ \ [ 83s] ^ [ 83s] gpio.c:25:0: warning: "BUG_ON" redefined [ 83s] #define BUG_ON(__cond__) if(__cond__) printf("%s line: %d bug on\n", __FUNCTION__, __LINE__) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:148:0: note: this is the location of the previous definition [ 83s] #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) [ 83s] ^ [ 83s] gpio.c:26:0: warning: "pr_err" redefined [ 83s] #define pr_err(fmt...) printf(fmt) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:241:0: note: this is the location of the previous definition [ 83s] #define pr_err(fmt, ...) \ [ 83s] ^ [ 83s] gpio.c:27:0: warning: "ARRAY_SIZE" redefined [ 83s] #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:753:0: note: this is the location of the previous definition [ 83s] #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) [ 83s] ^ [ 83s] gpio.c:28:0: warning: "pr_debug" redefined [ 83s] #define pr_debug(fmt...) printf(fmt) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 83s] from gpio.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 83s] #define pr_debug(fmt, ...) [ 83s] ^ [ 83s] gpio.c:36:0: warning: "GPIO_DBG" redefined [ 83s] #define GPIO_DBG(fmt...) [ 83s] ^ [ 83s] In file included from gpio.c:16:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:10:0: note: this is the location of the previous definition [ 83s] #define GPIO_DBG(fmt...) printf(fmt) [ 83s] ^ [ 83s] gpio.c:60:0: warning: "GPIO_INVALID_ID" redefined [ 83s] #define GPIO_INVALID_ID 0xffff [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 83s] from gpio.c:16: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:111:0: note: this is the location of the previous definition [ 83s] #define GPIO_INVALID_ID 0x0FF [ 83s] ^ [ 83s] gpio.c: In function '__gpio_set_dir': [ 83s] gpio.c:101:16: warning: unused variable 'flags' [-Wunused-variable] [ 83s] unsigned long flags; [ 83s] ^ [ 83s] gpio.c: In function '__gpio_set_pin_data': [ 83s] gpio.c:265:16: warning: unused variable 'flags' [-Wunused-variable] [ 83s] unsigned long flags; [ 83s] ^ [ 83s] gpio.c: In function '__gpio_set_data_mask': [ 83s] gpio.c:294:16: warning: unused variable 'flags' [-Wunused-variable] [ 83s] unsigned long flags; [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 83s] from gpio.c:15: [ 83s] gpio.c: At top level: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:31:13: warning: 'gpio_is_valid' defined but not used [-Wunused-function] [ 83s] static bool gpio_is_valid(int number) [ 83s] ^ [ 83s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 83s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o gpio_phy.o gpio_phy.c -c [ 83s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_help.o cmd_help.c -c [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from gpio_phy.c:1: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 83s] rm -f libgpio.o; ar rcs libgpio.o [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 83s] from gpio_phy.c:3: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 83s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 83s] from gpio_phy.c:3: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 83s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 83s] from gpio_phy.c:4: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 83s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from gpio_phy.c:1:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 83s] #define MAX(x, y) max(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 83s] from gpio_phy.c:4: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 83s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from cmd_help.c:24: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] In file included from gpio_phy.c:1:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 83s] #define MIN(x, y) min(x, y) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 83s] from gpio_phy.c:5: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 83s] #define KPD_NUM (0x31 << 16) [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 83s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 83s] ^ [ 83s] In file included from gpio_phy.c:5:0: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function '__get_gpio_die': [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:44:3: warning: implicit declaration of function 'WARN' [-Wimplicit-function-declaration] [ 83s] WARN(1, "wrong gpio %d\r\n", gpio); [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:87:3: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 83s] __raw_bits_and(value, reg_addr); [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:95:3: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 83s] __raw_bits_or(value, reg_addr); [ 83s] ^ [ 83s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 83s] make -C drivers/i2c/ [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o clock.o clock.c -c [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_itest.o cmd_itest.c -c [ 83s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 83s] rm -f libhwmon.o; ar rcs libhwmon.o [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 83s] from clock.c:15: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 83s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 83s] from cmd_itest.c:31: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 83s] #define CONFIG_MMC 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 83s] #define CONFIG_MMC [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 83s] #define CONFIG_EFI_PARTITION 1 [ 83s] ^ [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 83s] #define CONFIG_EFI_PARTITION [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 83s] from clock.c:25: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 83s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 83s] ^ [ 83s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 83s] from clock.c:25: [ 83s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 83s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 83s] ^ [ 83s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 83s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 83s] -o cmd_load.o cmd_load.c -c [ 83s] clock.c: In function 'clk_set_rate': [ 83s] clock.c:138:16: warning: unused variable 'flags' [-Wunused-variable] [ 83s] unsigned long flags; [ 83s] ^ [ 83s] clock.c: In function 'clk_set_parent': [ 83s] clock.c:171:16: warning: unused variable 'flags' [-Wunused-variable] [ 83s] unsigned long flags; [ 83s] ^ [ 83s] clock.c: In function 'sci_clk_enable': [ 83s] clock.c:222:4: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 83s] sci_glb_set(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 83s] ^ [ 83s] clock.c:224:4: warning: implicit declaration of function 'sci_glb_clr' [-Wimplicit-function-declaration] [ 83s] sci_glb_clr(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 83s] ^ [ 83s] clock.c: In function 'sci_clk_is_enable': [ 83s] clock.c:240:7: warning: implicit declaration of function 'sci_glb_read' [-Wimplicit-function-declaration] [ 83s] ! !sci_glb_read(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 83s] ^ [ 83s] clock.c: In function 'sci_clk_set_rate': [ 83s] clock.c:258:2: warning: implicit declaration of function 'sci_glb_write' [-Wimplicit-function-declaration] [ 83s] sci_glb_write(c->regs->div.reg, div << div_shift, c->regs->div.mask); [ 83s] ^ [ 83s] clock.c: In function 'sci_clk_register': [ 83s] clock.c:444:2: warning: implicit declaration of function 'clkdev_add' [-Wimplicit-function-declaration] [ 83s] clkdev_add(cl); [ 83s] ^ [ 83s] clock.c: At top level: [ 83s] clock.c:480:19: warning: initialization from incompatible pointer type [ 83s] .notifier_call = __clk_cpufreq_notifier [ 83s] ^ [ 83s] clock.c:480:19: warning: (near initialization for '__clk_cpufreq_notifier_block.notifier_call') [ 83s] clock.c:518:1: warning: data definition has no type or storage class [ 83s] arch_initcall(sci_clock_init); [ 83s] ^ [ 83s] clock.c:518:1: warning: type defaults to 'int' in declaration of 'arch_initcall' [-Wimplicit-int] [ 83s] clock.c:518:1: warning: parameter names (without types) in function declaration [ 83s] clock.c:519:1: warning: data definition has no type or storage class [ 83s] late_initcall_sync(sci_clock_dump); [ 83s] ^ [ 83s] clock.c:519:1: warning: type defaults to 'int' in declaration of 'late_initcall_sync' [-Wimplicit-int] [ 83s] clock.c:519:1: warning: parameter names (without types) in function declaration [ 83s] clock.c:452:19: warning: 'sci_clock_dump' defined but not used [-Wunused-function] [ 83s] static int __init sci_clock_dump(void) [ 83s] ^ [ 83s] clock.c:479:30: warning: '__clk_cpufreq_notifier_block' defined but not used [-Wunused-variable] [ 83s] static struct notifier_block __clk_cpufreq_notifier_block = { [ 83s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o clock_test.o clock_test.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from cmd_load.c:27: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o cmd_mem.o cmd_mem.c -c [ 84s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 84s] from clock_test.c:1: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] clock_test.c: In function 'get_clock_rate': [ 84s] clock_test.c:13:2: warning: implicit declaration of function 'clk_get' [-Wimplicit-function-declaration] [ 84s] clk =clk_get(0, clk_name); [ 84s] ^ [ 84s] clock_test.c:13:6: warning: assignment makes pointer from integer without a cast [ 84s] clk =clk_get(0, clk_name); [ 84s] ^ [ 84s] clock_test.c:17:3: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 84s] printf("%s can't find!\r\n"); [ 84s] ^ [ 84s] clock_test.c: At top level: [ 84s] clock_test.c:33:46: warning: type defaults to 'int' in declaration of 'clk_name' [-Wimplicit-int] [ 84s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from cmd_mem.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] clock_test.c: In function 'change_clock_rate': [ 84s] clock_test.c:37:6: warning: assignment makes pointer from integer without a cast [ 84s] clk =clk_get(0, clk_name); [ 84s] ^ [ 84s] clock_test.c:41:3: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 84s] printf("%s can't find!\r\n"); [ 84s] ^ [ 84s] clock_test.c:60:2: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'const int *' [-Wformat=] [ 84s] printf("%s ==> %d\r\n", clk_name, rate); [ 84s] ^ [ 84s] clock_test.c: At top level: [ 84s] clock_test.c:64:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 84s] void clock_test() [ 84s] ^ [ 84s] clock_test.c: In function 'clock_test': [ 84s] clock_test.c:68:2: warning: implicit declaration of function 'sci_clock_init' [-Wimplicit-function-declaration] [ 84s] sci_clock_init(); [ 84s] ^ [ 84s] clock_test.c:71:3: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'const u32 *' [-Wformat=] [ 84s] &__clkinit_begin, __clkinit_begin, &__clkinit_end, __clkinit_end); [ 84s] ^ [ 84s] clock_test.c:71:3: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'const u32 *' [-Wformat=] [ 84s] clock_test.c:77:8: warning: assignment makes pointer from integer without a cast [ 84s] clk =clk_get(0, cl->con_id); [ 84s] ^ [ 84s] clock_test.c:82:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 84s] printf("1.clk: %s, rate: %d\r\n", cl->con_id, clk->ops->get_rate(clk)); [ 84s] ^ [ 84s] clock_test.c:86:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 84s] printf("2.clk: %s, rate: %d\r\n", cl->con_id, clk->rate); [ 84s] ^ [ 84s] clock_test.c:103:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 84s] change_clock_rate("clk_emmc", 192000000); [ 84s] ^ [ 84s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 84s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 84s] ^ [ 84s] clock_test.c:107:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 84s] change_clock_rate("clk_apb", 100000000); [ 84s] ^ [ 84s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 84s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 84s] ^ [ 84s] clock_test.c:112:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 84s] change_clock_rate("clk_emc", 100000000); [ 84s] ^ [ 84s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 84s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 84s] ^ [ 84s] clock_test.c:116:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 84s] change_clock_rate("clk_dbg", 200000000); [ 84s] ^ [ 84s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 84s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o cmd_misc.o cmd_misc.c -c [ 84s] cmd_mem.c: In function 'do_mem_loop': [ 84s] cmd_mem.c:477:25: warning: variable 'junk' set but not used [-Wunused-but-set-variable] [ 84s] ulong addr, length, i, junk; [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o check_reboot.o check_reboot.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from cmd_misc.c:27: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o cmd_mmc.o cmd_mmc.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 84s] from check_reboot.c:1: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 84s] from check_reboot.c:2: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 84s] #define KPD_NUM (0x31 << 16) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 84s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 84s] from check_reboot.c:2: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 84s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 84s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 84s] from check_reboot.c:4: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 84s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 84s] from check_reboot.c:2: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 84s] #define ADC_BASE 0x40038300 //Aux ADC [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 84s] from check_reboot.c:4: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 84s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 84s] from check_reboot.c:4: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 84s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 84s] ^ [ 84s] In file included from check_reboot.c:6:0: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 84s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 84s] from check_reboot.c:2: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:220:0: note: this is the location of the previous definition [ 84s] #define RTC_BASE 0x40038080 [ 84s] ^ [ 84s] In file included from check_reboot.c:7:0: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 84s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 84s] from check_reboot.c:4: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 84s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 84s] ^ [ 84s] check_reboot.c: In function 'check_reboot_mode': [ 84s] check_reboot.c:47:11: warning: unused variable 'val' [-Wunused-variable] [ 84s] unsigned val, rst_mode= 0; [ 84s] ^ [ 84s] check_reboot.c: At top level: [ 84s] check_reboot.c:123:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 84s] int get_mode_from_gpio() [ 84s] ^ [ 84s] check_reboot.c: In function 'get_mode_from_gpio': [ 84s] check_reboot.c:129:2: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 84s] ret = (hw_rst_mode & HW_PBINT2_STATUS) && !charger_connected(); [ 84s] ^ [ 84s] check_reboot.c: In function 'reboot_devices': [ 84s] check_reboot.c:150:2: warning: implicit declaration of function 'reset_cpu' [-Wimplicit-function-declaration] [ 84s] reset_cpu(0); [ 84s] ^ [ 84s] check_reboot.c: In function 'power_down_devices': [ 84s] check_reboot.c:154:2: warning: implicit declaration of function 'power_down_cpu' [-Wimplicit-function-declaration] [ 84s] power_down_cpu(0); [ 84s] ^ [ 84s] check_reboot.c: In function 'power_button_pressed': [ 84s] check_reboot.c:167:2: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 84s] sci_glb_set(REG_AON_APB_APB_EB0,BIT_AON_GPIO_EB | BIT_EIC_EB); [ 84s] ^ [ 84s] check_reboot.c:179:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 84s] udelay(3000); [ 84s] ^ [ 84s] check_reboot.c: In function 'charger_connected': [ 84s] check_reboot.c:192:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 84s] sprd_eic_request(EIC_CHG_INT); [ 84s] ^ [ 84s] check_reboot.c:201:2: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 84s] return !!sprd_eic_get(EIC_CHG_INT); [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o eic.o eic.c -c [ 84s] make -C drivers/input/ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from cmd_mmc.c:24: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o sprd_i2c.o sprd_i2c.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 84s] from eic.c:15: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x35/sprd_reg_pmu_apb.h:372:0: warning: "BIT_GPU_SOFT_RST" redefined [ 84s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 84s] from eic.c:15: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x35/sprd_reg_gpu_apb.h:21:0: note: this is the location of the previous definition [ 84s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 84s] from eic.c:16: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] In file included from eic.c:20:0: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 84s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:34:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 84s] from eic.c:15: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x35/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 84s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 84s] ^ [ 84s] eic.c: In function '__get_eic_base_info': [ 84s] eic.c:81:24: warning: unused variable 'section_table' [-Wunused-variable] [ 84s] struct gpio_section *section_table; [ 84s] ^ [ 84s] eic.c:80:6: warning: unused variable 'table_size' [-Wunused-variable] [ 84s] u32 table_size = 0; [ 84s] ^ [ 84s] eic.c:79:6: warning: unused variable 'i' [-Wunused-variable] [ 84s] int i = 0; [ 84s] ^ [ 84s] eic.c: In function '__eic_get_pin_data': [ 84s] eic.c:108:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 84s] u32 offset_addr = 0; [ 84s] ^ [ 84s] eic.c: In function '__eic_get_data_mask': [ 84s] eic.c:129:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 84s] u32 offset_addr = 0; [ 84s] ^ [ 84s] eic.c: In function '__eic_set_data_mask': [ 84s] eic.c:153:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 84s] u32 offset_addr = 0; [ 84s] ^ [ 84s] eic.c: In function 'sprd_eic_get': [ 84s] eic.c:200:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 84s] WARN(1, "GPIO_%d data mask hasn't been opened!\n", eic_id); [ 84s] ^ [ 84s] eic.c: At top level: [ 84s] eic.c:244:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 84s] int get_volumn_down_status2() [ 84s] ^ [ 84s] eic.c: In function 'get_volumn_down_status2': [ 84s] eic.c:250:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 84s] udelay(3000); [ 84s] ^ [ 84s] eic.c: At top level: [ 84s] eic.c:226:13: warning: 'sprd_eic_free' defined but not used [-Wunused-function] [ 84s] static void sprd_eic_free(unsigned offset) [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o vibrator_sc2723.o vibrator_sc2723.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 84s] from sprd_i2c.c:25: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:34:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 84s] #define KPD_NUM (0x31 << 16) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 84s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 84s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 84s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 84s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 84s] #define ADC_BASE 0x40038300 //Aux ADC [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 84s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 84s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 84s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:111:0: note: this is the location of the previous definition [ 84s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 84s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: note: this is the location of the previous definition [ 84s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 84s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: note: this is the location of the previous definition [ 84s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 84s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:220:0: note: this is the location of the previous definition [ 84s] #define RTC_BASE 0x40038080 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 84s] #de[ 74.208008] serial8250: too much work for irq4 [ 84s] fine SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 84s] from sprd_i2c.c:30: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:298:0: note: this is the location of the previous definition [ 84s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 84s] ^ [ 84s] sprd_i2c.c:283:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 84s] PUBLIC uint32 I2C_GetSCLclk() [ 84s] ^ [ 84s] sprd_i2c.c: In function 'I2C_WriteCmdArr': [ 84s] sprd_i2c.c:470:21: warning: unused variable 'curtime' [-Wunused-variable] [ 84s] volatile uint32 curtime = 0; [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from vibrator_sc2723.c:1: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 84s] from vibrator_sc2723.c:3: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 84s] #define KPD_NUM (0x31 << 16) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 84s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 84s] from vibrator_sc2723.c:3: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 84s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 84s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 84s] from vibrator_sc2723.c:6: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 84s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 84s] from vibrator_sc2723.c:3: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 84s] #define ADC_BASE 0x40038300 //Aux ADC [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 84s] from vibrator_sc2723.c:6: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 84s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 84s] from vibrator_sc2723.c:6: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 84s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 84s] ^ [ 84s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 84s] In file included from vibrator_sc2723.c:6:0: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 84s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 84s] from vibrator_sc2723.c:6: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 84s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o otp-helper.o otp-helper.c -c [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o i2c_hal.o i2c_hal.c -c [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o cmd_nvedit.o cmd_nvedit.c -c [ 84s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from otp-helper.c:21: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] otp-helper.c: In function 'efuse_prog': [ 84s] otp-helper.c:44:2: warning: implicit declaration of function '__ddie_efuse_prog' [-Wimplicit-function-declaration] [ 84s] return __ddie_efuse_prog(blk_index,val); [ 84s] ^ [ 84s] otp-helper.c: In function 'sci_efuse_calibration_get': [ 84s] otp-helper.c:56:9: warning: implicit declaration of function '__adie_efuse_read' [-Wimplicit-function-declaration] [ 84s] adc_temp = (__adie_efuse_read(0) & (1 << 7)); [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 84s] from i2c_hal.c:19: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] i2c_hal.c: In function 'I2C_Bus_Init': [ 84s] i2c_hal.c:120:15: warning: statement with no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Init"); [ 84s] ^ [ 84s] i2c_hal.c: In function 'I2C_Bus_Exit': [ 84s] i2c_hal.c:154:51: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 84s] ^ [ 84s] i2c_hal.c:154:15: warning: statement with no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 84s] ^ [ 84s] i2c_hal.c: In function 'I2C_HAL_Open': [ 84s] i2c_hal.c:222:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 84s] ^ [ 84s] i2c_hal.c:222:67: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 84s] ^ [ 84s] i2c_hal.c:222:15: warning: statement with no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 84s] ^ [ 84s] i2c_hal.c: In function 'I2C_HAL_Close': [ 84s] i2c_hal.c:268:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 84s] ^ [ 84s] i2c_hal.c:268:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 84s] ^ [ 84s] i2c_hal.c:268:15: warning: statement with no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o efuse.o efuse.c -c [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o sc8830_i2c_cfg.o sc8830_i2c_cfg.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from cmd_nvedit.c:41: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 84s] rm -f libinput.o; ar rcs libinput.o [ 84s] cmd_nvedit.c: In function 'do_env_edit': [ 84s] cmd_nvedit.c:427:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] [ 84s] int len; [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from efuse.c:43: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 84s] from sc8830_i2c_cfg.h:21, [ 84s] from sc8830_i2c_cfg.c:20: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o v0/i2c_phy_v0.o v0/i2c_phy_v0.c -c [ 84s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 84s] make -C drivers/misc/ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 84s] from efuse.c:48: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 84s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 84s] from efuse.c:48: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 84s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 84s] from v0/i2c_reg_v0.h:28, [ 84s] from v0/i2c_phy_v0.c:22: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 84s] from v0/i2c_phy_v0.c:23: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 84s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 84s] from v0/i2c_phy_v0.c:23: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 84s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 84s] ^ [ 84s] v0/i2c_phy_v0.c: In function 'I2C_PHY_ControlInit_V0': [ 84s] v0/i2c_phy_v0.c:250:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 84s] ^ [ 84s] v0/i2c_phy_v0.c:250:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 84s] ^ [ 84s] v0/i2c_phy_v0.c:250:15: warning: statement with no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 84s] ^ [ 84s] v0/i2c_phy_v0.c: In function 'I2C_PHY_StartBus_V0': [ 84s] v0/i2c_phy_v0.c:283:55: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 84s] ^ [ 84s] v0/i2c_phy_v0.c:283:15: warning: statement with no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 84s] ^ [ 84s] v0/i2c_phy_v0.c: In function 'I2C_PHY_WriteBytes_V0': [ 84s] v0/i2c_phy_v0.c:326:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 84s] ^ [ 84s] v0/i2c_phy_v0.c:326:19: warning: statement with no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 84s] ^ [ 84s] v0/i2c_phy_v0.c: In function 'I2C_PHY_ReadBytes_V0': [ 84s] v0/i2c_phy_v0.c:369:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 84s] ^ [ 84s] v0/i2c_phy_v0.c:369:19: warning: statement with no effect [-Wunused-value] [ 84s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o ana_efuse.o ana_efuse.c -c [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o cmd_pcmcia.o cmd_pcmcia.c -c [ 84s] ld -r -o libi2c.o sprd_i2c.o i2c_hal.o sc8830_i2c_cfg.o v0/i2c_phy_v0.o [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from ana_efuse.c:20: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from cmd_pcmcia.c:56: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o cmd_source.o cmd_source.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 84s] from ana_efuse.c:25: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 84s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 84s] from ana_efuse.c:25: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 84s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 84s] ^ [ 84s] ana_efuse.c:85:13: warning: 'adie_efuse_reset' defined but not used [-Wunused-function] [ 84s] static void adie_efuse_reset(void) [ 84s] ^ [ 84s] make -C drivers/mmc/ [ 84s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o watchdog.o watchdog.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from cmd_source.c:34: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o cmd_version.o cmd_version.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from watchdog.c:1: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 84s] from watchdog.c:3: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 84s] #define KPD_NUM (0x31 << 16) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 84s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 84s] from watchdog.c:3: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 84s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 84s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 84s] ^ [ 84s] watchdog.c: In function 'start_watchdog': [ 84s] watchdog.c:9:2: warning: implicit declaration of function 'WDG_ClockOn' [-Wimplicit-function-declaration] [ 84s] WDG_ClockOn(); [ 84s] ^ [ 84s] watchdog.c:10:5: warning: implicit declaration of function 'WDG_ResetMCU' [-Wimplicit-function-declaration] [ 84s] WDG_ResetMCU(); [ 84s] ^ [ 84s] watchdog.c: In function 'stop_watchdog': [ 84s] watchdog.c:15:5: warning: implicit declaration of function 'WDG_TimerStop' [-Wimplicit-function-declaration] [ 84s] WDG_TimerStop(); [ 84s] ^ [ 84s] watchdog.c: In function 'init_watchdog': [ 84s] watchdog.c:21:5: warning: implicit declaration of function 'WDG_TimerInit' [-Wimplicit-function-declaration] [ 84s] WDG_TimerInit(); [ 84s] ^ [ 84s] watchdog.c: In function 'load_watchdog': [ 84s] watchdog.c:30:5: warning: implicit declaration of function 'WDG_TimerLoad' [-Wimplicit-function-declaration] [ 84s] WDG_TimerLoad(time_ms); [ 84s] ^ [ 84s] watchdog.c: In function 'hw_watchdog_rst_pending': [ 84s] watchdog.c:41:2: warning: implicit declaration of function 'WDG_PHY_RST_INT_ON' [-Wimplicit-function-declaration] [ 84s] return WDG_PHY_RST_INT_ON(); [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o watchdog_phy_v3.o watchdog_phy_v3.c -c [ 84s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 84s] rm -f libmisc.o; ar rcs libmisc.o [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from cmd_version.c:24: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/os_api.h:12, [ 84s] from watchdog_phy_v3.c:19: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 84s] from watchdog_phy_v3.c:20: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 84s] #define KPD_NUM (0x31 << 16) [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 84s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 84s] from watchdog_phy_v3.c:20: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 84s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 84s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 84s] from watchdog_phy_v3.c:23: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 84s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 84s] from watchdog_phy_v3.c:20: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 84s] #define ADC_BASE 0x40038300 //Aux ADC [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 84s] from watchdog_phy_v3.c:23: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 84s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 84s] from watchdog_phy_v3.c:23: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 84s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 84s] ^ [ 84s] In file included from watchdog_phy_v3.c:23:0: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 84s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 84s] ^ [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 84s] from watchdog_phy_v3.c:20: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:219:0: note: this is the location of the previous definition [ 84s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 84s] ^ [ 84s] watchdog_phy_v3.c:40:67: warning: backslash and newline separated by space [ 84s] ANA_REG_SET( WDG_LOAD_LOW , (uint16)((value) & 0xffff) );\ [ 84s] ^ [ 84s] watchdog_phy_v3.c: In function 'WDG_PHY_CONFIG': [ 84s] watchdog_phy_v3.c:103:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 84s] WDG_TRACE ("Watch Dog Trace: Watch Dog Control 0x%8.8x", ANA_REG_GET (WDG_CTRL)); [ 84s] ^ [ 84s] watchdog_phy_v3.c:65:12: warning: unused variable 'val' [-Wunused-variable] [ 84s] uint32 val = 0; [ 84s] ^ [ 84s] watchdog_phy_v3.c:64:12: warning: unused variable 'ctrl' [-Wunused-variable] [ 84s] uint32 ctrl = 0; [ 84s] ^ [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o cmd_ximg.o cmd_ximg.c -c [ 84s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o watchdog_hal.o watchdog_hal.c -c [ 84s] make -C drivers/mtd/ [ 85s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from cmd_ximg.c:31: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 85s] from watchdog_hal.c:22: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from watchdog_hal.c:23: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 85s] #define KPD_NUM (0x31 << 16) [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 85s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from watchdog_hal.c:23: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 85s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 85s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 85s] from watchdog_hal.c:28: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 85s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from watchdog_hal.c:23: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 85s] #define ADC_BASE 0x40038300 //Aux ADC [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 85s] from watchdog_hal.c:28: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 85s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 85s] from watchdog_hal.c:28: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 85s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 85s] ^ [ 85s] In file included from watchdog_hal.c:28:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 85s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from watchdog_hal.c:23: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:219:0: note: this is the location of the previous definition [ 85s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 85s] ^ [ 85s] watchdog_hal.c: In function 'WDG_TimerStop': [ 85s] watchdog_hal.c:49:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 85s] WDG_TRACE ("Watch Dog Trace: WDG_TimerStop"); [ 85s] ^ [ 85s] watchdog_hal.c:47:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 85s] int32 ret; [ 85s] ^ [ 85s] watchdog_hal.c: In function 'WDG_TimerStart': [ 85s] watchdog_hal.c:73:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 85s] int32 ret; [ 85s] ^ [ 85s] watchdog_hal.c: In function 'WDG_TimerInit': [ 85s] watchdog_hal.c:104:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 85s] int32 ret; [ 85s] ^ [ 85s] watchdog_hal.c:103:18: warning: unused variable 'status' [-Wunused-variable] [ 85s] uint32 status; [ 85s] ^ [ 85s] watchdog_hal.c: In function 'WDG_ResetMCU': [ 85s] watchdog_hal.c:123:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 85s] int32 ret; [ 85s] ^ [ 85s] watchdog_hal.c: In function 'WDG_TimerLoad': [ 85s] watchdog_hal.c:141:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 85s] int32 ret; [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o chip_cfg.o chip_cfg.c -c [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o command.o command.c -c [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 85s] from chip_cfg.c:21: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from chip_cfg.c:23: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 85s] #define KPD_NUM (0x31 << 16) [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 85s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from chip_cfg.c:23: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 85s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 85s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from command.c:28: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o chip_x30g/chip_phy_x30g.o chip_x30g/chip_phy_x30g.c -c [ 85s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o console.o console.c -c [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:23, [ 85s] from chip_x30g/chip_phy_x30g.c:22: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from chip_x30g/chip_phy_x30g.c:22: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 85s] #define KPD_NUM (0x31 << 16) [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 85s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from chip_x30g/chip_phy_x30g.c:22: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 85s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 85s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 85s] from chip_x30g/chip_phy_x30g.c:25: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 85s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from chip_x30g/chip_phy_x30g.c:22: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 85s] #define ADC_BASE 0x40038300 //Aux ADC [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 85s] from chip_x30g/chip_phy_x30g.c:25: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 85s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 85s] from chip_x30g/chip_phy_x30g.c:25: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 85s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 85s] ^ [ 85s] In file included from chip_x30g/chip_phy_x30g.c:26:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/boot_drvapi.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] PUBLIC void BOOT_ResetHWFlag (); [ 85s] ^ [ 85s] In file included from chip_x30g/chip_phy_x30g.c:27:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 85s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 85s] from chip_x30g/chip_phy_x30g.c:25: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 85s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 85s] ^ [ 85s] chip_x30g/chip_phy_x30g.c:203:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] PUBLIC void CHIP_PHY_BootIramEn () [ 85s] ^ [ 85s] chip_x30g/chip_phy_x30g.c:236:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] PUBLIC BOOLEAN CHIP_PHY_IsResetByPowerUp() [ 85s] ^ [ 85s] chip_x30g/chip_phy_x30g.c:255:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] PUBLIC BOOLEAN CHIP_PHY_IsResetByWatchDog() [ 85s] ^ [ 85s] chip_x30g/chip_phy_x30g.c: In function 'TDPllRefConfig': [ 85s] chip_x30g/chip_phy_x30g.c:297:5: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 85s] udelay(1); [ 85s] ^ [ 85s] chip_x30g/chip_phy_x30g.c: In function 'dcdc_core_ds_config': [ 85s] chip_x30g/chip_phy_x30g.c:721:16: warning: unused variable 'reg_val' [-Wunused-variable] [ 85s] uint32 reg_val = 0; [ 85s] ^ [ 85s] chip_x30g/chip_phy_x30g.c:720:16: warning: unused variable 'dcdc_core_ctl_adi' [-Wunused-variable] [ 85s] uint32 dcdc_core_ctl_adi = 0; [ 85s] ^ [ 85s] chip_x30g/chip_phy_x30g.c: At top level: [ 85s] chip_x30g/chip_phy_x30g.c:846:2: warning: missing braces around initializer [-Wmissing-braces] [ 85s] 0x402b006c, [ 85s] ^ [ 85s] chip_x30g/chip_phy_x30g.c:846:2: warning: (near initialization for 'lp_cfg.reg') [-Wmissing-braces] [ 85s] chip_x30g/chip_phy_x30g.c: In function 'setup_ap_cp_sync_sleep_code': [ 85s] chip_x30g/chip_phy_x30g.c:868:16: warning: unused variable 'sa' [-Wunused-variable] [ 85s] unsigned int *sa = (unsigned int*)start_addr; [ 85s] ^ [ 85s] chip_x30g/chip_phy_x30g.c: In function 'CSP_Init': [ 85s] chip_x30g/chip_phy_x30g.c:888:2: warning: implicit declaration of function 'calibrate_register_callback' [-Wimplicit-function-declaration] [ 85s] calibrate_register_callback((void*)dcdc_core_ds_config); [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from console.c:24: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o Tshark_boot_cp.o Tshark_boot_cp.c -c [ 85s] console.c: In function 'ram_puts': [ 85s] console.c:210:4: warning: assignment from incompatible pointer type [ 85s] p = (unsigned char*)CONFIG_RAM_CONSOLE_START + used_size; [ 85s] ^ [ 85s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 85s] rm -f libmtd.o; ar rcs libmtd.o [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 85s] from Tshark_boot_cp.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 85s] from Tshark_boot_cp.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 85s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 85s] from Tshark_boot_cp.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 85s] #define MAX(x, y) max(x, y) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 85s] from Tshark_boot_cp.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 85s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 85s] from Tshark_boot_cp.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 85s] #define MIN(x, y) min(x, y) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 85s] from Tshark_boot_cp.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 85s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 85s] #define VLR_INFO_OFF (512) [ 85s] ^ [ 85s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 85s] make -C drivers/mtd/nand/ [ 85s] In file included from Tshark_boot_cp.c:1:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 85s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 85s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 85s] ^ [ 85s] In file included from Tshark_boot_cp.c:1:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] int read_spldata(); [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] void vlx_entry(); [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 85s] from Tshark_boot_cp.c:1: [ 85s] Tshark_boot_cp.c: In function 'boot_cp0': [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:92:27: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 85s] #define CP0_CODE_COPY_ADR 0x50000000 [ 85s] ^ [ 85s] Tshark_boot_cp.c:9:9: note: in expansion of macro 'CP0_CODE_COPY_ADR' [ 85s] memcpy(CP0_CODE_COPY_ADR, m_data, sizeof(m_data)); /* copy cp0 source code */ [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 85s] from Tshark_boot_cp.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 85s] void* memcpy(void*, const void*, size_t); [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 85s] from Tshark_boot_cp.c:1: [ 85s] Tshark_boot_cp.c: In function 'boot_cp2': [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:93:27: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 85s] #define CP2_CODE_COPY_ADR 0x50003000 [ 85s] ^ [ 85s] Tshark_boot_cp.c:35:9: note: in expansion of macro 'CP2_CODE_COPY_ADR' [ 85s] memcpy(CP2_CODE_COPY_ADR, wcndata, sizeof(wcndata)); /* copy cp2 source code */ [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 85s] from Tshark_boot_cp.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 85s] void* memcpy(void*, const void*, size_t); [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o dlmalloc.o dlmalloc.c -c [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o misc.o misc.c -c [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from dlmalloc.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from misc.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 85s] from misc.c:3: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 85s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 85s] from misc.c:3: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 85s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 85s] ^ [ 85s] In file included from misc.c:4:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 85s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from misc.c:1:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 85s] #define MAX(x, y) max(x, y) [ 85s] ^ [ 85s] In file included from misc.c:4:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 85s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from misc.c:1:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 85s] #define MIN(x, y) min(x, y) [ 85s] ^ [ 85s] misc.c:23:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] int sprd_jtag_enable() [ 85s] ^ [ 85s] misc.c:38:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] int sprd_jtag_disable() [ 85s] ^ [ 85s] misc.c:54:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] static void ap_slp_cp_dbg_cfg() [ 85s] ^ [ 85s] misc.c:59:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] static void ap_cpll_rel_cfg() [ 85s] ^ [ 85s] misc.c:64:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] static void bb_bg_auto_en() [ 85s] ^ [ 85s] misc.c:70:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] static void ap_close_wpll_en() [ 85s] ^ [ 85s] misc.c:75:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] static void ap_close_cpll_en() [ 85s] ^ [ 85s] misc.c:80:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] static void ap_close_wifipll_en() [ 85s] ^ [ 85s] misc.c:86:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] static void bb_ldo_auto_en() [ 85s] ^ [ 85s] misc.c: In function 'pmic_init': [ 85s] misc.c:410:6: warning: unused variable 'val' [-Wunused-variable] [ 85s] u32 val; [ 85s] ^ [ 85s] misc.c: At top level: [ 85s] misc.c:427:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] void gpu_clk_auto_gate_disable() [ 85s] ^ [ 85s] misc.c:432:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] void misc_init() [ 85s] ^ [ 85s] misc.c: In function 'misc_init': [ 85s] misc.c:458:2: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 85s] __raw_bits_or((BIT_CSI1_PHY_PD | BIT_CSI0_PHY_PD), REG_AON_APB_PWR_CTRL); [ 85s] ^ [ 85s] misc.c: In function 'get_dram_cs_number': [ 85s] misc.c:474:31: warning: initialization makes pointer from integer without a cast [ 85s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 85s] ^ [ 85s] misc.c: In function 'get_dram_cs0_size': [ 85s] misc.c:479:31: warning: initialization makes pointer from integer without a cast [ 85s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 85s] ^ [ 85s] misc.c: At top level: [ 85s] misc.c:64:13: warning: 'bb_bg_auto_en' defined but not used [-Wunused-function] [ 85s] static void bb_bg_auto_en() [ 85s] ^ [ 85s] misc.c:70:13: warning: 'ap_close_wpll_en' defined but not used [-Wunused-function] [ 85s] static void ap_close_wpll_en() [ 85s] ^ [ 85s] misc.c:75:13: warning: 'ap_close_cpll_en' defined but not used [-Wunused-function] [ 85s] static void ap_close_cpll_en() [ 85s] ^ [ 85s] misc.c:80:13: warning: 'ap_close_wifipll_en' defined but not used [-Wunused-function] [ 85s] static void ap_close_wifipll_en() [ 85s] ^ [ 85s] misc.c:86:13: warning: 'bb_ldo_auto_en' defined but not used [-Wunused-function] [ 85s] static void bb_ldo_auto_en() [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o dcdc_cal_sc2723.o dcdc_cal_sc2723.c -c [ 85s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 85s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from dcdc_cal_sc2723.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 85s] from dcdc_cal_sc2723.c:4: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 85s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from dcdc_cal_sc2723.c:1:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 85s] #define MAX(x, y) max(x, y) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 85s] from dcdc_cal_sc2723.c:4: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 85s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from dcdc_cal_sc2723.c:1:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 85s] #define MIN(x, y) min(x, y) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 85s] from dcdc_cal_sc2723.c:5: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 85s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 85s] from dcdc_cal_sc2723.c:5: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 85s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 85s] ^ [ 85s] dcdc_cal_sc2723.c:789:27: warning: initialization makes pointer from integer without a cast [ 85s] vol_para_t **ppvol_para = 0x50003C20; [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o env_common.o env_common.c -c [ 85s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 85s] -o mmc.o mmc.c -c [ 85s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 85s] rm -f libnand.o; ar rcs libnand.o [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from env_common.c:27: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from mmc.c:26: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o env_nowhere.o env_nowhere.c -c [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 85s] -o mv_sdhci.o mv_sdhci.c -c [ 85s] In file included from mmc.c:37:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 85s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 85s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 85s] from mmc.c:47: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 85s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from mmc.c:27:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 85s] #define MAX(x, y) max(x, y) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 85s] from mmc.c:47: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 85s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from mmc.c:27:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 85s] #define MIN(x, y) min(x, y) [ 85s] ^ [ 85s] In file included from mmc.c:52:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 85s] #define KPD_NUM (0x31 << 16) [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 85s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 85s] ^ [ 85s] mmc.c: In function 'mmc_bwrite': [ 85s] mmc.c:160:3: warning: implicit declaration of function 'Emmc_Write' [-Wimplicit-function-declaration] [ 85s] if(Emmc_Write(0, start, blkcnt, (uint8*)src)) [ 85s] ^ [ 85s] mmc.c: In function 'mmc_bread': [ 85s] mmc.c:240:3: warning: implicit declaration of function 'Emmc_Read' [-Wimplicit-function-declaration] [ 85s] if(Emmc_Read(0, start, blkcnt, (uint8*)dst)) [ 85s] ^ [ 85s] mmc.c: In function 'mmc_register': [ 85s] mmc.c:915:3: warning: implicit declaration of function 'Emmc_GetCapacity' [-Wimplicit-function-declaration] [ 85s] mmc->block_dev.lba = Emmc_GetCapacity(0);; [ 85s] ^ [ 85s] {standard input}: Assembler messages: [ 85s] {standard input}:3136: Warning: setting incorrect section attributes for .rodata.regu.init1 [ 85s] mmc.c: In function 'mmc_legacy_init': [ 85s] mmc.c:1027:2: warning: implicit declaration of function 'Emmc_Init' [-Wimplicit-function-declaration] [ 85s] if(TRUE == Emmc_Init()) [ 85s] ^ [ 85s] mmc.c:1025:11: warning: unused variable 'rca' [-Wunused-variable] [ 85s] uint16_t rca = 0; [ 85s] ^ [ 85s] mmc.c:1024:12: warning: unused variable 'resp' [-Wunused-variable] [ 85s] uint32_t *resp; [ 85s] ^ [ 85s] mmc.c:1023:11: warning: unused variable 'cid_resp' [-Wunused-variable] [ 85s] uint32_t cid_resp[4]; [ 85s] ^ [ 85s] mmc.c:1022:6: warning: unused variable 'retries' [-Wunused-variable] [ 85s] int retries, rc = -ENODEV; [ 85s] ^ [ 85s] mmc.c: At top level: [ 85s] mmc.c:1053:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] int mmc_sdcard_init() [ 85s] ^ [ 85s] mmc.c: In function 'mmc_sdcard_init': [ 85s] mmc.c:1056:2: warning: implicit declaration of function 'SDCARD_PowerOn' [-Wimplicit-function-declaration] [ 85s] if (TRUE == SDCARD_PowerOn()) { [ 85s] ^ [ 85s] ar crv libsc8830.o mmu_asm.o generic.o timer.o reset.o ldo.o mfp_sprd.o mmu.o adc.o rtc-sprd.o sec_boot.o glb.o adi.o gpio.o gpio_phy.o clock.o clock_test.o check_reboot.o eic.o vibrator_sc2723.o otp-helper.o efuse.o ana_efuse.o watchdog.o watchdog_phy_v3.o watchdog_hal.o chip_cfg.o chip_x30g/chip_phy_x30g.o Tshark_boot_cp.o misc.o dcdc_cal_sc2723.o [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from env_nowhere.c:27: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from mv_sdhci.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o exports.o exports.c -c [ 85s] a - mmu_asm.o [ 85s] a - generic.o [ 85s] a - timer.o [ 85s] a - reset.o [ 85s] a - ldo.o [ 85s] a - mfp_sprd.o [ 85s] a - mmu.o [ 85s] a - adc.o [ 85s] a - rtc-sprd.o [ 85s] a - sec_boot.o [ 85s] a - glb.o [ 85s] a - adi.o [ 85s] a - gpio.o [ 85s] a - gpio_phy.o [ 85s] a - clock.o [ 85s] a - clock_test.o [ 85s] a - check_reboot.o [ 85s] a - eic.o [ 85s] a - vibrator_sc2723.o [ 85s] a - otp-helper.o [ 85s] a - efuse.o [ 85s] a - ana_efuse.o [ 85s] a - watchdog.o [ 85s] a - watchdog_phy_v3.o [ 85s] a - watchdog_hal.o [ 85s] a - chip_cfg.o [ 85s] a - chip_x30g/chip_phy_x30g.o [ 85s] a - Tshark_boot_cp.o [ 85s] a - misc.o [ 85s] a - dcdc_cal_sc2723.o [ 85s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 85s] make -C drivers/mtd/onenand/ [ 85s] mv_sdhci.c: In function 'sdhci_dumpregs': [ 85s] mv_sdhci.c:18:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 85s] printf(KERN_DEBUG DRIVER_NAME ": address 0x%08x | value 0x%08x\n", host->ioaddr + i*4, sdhci_readl(host, i*4)); [ 85s] ^ [ 85s] mv_sdhci.c: In function 'sdhci_sprd_set_base_clock': [ 85s] mv_sdhci.c:65:16: warning: unused variable 'flags' [-Wunused-variable] [ 85s] unsigned long flags; [ 85s] ^ [ 85s] mv_sdhci.c: At top level: [ 85s] mv_sdhci.c:63:13: warning: 'sdhci_sprd_set_base_clock' defined but not used [-Wunused-function] [ 85s] static void sdhci_sprd_set_base_clock(unsigned int clock) [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 85s] -o sdhci.o sdhci.c -c [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from exports.c:1: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from sdhci.c:27: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o fdt_support.o fdt_support.c -c [ 85s] sdhci.c: In function 'sdhci_send_command': [ 85s] sdhci.c:198:3: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 85s] Dcache_CleanRegion(start_addr, trans_bytes); [ 85s] ^ [ 85s] sdhci.c:199:3: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 85s] Dcache_InvalRegion(start_addr, trans_bytes); [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from fdt_support.c:26: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 85s] from fdt_support.c:35: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 85s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from fdt_support.c:26:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 85s] #define MAX(x, y) max(x, y) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 85s] from fdt_support.c:35: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 85s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 85s] ^ [ 85s] In file included from fdt_support.c:26:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 85s] #define MIN(x, y) min(x, y) [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 85s] from fdt_support.c:35: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 85s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 85s] #define VLR_INFO_OFF (512) [ 85s] ^ [ 85s] In file included from fdt_support.c:35:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 85s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 85s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 85s] ^ [ 85s] In file included from fdt_support.c:35:0: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] int read_spldata(); [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] void vlx_entry(); [ 85s] ^ [ 85s] fdt_support.c: In function 'fdt_initrd_norsvmem': [ 85s] fdt_support.c:222:17: warning: unused variable 'size' [-Wunused-variable] [ 85s] uint64_t addr, size; [ 85s] ^ [ 85s] fdt_support.c:222:11: warning: unused variable 'addr' [-Wunused-variable] [ 85s] uint64_t addr, size; [ 85s] ^ [ 85s] fdt_support.c: In function 'fdt_chosen_bootargs_replace': [ 85s] fdt_support.c:376:13: warning: assignment discards 'const' qualifier from pointer target type [ 85s] src = path; [ 85s] ^ [ 85s] fdt_support.c: In function 'fdt_fixup_lcdid': [ 85s] fdt_support.c:471:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 85s] extern uint32_t load_lcd_id_to_kernel(); [ 85s] ^ [ 85s] fdt_support.c: In function 'fdt_fixup_lcdbase': [ 85s] fdt_support.c:501:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] [ 85s] sprintf(&buf[str_len], "%x",lcd_base); [ 85s] ^ [ 85s] fdt_support.c: In function 'fdt_fixup_adc_calibration_data': [ 85s] fdt_support.c:628:41: warning: passing argument 1 of 'read_adc_calibration_data' from incompatible pointer type [ 85s] int ret = read_adc_calibration_data(adc_data,48); [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18:0, [ 85s] from fdt_support.c:35: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:77:5: note: expected 'char *' but argument is of type 'unsigned int *' [ 85s] int read_adc_calibration_data(char *buffer,int size); [ 85s] ^ [ 85s] fdt_support.c:634:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 85s] int ret; [ 85s] ^ [ 85s] fdt_support.c: In function 'fdt_fixup_chosen_bootargs_board_private': [ 85s] fdt_support.c:732:2: warning: implicit declaration of function 'poweron_by_calibration' [-Wimplicit-function-declaration] [ 85s] fdt_fixup_chosen_bootargs_board(buf, boot_mode, poweron_by_calibration()); [ 85s] ^ [ 85s] fdt_support.c: In function 'fdt_debug_print_prop': [ 85s] fdt_support.c:1687:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 85s] printf("fdt addr: 0x%x\n", fdt); [ 85s] ^ [ 85s] fdt_support.c:1683:8: warning: unused variable 'strargs' [-Wunused-variable] [ 85s] char *strargs; [ 85s] ^ [ 85s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 85s] -o sdio_card_pal.o sdio_card_pal.c -c [ 85s] make -C drivers/mtd/spi/ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 85s] from sdio_card_pal.c:2: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 85s] from sdio_card_pal.c:7: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 85s] #define KPD_NUM (0x31 << 16) [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 85s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 85s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 86s] from sdio_card_pal.c:7: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 86s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 86s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 86s] ^ [ 86s] sdio_card_pal.c: In function 'SDIO_Card_Pal_Pwr': [ 86s] sdio_card_pal.c:524:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 86s] udelay(5000); [ 86s] ^ [ 86s] sdio_card_pal.c: In function 'SDIO_Card_Pal_SendCmd': [ 86s] sdio_card_pal.c:809:16: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 86s] Dcache_CleanRegion((unsigned int)(dataParam->databuf), bufferSize); [ 86s] ^ [ 86s] sdio_card_pal.c:810:16: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 86s] Dcache_InvalRegion((unsigned int)(dataParam->databuf), bufferSize); [ 86s] ^ [ 86s] sdio_card_pal.c:826:3: warning: implicit declaration of function '_SDHOST_IrqHandle' [-Wimplicit-function-declaration] [ 86s] _SDHOST_IrqHandle(handle->sdio_No); [ 86s] ^ [ 86s] sdio_card_pal.c:754:13: warning: unused variable 'isr_status' [-Wunused-variable] [ 86s] uint32 isr_status; [ 86s] ^ [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 86s] rm -f libonenand.o; ar rcs libonenand.o [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 86s] -o sdhost_phy.o sdhost_phy.c -c [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o flash.o flash.c -c [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 86s] from sdhost_phy.c:19: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from flash.c:26: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:34:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 86s] #define KPD_NUM (0x31 << 16) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 86s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 86s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 86s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 86s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 86s] #define ADC_BASE 0x40038300 //Aux ADC [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o idh_layout.o idh_layout.c -c [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 86s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:111:0: note: this is the location of the previous definition [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: note: this is the location of the previous definition [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: note: this is the location of the previous definition [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 86s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:220:0: note: this is the location of the previous definition [ 86s] #define RTC_BASE 0x40038080 [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 86s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:298:0: note: this is the location of the previous definition [ 86s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 86s] ^ [ 86s] In file included from sdhost_phy.c:34:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 86s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:33:0: note: this is the location of the previous definition [ 86s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 86s] ^ [ 86s] In file included from sdhost_phy.c:34:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:38:0: warning: "USB_PHY_CTRL" redefined [ 86s] #define USB_PHY_CTRL (AHB_REG_BASE + 0xA0) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:21:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_global.h:24:0: note: this is the location of the previous definition [ 86s] #define USB_PHY_CTRL (CTL_BASE_APB+0x10) [ 86s] ^ [ 86s] In file included from sdhost_phy.c:34:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 86s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:37:0: note: this is the location of the previous definition [ 86s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 86s] ^ [ 86s] In file included from sdhost_phy.c:39:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:21:0: warning: "REG_SETCLRBIT" redefined [ 86s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo_reg_v3.h:33:0: note: this is the location of the previous definition [ 86s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 86s] ^ [ 86s] In file included from sdhost_phy.c:39:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:34:0: warning: "GET_LEVELBIT" redefined [ 86s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo_reg_v3.h:44:0: note: this is the location of the previous definition [ 86s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 86s] ^ [ 86s] In file included from sdhost_phy.c:39:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:41:0: warning: "GET_LEVEL" redefined [ 86s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 86s] ^ [ 86s] make -C drivers/mtd/ubi/ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sdhost_phy.c:21: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo_reg_v3.h:50:0: note: this is the location of the previous definition [ 86s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 86s] ^ [ 86s] sdhost_phy.c: In function '_GetIntSDHOSTSlotNum': [ 86s] sdhost_phy.c:2341:12: warning: unused variable 'tmpReg' [-Wunused-variable] [ 86s] uint32 tmpReg; [ 86s] ^ [ 86s] sdhost_phy.c: In function 'SdhostHisrFunc': [ 86s] sdhost_phy.c:2484:5: warning: implicit declaration of function 'threadReadBuffer' [-Wimplicit-function-declaration] [ 86s] while (!threadReadBuffer (&buffer)) [ 86s] ^ [ 86s] sdhost_phy.c: In function 'SDHOST_Register': [ 86s] sdhost_phy.c:2515:24: warning: unused variable 'i' [-Wunused-variable] [ 86s] uint32 status = 0, i = 0; [ 86s] ^ [ 86s] sdhost_phy.c:2515:12: warning: unused variable 'status' [-Wunused-variable] [ 86s] uint32 status = 0, i = 0; [ 86s] ^ [ 86s] sdhost_phy.c: At top level: [ 86s] sdhost_phy.c:2480:13: warning: 'SdhostHisrFunc' defined but not used [-Wunused-function] [ 86s] LOCAL void SdhostHisrFunc (uint32 cnt, void *pData) [ 86s] ^ [ 86s] sdhost_phy.c:115:15: warning: '_RegisterVerifyHOST' defined but not used [-Wunused-function] [ 86s] LOCAL BOOLEAN _RegisterVerifyHOST (SDHOST_HANDLE sdhost_handler) [ 86s] ^ [ 86s] sdhost_phy.c:1621:12: warning: '_GetSDHOSTCapbility' defined but not used [-Wunused-function] [ 86s] LOCAL void _GetSDHOSTCapbility (SDHOST_HANDLE sdhost_handler,SDHOST_CAPBILIT_T *capbility) [ 86s] ^ [ 86s] sdhost_phy.c:2339:22: warning: '_GetIntSDHOSTSlotNum' defined but not used [-Wunused-function] [ 86s] LOCAL SDHOST_SLOT_NO _GetIntSDHOSTSlotNum (uint32 port) [ 86s] ^ [ 86s] sdhost_phy.c:2490:12: warning: '_SDHOST_Pin_select' defined but not used [-Wunused-function] [ 86s] LOCAL void _SDHOST_Pin_select(SDHOST_SLOT_NO slot_NO) [ 86s] ^ [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 86s] rm -f libspi_flash.o; ar rcs libspi_flash.o [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from idh_layout.c:1: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] idh_layout.c: In function 'create_mtdpart_buffer': [ 86s] idh_layout.c:54:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 86s] while (strcmp(mtd_partition_cfg[i].name, "cache") != 0) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 86s] from idh_layout.c:1: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:36:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 86s] extern int strcmp(const char *,const char *); [ 86s] ^ [ 86s] idh_layout.c:64:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 86s] while (strcmp(mtd_partition_cfg[i].name, "userdata") != 0) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 86s] from idh_layout.c:1: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:36:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 86s] extern int strcmp(const char *,const char *); [ 86s] ^ [ 86s] idh_layout.c:79:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 86s] sprintf(mtdpartbuffer, "mtdparts=sprd-nand:"); [ 86s] ^ [ 86s] In file included from idh_layout.c:1:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 86s] int sprintf(char * buf, const char *fmt, ...) [ 86s] ^ [ 86s] idh_layout.c:80:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 86s] str_len = strlen(mtdpartbuffer); [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 86s] from idh_layout.c:1: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:54:24: note: expected 'const char *' but argument is of type 'unsigned char *' [ 86s] extern __kernel_size_t strlen(const char *); [ 86s] ^ [ 86s] idh_layout.c:83:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 86s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 86s] ^ [ 86s] In file included from idh_layout.c:1:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 86s] int sprintf(char * buf, const char *fmt, ...) [ 86s] ^ [ 86s] idh_layout.c:83:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 86s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 86s] ^ [ 86s] idh_layout.c:84:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 86s] str_len = strlen(mtdpartbuffer); [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 86s] from idh_layout.c:1: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:54:24: note: expected 'const char *' but argument is of type 'unsigned char *' [ 86s] extern __kernel_size_t strlen(const char *); [ 86s] ^ [ 86s] idh_layout.c:87:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 86s] str_len = strlen(mtdpartbuffer); [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 86s] from idh_layout.c:1: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:54:24: note: expected 'const char *' but argument is of type 'unsigned char *' [ 86s] extern __kernel_size_t strlen(const char *); [ 86s] ^ [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 86s] idh_layout.c: At top level: [ 86s] idh_layout.c:22:22: warning: 'nandsize' defined but not used [-Wunused-variable] [ 86s] static unsigned long nandsize = 0; [ 86s] ^ [ 86s] make -C drivers/net/ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o image.o image.c -c [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 86s] -o card_sdio.o card_sdio.c -c [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from image.c:27: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 86s] from card_sdio.c:20: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] In file included from card_sdio.c:22:0: [ 86s] card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 86s] PUBLIC void Emmc_DisSdClk(); [ 86s] ^ [ 86s] card_sdio.c:362:1: warning: missing braces around initializer [-Wmissing-braces] [ 86s] LOCAL CARD_PORT_T cardPort[CARD_SDIO_SLOT_MAX] = {0}; [ 86s] ^ [ 86s] card_sdio.c:362:1: warning: (near initialization for 'cardPort[0]') [-Wmissing-braces] [ 86s] card_sdio.c: In function 'CARD_SDIO_Select_CurPartition': [ 86s] card_sdio.c:1394:9: warning: unused variable 'RCA' [-Wunused-variable] [ 86s] uint16 RCA = cardHandle->RCA; [ 86s] ^ [ 86s] card_sdio.c: In function '_SetBusWidth': [ 86s] card_sdio.c:1442:9: warning: unused variable 'RCA' [-Wunused-variable] [ 86s] uint16 RCA = cardHandle->RCA; [ 86s] ^ [ 86s] card_sdio.c: In function 'CARD_SDIO_InitCard': [ 86s] card_sdio.c:1648:8: warning: variable 'extcsd_Part_Config' set but not used [-Wunused-but-set-variable] [ 86s] uint8 extcsd_Part_Config; [ 86s] ^ [ 86s] card_sdio.c:1646:24: warning: unused variable 'errCode' [-Wunused-variable] [ 86s] SDIO_CARD_PAL_ERROR_E errCode; [ 86s] ^ [ 86s] card_sdio.c:1645:10: warning: unused variable 'vertion_flag' [-Wunused-variable] [ 86s] BOOLEAN vertion_flag; //TRUE: SD2.0 FALSE: SD1.x [ 86s] ^ [ 86s] card_sdio.c: In function 'CARD_SDIO_getCID': [ 86s] card_sdio.c:1930:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 86s] uid[0] = g_CID.MMC_CID.MID << 24 | g_CID.MMC_CID.OID & 0xff << 16 | (g_CID.MMC_CID.OID >> 8) & 0xff << 8 | g_CID.MMC_CID.PNM[0]; [ 86s] ^ [ 86s] card_sdio.c:1930:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 86s] uid[0] = g_CID.MMC_CID.MID << 24 | g_CID.MMC_CID.OID & 0xff << 16 | (g_CID.MMC_CID.OID >> 8) & 0xff << 8 | g_CID.MMC_CID.PNM[0]; [ 86s] ^ [ 86s] card_sdio.c:1932:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 86s] uid[2] = g_CID.MMC_CID.PRV << 24 | g_CID.MMC_CID.PSN & 0xff << 16 | (g_CID.MMC_CID.PSN >> 8) & 0xff << 8 | (g_CID.MMC_CID.PSN >> 16) & 0xff; [ 86s] ^ [ 86s] card_sdio.c:1932:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 86s] uid[2] = g_CID.MMC_CID.PRV << 24 | g_CID.MMC_CID.PSN & 0xff << 16 | (g_CID.MMC_CID.PSN >> 8) & 0xff << 8 | (g_CID.MMC_CID.PSN >> 16) & 0xff; [ 86s] ^ [ 86s] card_sdio.c:1932:135: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 86s] uid[2] = g_CID.MMC_CID.PRV << 24 | g_CID.MMC_CID.PSN & 0xff << 16 | (g_CID.MMC_CID.PSN >> 8) & 0xff << 8 | (g_CID.MMC_CID.PSN >> 16) & 0xff; [ 86s] ^ [ 86s] card_sdio.c:1933:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 86s] uid[3] = (g_CID.MMC_CID.PSN >> 24) & 0xff << 24 | g_CID.MMC_CID.MDT & 0xff << 16 | (g_CID.MMC_CID.MDT >> 8) & 0xff << 8 | 1; [ 86s] ^ [ 86s] card_sdio.c:1933:110: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 86s] uid[3] = (g_CID.MMC_CID.PSN >> 24) & 0xff << 24 | g_CID.MMC_CID.MDT & 0xff << 16 | (g_CID.MMC_CID.MDT >> 8) & 0xff << 8 | 1; [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 86s] from card_sdio.c:1964: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h: In function 'SDCARD_SDIO_InitCard': [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 86s] from card_sdio.c:1964: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 86s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 86s] ^ [ 86s] card_sdio.c:1968:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 86s] sprd_gpio_request(NULL, 100); [ 86s] ^ [ 86s] card_sdio.c:1969:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 86s] sprd_gpio_direction_output(NULL, 100, 1); [ 86s] ^ [ 86s] card_sdio.c:1976:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 86s] udelay(5000); [ 86s] ^ [ 86s] card_sdio.c:2165:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 86s] printf("SDCARD_SDIO_ReadRCA failed!\r\n"); [ 86s] ^ [ 86s] card_sdio.c:1953:19: warning: unused variable 'busWidth' [-Wunused-variable] [ 86s] CARD_BUS_WIDTH_E busWidth = CARD_WIDTH_1_BIT; [ 86s] ^ [ 86s] In file included from card_sdio.c:1964:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:25:3: warning: typedef 'pinmap_t' locally defined but not used [-Wunused-local-typedefs] [ 86s] } pinmap_t; [ 86s] ^ [ 86s] card_sdio.c: At top level: [ 86s] card_sdio.c:2783:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 86s] PUBLIC BOOLEAN SDCARD_Init() [ 86s] ^ [ 86s] card_sdio.c: In function 'SDCARD_Init': [ 86s] card_sdio.c:2785:9: warning: unused variable 'ret' [-Wunused-variable] [ 86s] uint32 ret = 0; [ 86s] ^ [ 86s] card_sdio.c: At top level: [ 86s] card_sdio.c:2797:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 86s] PUBLIC BOOLEAN SDCARD_PowerOn() [ 86s] ^ [ 86s] card_sdio.c:2907:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 86s] PUBLIC void Emmc_DisSdClk() [ 86s] ^ [ 86s] card_sdio.c:370:15: warning: '_IsCardHandleValid' defined but not used [-Wunused-function] [ 86s] LOCAL BOOLEAN _IsCardHandleValid(CARD_SDIO_HANDLE cardHandle) [ 86s] ^ [ 86s] card_sdio.c:457:12: warning: '_SD_CID_Analyze' defined but not used [-Wunused-function] [ 86s] LOCAL void _SD_CID_Analyze(uint8* CIDbuf,CARD_SD_CID_T *CID) [ 86s] ^ [ 86s] card_sdio.c:1580:12: warning: '_CMD6_Response_Analyze' defined but not used [-Wunused-function] [ 86s] LOCAL void _CMD6_Response_Analyze(uint8* resBuf,CARD_CMD6_STATUS_T* cmdStatus) [ 86s] ^ [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o lcd.o lcd.c -c [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from lcd.c:31: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 86s] rm -f libubi.o; ar rcs libubi.o [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 86s] rm -f libnet.o; ar rcs libnet.o [ 86s] In file included from lcd.c:65:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) sp_palette[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:26:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) sp_bitmap[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:791:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned int __attribute__((packed, aligned(4))) sp_num_bitmap[] = { [ 86s] ^ [ 86s] In file included from lcd.c:66:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) thor_palette[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:44:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) thor_bitmap[] = { [ 86s] ^ [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 86s] make -C drivers/net/phy/ [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o main.o main.c -c [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:2908:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned int __attribute__((packed, aligned(4))) thor_num_bitmap[] = { [ 86s] ^ [ 86s] ld -r -o libmmc.o mmc.o mv_sdhci.o sdhci.o sdio_card_pal.o sdhost_phy.o card_sdio.o [ 86s] In file included from lcd.c:67:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) charge_palette[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) charge_bitmap[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:381:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned int __attribute__((packed, aligned(4))) charge_num_bitmap[] = { [ 86s] ^ [ 86s] In file included from lcd.c:68:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) prog_start_palette[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:13:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) prog_start_bitmap[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned int __attribute__((packed, aligned(4))) prog_start_num_bitmap[] = { [ 86s] ^ [ 86s] In file included from lcd.c:69:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) prog_mid_palette[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) prog_mid_bitmap[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:10:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned int __attribute__((packed, aligned(4))) prog_mid_num_bitmap[] = { [ 86s] ^ [ 86s] In file included from lcd.c:70:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) prog_end_palette[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:12:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned short __attribute__((packed, aligned(4))) prog_end_bitmap[] = { [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 86s] unsigned int __attribute__((packed, aligned(4))) prog_end_num_bitmap[] = { [ 86s] ^ [ 86s] lcd.c: In function 'lcd_drawchars': [ 86s] lcd.c:224:9: warning: variable 'off' set but not used [-Wunused-but-set-variable] [ 86s] ushort off, row; [ 86s] ^ [ 86s] lcd.c: In function '_draw_image': [ 86s] lcd.c:510:15: warning: unused variable 'tmp' [-Wunused-variable] [ 86s] unsigned int tmp; [ 86s] ^ [ 86s] lcd.c: In function 'bitmap_plot': [ 86s] lcd.c:677:3: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 86s] lcd_display(); [ 86s] ^ [ 86s] lcd.c:608:10: warning: unused variable 'fb16' [-Wunused-variable] [ 86s] ushort *fb16; [ 86s] ^ [ 86s] lcd.c:605:12: warning: unused variable 'j' [-Wunused-variable] [ 86s] ushort i, j; [ 86s] ^ [ 86s] lcd.c: In function 'lcd_display_bitmap': [ 86s] lcd.c:709:16: warning: variable 'compression' set but not used [-Wunused-but-set-variable] [ 86s] unsigned long compression; [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from main.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o memsize.o memsize.c -c [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from memsize.c:24: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o s_record.o s_record.c -c [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from s_record.c:24: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] make -C drivers/pci/ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o stdio.o stdio.c -c [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 86s] rm -f libphy.o; ar rcs libphy.o [ 86s] make -C drivers/pcmcia/ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from stdio.c:24: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o xyzModem.o xyzModem.c -c [ 86s] make -C drivers/power/ [ 86s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from xyzModem.c:57: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 87s] ld -r -o libcommon.o cmd_bdinfo.o cmd_boot.o cmd_bootm.o cmd_console.o cmd_echo.o cmd_ext4.o cmd_fat.o cmd_fdt.o cmd_help.o cmd_itest.o cmd_load.o cmd_mem.o cmd_misc.o cmd_mmc.o cmd_nvedit.o cmd_pcmcia.o cmd_source.o cmd_version.o cmd_ximg.o command.o console.o dlmalloc.o env_common.o env_nowhere.o exports.o fdt_support.o flash.o idh_layout.o image.o lcd.o main.o memsize.o s_record.o stdio.o xyzModem.o [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 87s] rm -f libpci.o; ar rcs libpci.o [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 87s] make -C drivers/rtc/ [ 87s] make -C drivers/serial/ [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o rpx_pcmcia.o rpx_pcmcia.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from rpx_pcmcia.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o sprd_battery.o sprd_battery.c -c [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o tqm8xx_pcmcia.o tqm8xx_pcmcia.c -c [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from sprd_battery.c:1: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 87s] from sprd_battery.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 87s] from sprd_battery.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 87s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 87s] ^ [ 87s] In file included from sprd_battery.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 87s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 87s] from sprd_battery.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 87s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 87s] from sprd_battery.c:5: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 87s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from sprd_battery.c:1:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 87s] #define MAX(x, y) max(x, y) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 87s] from sprd_battery.c:5: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 87s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from sprd_battery.c:1:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 87s] #define MIN(x, y) min(x, y) [ 87s] ^ [ 87s] sprd_battery.c:232:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] unsigned int get_fgu_vol() { [ 87s] ^ [ 87s] sprd_battery.c:236:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] unsigned int get_fgu_cur() { [ 87s] ^ [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from tqm8xx_pcmcia.c:5: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] ld -r -o libpower.o sprd_battery.o [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 87s] ld -r -o libpcmcia.o rpx_pcmcia.o tqm8xx_pcmcia.o [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 87s] make -C drivers/sound/codec/ [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o date.o date.c -c [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o serial_sc8800x.o serial_sc8800x.c -c [ 87s] make -C drivers/sound/dai/ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from date.c:28: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] ld -r -o librtc.o date.o [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from serial_sc8800x.c:1: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 87s] make -C drivers/sound/ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 87s] from serial_sc8800x.c:6: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 87s] #define KPD_NUM (0x31 << 16) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 87s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 87s] from serial_sc8800x.c:6: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 87s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 87s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 87s] from serial_sc8800x.c:7: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:5:0, [ 87s] from serial_sc8800x.c:7: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 87s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:2:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 87s] #define MAX(x, y) max(x, y) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:5:0, [ 87s] from serial_sc8800x.c:7: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 87s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:2:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 87s] #define MIN(x, y) min(x, y) [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:42:0: warning: "BIT_0" redefined [ 87s] #define BIT_0 0x00000001 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:10:0: note: this is the location of the previous definition [ 87s] #define BIT_0 0x01 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:43:0: warning: "BIT_1" redefined [ 87s] #define BIT_1 0x00000002 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:11:0: note: this is the location of the previous definition [ 87s] #define BIT_1 0x02 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:44:0: warning: "BIT_2" redefined [ 87s] #define BIT_2 0x00000004 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:12:0: note: this is the location of the previous definition [ 87s] #define BIT_2 0x04 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:45:0: warning: "BIT_3" redefined [ 87s] #define BIT_3 0x00000008 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:13:0: note: this is the location of the previous definition [ 87s] #define BIT_3 0x08 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:46:0: warning: "BIT_4" redefined [ 87s] #define BIT_4 0x00000010 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:14:0: note: this is the location of the previous definition [ 87s] #define BIT_4 0x10 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:47:0: warning: "BIT_5" redefined [ 87s] #define BIT_5 0x00000020 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:15:0: note: this is the location of the previous definition [ 87s] #define BIT_5 0x20 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:48:0: warning: "BIT_6" redefined [ 87s] #define BIT_6 0x00000040 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:16:0: note: this is the location of the previous definition [ 87s] #define BIT_6 0x40 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:49:0: warning: "BIT_7" redefined [ 87s] #define BIT_7 0x00000080 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:17:0: note: this is the location of the previous definition [ 87s] #define BIT_7 0x80 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:50:0: warning: "BIT_8" redefined [ 87s] #define BIT_8 0x00000100 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:18:0: note: this is the location of the previous definition [ 87s] #define BIT_8 0x0100 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:51:0: warning: "BIT_9" redefined [ 87s] #define BIT_9 0x00000200 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:19:0: note: this is the location of the previous definition [ 87s] #define BIT_9 0x0200 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:52:0: warning: "BIT_10" redefined [ 87s] #define BIT_10 0x00000400 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:20:0: note: this is the location of the previous definition [ 87s] #define BIT_10 0x0400 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:53:0: warning: "BIT_11" redefined [ 87s] #define BIT_11 0x00000800 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:21:0: note: this is the location of the previous definition [ 87s] #define BIT_11 0x0800 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:54:0: warning: "BIT_12" redefined [ 87s] #define BIT_12 0x00001000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:22:0: note: this is the location of the previous definition [ 87s] #define BIT_12 0x1000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:55:0: warning: "BIT_13" redefined [ 87s] #define BIT_13 0x00002000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:23:0: note: this is the location of the previous definition [ 87s] #define BIT_13 0x2000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:56:0: warning: "BIT_14" redefined [ 87s] #define BIT_14 0x00004000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:24:0: note: this is the location of the previous definition [ 87s] #define BIT_14 0x4000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:57:0: warning: "BIT_15" redefined [ 87s] #define BIT_15 0x00008000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:25:0: note: this is the location of the previous definition [ 87s] #define BIT_15 0x8000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:58:0: warning: "BIT_16" redefined [ 87s] #define BIT_16 0x00010000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:26:0: note: this is the location of the previous definition [ 87s] #define BIT_16 0x010000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:59:0: warning: "BIT_17" redefined [ 87s] #define BIT_17 0x00020000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:27:0: note: this is the location of the previous definition [ 87s] #define BIT_17 0x020000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:60:0: warning: "BIT_18" redefined [ 87s] #define BIT_18 0x00040000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:28:0: note: this is the location of the previous definition [ 87s] #define BIT_18 0x040000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:61:0: warning: "BIT_19" redefined [ 87s] #define BIT_19 0x00080000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:29:0: note: this is the location of the previous definition [ 87s] #define BIT_19 0x080000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:62:0: warning: "BIT_20" redefined [ 87s] #define BIT_20 0x00100000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:30:0: note: this is the location of the previous definition [ 87s] #define BIT_20 0x100000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:63:0: warning: "BIT_21" redefined [ 87s] #define BIT_21 0x00200000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:31:0: note: this is the location of the previous definition [ 87s] #define BIT_21 0x200000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:64:0: warning: "BIT_22" redefined [ 87s] #define BIT_22 0x00400000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:32:0: note: this is the location of the previous definition [ 87s] #define BIT_22 0x400000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:10:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:65:0: warning: "BIT_23" redefined [ 87s] #define BIT_23 0x00800000 [ 87s] ^ [ 87s] In file included from serial_sc8800x.c:4:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:33:0: note: this is the location of the previous definition [ 87s] #define BIT_23 0x800000 [ 87s] ^ [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 87s] ld -r -o libserial.o serial_sc8800x.o [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 87s] make -C drivers/spi/ [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 87s] rm -f libcodec.o; ar rcs libcodec.o [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 87s] make -C drivers/twserial/ [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 87s] rm -f libdai.o; ar rcs libdai.o [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 87s] make -C drivers/usb/gadget/dwc_otg/ [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 87s] rm -f libsound.o; ar rcs libsound.o [ 87s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 87s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 87s] make -C drivers/usb/gadget/ [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o sprd_spi.o sprd_spi.c -c [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 88s] rm -f libtws.o; ar rcs libtws.o [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 88s] from sprd_spi.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from sprd_spi.c:4:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 88s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 88s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 88s] ^ [ 88s] In file included from sprd_spi.c:7:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_spi.h:217:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] PUBLIC void SPI_WaitTxFinish(); [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_Reset': [ 88s] sprd_spi.c:94:9: warning: unused variable 'i' [-Wunused-variable] [ 88s] uint32 i = 0; [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_SetCsLow': [ 88s] sprd_spi.c:153:9: warning: unused variable 'temp' [-Wunused-variable] [ 88s] uint32 temp; [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_Init': [ 88s] sprd_spi.c:335:27: warning: unused variable 'ctl3' [-Wunused-variable] [ 88s] uint32 ctl0, ctl1, ctl2, ctl3; [ 88s] ^ [ 88s] sprd_spi.c:335:21: warning: unused variable 'ctl2' [-Wunused-variable] [ 88s] uint32 ctl0, ctl1, ctl2, ctl3; [ 88s] ^ [ 88s] sprd_spi.c:335:15: warning: unused variable 'ctl1' [-Wunused-variable] [ 88s] uint32 ctl0, ctl1, ctl2, ctl3; [ 88s] ^ [ 88s] sprd_spi.c:335:9: warning: unused variable 'ctl0' [-Wunused-variable] [ 88s] uint32 ctl0, ctl1, ctl2, ctl3; [ 88s] ^ [ 88s] sprd_spi.c: At top level: [ 88s] sprd_spi.c:366:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] PUBLIC void SPI_WaitTxFinish() [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_WaitTxFinish': [ 88s] sprd_spi.c:370:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] [ 88s] while( !(spi_ctr_ptr->iraw)&BIT_8 ) // IS tx finish [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_WriteData': [ 88s] sprd_spi.c:387:9: warning: unused variable 'command' [-Wunused-variable] [ 88s] uint32 command; [ 88s] ^ [ 88s] sprd_spi.c: At top level: [ 88s] sprd_spi.c:120:12: warning: 'SPI_PinConfig' defined but not used [-Wunused-function] [ 88s] LOCAL void SPI_PinConfig(void) [ 88s] ^ [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 88s] make -C drivers/usb/host/ [ 88s] ld -r -o libspi.o sprd_spi.o [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 88s] make -C drivers/usb/musb/ [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o epautoconf.o epautoconf.c -c [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 88s] rm -f libusb_host.o; ar rcs libusb_host.o [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from epautoconf.c:24: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o config.o config.c -c [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_driver.o dwc_otg_driver.c [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 88s] rm -f libusb_musb.o; ar rcs libusb_musb.o [ 88s] make -C drivers/usb/phy/ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from config.c:24: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from dwc_otg_driver.c:57: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_cil.o dwc_otg_cil.c [ 88s] dwc_otg_driver.c: In function 'dwc_otg_driver_remove': [ 88s] dwc_otg_driver.c:548:3: warning: implicit declaration of function 'pcd_remove' [-Wimplicit-function-declaration] [ 88s] pcd_remove(dwc_otg_device); [ 88s] ^ [ 88s] dwc_otg_driver.c: In function 'dwc_otg_driver_probe': [ 88s] dwc_otg_driver.c:626:23: warning: assignment makes pointer from integer without a cast [ 88s] dwc_otg_device->base = USB_PHYS; [ 88s] ^ [ 88s] dwc_otg_driver.c:606:6: warning: unused variable 'irq' [-Wunused-variable] [ 88s] int irq; [ 88s] ^ [ 88s] dwc_otg_driver.c: In function 'dwc_otg_driver_init': [ 88s] dwc_otg_driver.c:793:6: warning: unused variable 'error' [-Wunused-variable] [ 88s] int error; [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o usbstring.o usbstring.c -c [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_cil_intr.o dwc_otg_cil_intr.c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from dwc_os.h:220, [ 88s] from dwc_otg_cil.c:60: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] dwc_otg_cil.c: In function 'calc_num_in_eps': [ 88s] dwc_otg_cil.c:436:11: warning: unused variable 'num_tx_fifos' [-Wunused-variable] [ 88s] uint32_t num_tx_fifos = core_if->hwcfg4.b.num_in_eps; [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from usbstring.c:13: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] dwc_otg_cil.c: In function 'dwc_otg_ep0_continue_transfer': [ 88s] dwc_otg_cil.c:2886:19: warning: variable 'tx_status' set but not used [-Wunused-but-set-variable] [ 88s] gnptxsts_data_t tx_status = {.d32 = 0 }; [ 88s] ^ [ 88s] dwc_otg_cil.c: In function 'dwc_otg_dump_dev_registers': [ 88s] dwc_otg_cil.c:3257:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 88s] volatile uint32_t *addr; [ 88s] ^ [ 88s] dwc_otg_cil.c: In function 'dwc_otg_dump_host_registers': [ 88s] dwc_otg_cil.c:3414:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 88s] volatile uint32_t *addr; [ 88s] ^ [ 88s] dwc_otg_cil.c: In function 'dwc_otg_dump_global_registers': [ 88s] dwc_otg_cil.c:3471:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 88s] volatile uint32_t *addr; [ 88s] ^ [ 88s] dwc_otg_cil.c: In function 'dwc_otg_set_prtpower': [ 88s] dwc_otg_cil.c:5089:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 88s] hprt0_data_t hprt0; [ 88s] ^ [ 88s] dwc_otg_cil.c: In function 'dwc_otg_set_prtsuspend': [ 88s] dwc_otg_cil.c:5105:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 88s] hprt0_data_t hprt0; [ 88s] ^ [ 88s] dwc_otg_cil.c: In function 'dwc_otg_set_prtresume': [ 88s] dwc_otg_cil.c:5113:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 88s] hprt0_data_t hprt0; [ 88s] ^ [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from dwc_os.h:220, [ 88s] from dwc_otg_cil_intr.c:42: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o serial.o serial.c -c [ 88s] dwc_otg_cil_intr.c: In function 'dwc_otg_handle_usb_suspend_intr': [ 88s] dwc_otg_cil_intr.c:651:14: warning: variable 'dsts' set but not used [-Wunused-but-set-variable] [ 88s] dsts_data_t dsts; [ 88s] ^ [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from serial.c:12: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from u_serial.h:15:0, [ 88s] from serial.c:25: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:379:0: warning: "pr_warning" redefined [ 88s] #define pr_warning(args...) [ 88s] ^ [ 88s] In file included from serial.c:13:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:243:0: note: this is the location of the previous definition [ 88s] #define pr_warning(fmt, ...) \ [ 88s] ^ [ 88s] In file included from u_serial.h:15:0, [ 88s] from serial.c:25: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:380:0: warning: "pr_debug" redefined [ 88s] #define pr_debug(args...) [ 88s] ^ [ 88s] In file included from serial.c:13:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 88s] #define pr_debug(fmt, ...) [ 88s] ^ [ 88s] In file included from serial.c:52:0: [ 88s] f_acm.c: In function 'acm_complete_set_line_coding': [ 88s] f_acm.c:270:28: warning: unused variable 'cdev' [-Wunused-variable] [ 88s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 88s] ^ [ 88s] f_acm.c: In function 'acm_disable': [ 88s] f_acm.c:421:28: warning: unused variable 'cdev' [-Wunused-variable] [ 88s] struct usb_composite_dev *cdev = f->config->cdev; [ 88s] ^ [ 88s] f_acm.c: In function 'acm_notify_serial_state': [ 88s] f_acm.c:488:28: warning: unused variable 'cdev' [-Wunused-variable] [ 88s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 88s] ^ [ 88s] In file included from serial.c:53:0: [ 88s] f_obex.c: In function 'obex_disable': [ 88s] f_obex.c:266:28: warning: unused variable 'cdev' [-Wunused-variable] [ 88s] struct usb_composite_dev *cdev = f->config->cdev; [ 88s] ^ [ 88s] f_obex.c: In function 'obex_connect': [ 88s] f_obex.c:277:28: warning: unused variable 'cdev' [-Wunused-variable] [ 88s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 88s] ^ [ 88s] f_obex.c: In function 'obex_disconnect': [ 88s] f_obex.c:292:28: warning: unused variable 'cdev' [-Wunused-variable] [ 88s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 88s] ^ [ 88s] In file included from serial.c:54:0: [ 88s] f_serial.c: In function 'gser_disable': [ 88s] f_serial.c:199:28: warning: unused variable 'cdev' [-Wunused-variable] [ 88s] struct usb_composite_dev *cdev = f->config->cdev; [ 88s] ^ [ 88s] In file included from serial.c:55:0: [ 88s] u_serial.c: In function 'gs_start_tx': [ 88s] u_serial.c:369:9: warning: variable 'do_tty_wake' set but not used [-Wunused-but-set-variable] [ 88s] bool do_tty_wake = false; [ 88s] ^ [ 88s] u_serial.c: In function 'gs_read': [ 88s] u_serial.c:779:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [ 88s] memcpy(buf, packet, size); [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 88s] from serial.c:13: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'const unsigned char *' [ 88s] void* memcpy(void*, const void*, size_t); [ 88s] ^ [ 88s] In file included from serial.c:55:0: [ 88s] u_serial.c:782:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [ 88s] memcpy(buf, packet, *count); [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 88s] from serial.c:13: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'const unsigned char *' [ 88s] void* memcpy(void*, const void*, size_t); [ 88s] ^ [ 88s] In file included from serial.c:55:0: [ 88s] u_serial.c:788:1: warning: label 'recycle' defined but not used [-Wunused-label] [ 88s] recycle: [ 88s] ^ [ 88s] u_serial.c: In function 'gs_write': [ 88s] u_serial.c:808:45: warning: pointer targets in passing argument 2 of 'gs_buf_put' differ in signedness [-Wpointer-sign] [ 88s] count = gs_buf_put(&port->port_write_buf, buf, count); [ 88s] ^ [ 88s] u_serial.c:224:1: note: expected 'const char *' but argument is of type 'const unsigned char *' [ 88s] gs_buf_put(struct gs_buf *gb, const char *buf, unsigned count) [ 88s] ^ [ 88s] u_serial.c: In function 'gserial_connect': [ 88s] u_serial.c:1540:16: warning: unused variable 'flags' [-Wunused-variable] [ 88s] unsigned long flags; [ 88s] ^ [ 88s] u_serial.c: In function 'gserial_disconnect': [ 88s] u_serial.c:1614:16: warning: unused variable 'flags' [-Wunused-variable] [ 88s] unsigned long flags; [ 88s] ^ [ 88s] serial.c: At top level: [ 88s] serial.c:57:0: warning: "pr_warning" redefined [ 88s] #define pr_warning(args...) printf(##args) [ 88s] ^ [ 88s] In file included from u_serial.h:15:0, [ 88s] from serial.c:25: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:379:0: note: this is the location of the previous definition [ 88s] #define pr_warning(args...) [ 88s] ^ [ 88s] In file included from serial.c:55:0: [ 88s] u_serial.c:1456:12: warning: 'gs_closed' defined but not used [-Wunused-function] [ 88s] static int gs_closed(struct gs_port *port) [ 88s] ^ [ 88s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 88s] rm -f libusb_phy.o; ar rcs libusb_phy.o [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_pcd_linux.o dwc_otg_pcd_linux.c [ 88s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 88s] make -C drivers/video/ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from dwc_otg_pcd_linux.c:60: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 88s] from dwc_otg_pcd_linux.c:63: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 88s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from dwc_otg_pcd_linux.c:60:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 88s] #define MAX(x, y) max(x, y) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 88s] from dwc_otg_pcd_linux.c:63: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 88s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from dwc_otg_pcd_linux.c:60:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 88s] #define MIN(x, y) min(x, y) [ 88s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 89s] from dwc_otg_pcd_linux.c:525: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 89s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 89s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 89s] ^ [ 89s] In file included from dwc_otg_pcd_linux.c:527:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: warning: "GREG_BASE" redefined [ 89s] #define GREG_BASE 0x4B000000 [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 89s] from dwc_otg_pcd_linux.c:525: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: note: this is the location of the previous definition [ 89s] #define GREG_BASE CTL_BASE_GLB_REG [ 89s] ^ [ 89s] dwc_otg_pcd_linux.c: In function 'alloc_wrapper': [ 89s] dwc_otg_pcd_linux.c:1015:6: warning: unused variable 'retval' [-Wunused-variable] [ 89s] int retval; [ 89s] ^ [ 89s] dwc_otg_pcd_linux.c: In function 'pcd_init': [ 89s] dwc_otg_pcd_linux.c:1076:6: warning: unused variable 'irq' [-Wunused-variable] [ 89s] int irq; [ 89s] ^ [ 89s] dwc_otg_pcd_linux.c: In function 'pcd_remove': [ 89s] dwc_otg_pcd_linux.c:1128:17: warning: unused variable 'pcd' [-Wunused-variable] [ 89s] dwc_otg_pcd_t *pcd = otg_dev->pcd; [ 89s] ^ [ 89s] dwc_otg_pcd_linux.c: At top level: [ 89s] dwc_otg_pcd_linux.c:1002:13: warning: 'dwc_otg_pcd_gadget_release' defined but not used [-Wunused-function] [ 89s] static void dwc_otg_pcd_gadget_release(struct device *dev) [ 89s] ^ [ 89s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 89s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_pcd.o dwc_otg_pcd.c [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from dwc_os.h:220, [ 89s] from usb.h:44, [ 89s] from dwc_otg_pcd.h:37, [ 89s] from dwc_otg_pcd.c:51: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 89s] rm -f libvideo.o; ar rcs libvideo.o [ 89s] dwc_otg_pcd.c: In function 'start_xfer_tasklet_func': [ 89s] dwc_otg_pcd.c:1064:17: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 89s] depctl_data_t diepctl; [ 89s] ^ [ 89s] dwc_otg_pcd.c:1051:16: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 89s] depctl_data_t diepctl; [ 89s] ^ [ 89s] dwc_otg_pcd.c: In function 'dwc_otg_pcd_ep_queue': [ 89s] dwc_otg_pcd.c:1534:6: warning: unused variable 'prevented' [-Wunused-variable] [ 89s] int prevented = 0; [ 89s] ^ [ 89s] dwc_otg_pcd.c: At top level: [ 89s] dwc_otg_pcd.c:77:13: warning: 'dump_log' defined but not used [-Wunused-function] [ 89s] static void dump_log(unsigned char * buf, int len, int direction) [ 89s] ^ [ 89s] dwc_otg_pcd.c:996:13: warning: 'srp_timeout' defined but not used [-Wunused-function] [ 89s] static void srp_timeout(void *ptr) [ 89s] ^ [ 89s] dwc_otg_pcd.c:1045:13: warning: 'start_xfer_tasklet_func' defined but not used [-Wunused-function] [ 89s] static void start_xfer_tasklet_func(void *data) [ 89s] ^ [ 89s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 89s] make -C drivers/video/sprdfb/dsi_1_21a/ [ 89s] ld -r -o libusb_gadget.o epautoconf.o config.o usbstring.o serial.o [ 89s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_pcd_intr.o dwc_otg_pcd_intr.c [ 89s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from dwc_os.h:220, [ 89s] from usb.h:44, [ 89s] from dwc_otg_pcd.h:37, [ 89s] from dwc_otg_pcd_intr.c:34: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] make -C drivers/video/sprdfb/lcd/ [ 89s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_np_tx_fifo_empty_intr': [ 89s] dwc_otg_pcd_intr.c:456:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 89s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 89s] ^ [ 89s] dwc_otg_pcd_intr.c: In function 'write_empty_tx_fifo': [ 89s] dwc_otg_pcd_intr.c:520:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 89s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 89s] ^ [ 89s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_in_ep_intr': [ 89s] dwc_otg_pcd_intr.c:3290:13: warning: variable 'empty_msk' set but not used [-Wunused-but-set-variable] [ 89s] uint32_t empty_msk; [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_common_linux.o dwc_common_linux.c [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from dwc_common_linux.c:4: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 89s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 89s] make -C drivers/video/sprdfb/ [ 89s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o mipi_dsih_api.o mipi_dsih_api.c -c [ 89s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from mipi_dsih_local.h:44, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 89s] from ../sprdfb_chip_common.h:18, [ 89s] from mipi_dsih_local.h:45, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 89s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 89s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 89s] from ../sprdfb_chip_common.h:19, [ 89s] from mipi_dsih_local.h:45, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 89s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 89s] ^ [ 89s] In file included from mipi_dsih_local.h:44:0, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 89s] #define MAX(x, y) max(x, y) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 89s] from ../sprdfb_chip_common.h:19, [ 89s] from mipi_dsih_local.h:45, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 89s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 89s] ^ [ 89s] In file included from mipi_dsih_local.h:44:0, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 89s] #define MIN(x, y) min(x, y) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 89s] from ../sprdfb_chip_8830.h:18, [ 89s] from ../sprdfb_chip_common.h:30, [ 89s] from mipi_dsih_local.h:45, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 89s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 89s] ^ [ 89s] In file included from ../sprdfb_chip_common.h:19:0, [ 89s] from mipi_dsih_local.h:45, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 89s] #define SPRD_PWM_BASE 0x88000000 [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 89s] from ../sprdfb_chip_8830.h:18, [ 89s] from ../sprdfb_chip_common.h:30, [ 89s] from mipi_dsih_local.h:45, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 89s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 89s] from ../sprdfb_chip_common.h:18, [ 89s] from mipi_dsih_local.h:45, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 89s] #define ADC_BASE 0x40038300 //Aux ADC [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 89s] from ../sprdfb_chip_8830.h:18, [ 89s] from ../sprdfb_chip_common.h:30, [ 89s] from mipi_dsih_local.h:45, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 89s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 89s] from ../sprdfb_chip_8830.h:18, [ 89s] from ../sprdfb_chip_common.h:30, [ 89s] from mipi_dsih_local.h:45, [ 89s] from mipi_dsih_api.h:40, [ 89s] from mipi_dsih_api.c:9: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 89s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 89s] ^ [ 89s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 89s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o lcd_s6e8aa5x01_mipi.o lcd_s6e8aa5x01_mipi.c -c [ 89s] ld -r -o libdwc_otg.o dwc_otg_driver.o dwc_otg_cil.o dwc_otg_cil_intr.o dwc_otg_pcd_linux.o dwc_otg_pcd.o dwc_otg_pcd_intr.o dwc_common_linux.o [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20, [ 89s] from lcd_s6e8aa5x01_mipi.c:16: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:23:0, [ 89s] from lcd_s6e8aa5x01_mipi.c:16: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 89s] #define MIN(x, y) min(x, y) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 89s] from lcd_s6e8aa5x01_mipi.c:16: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: note: this is the location of the previous definition [ 89s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:23:0, [ 89s] from lcd_s6e8aa5x01_mipi.c:16: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 89s] #define MAX(x, y) max(x, y) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 89s] from lcd_s6e8aa5x01_mipi.c:16: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: note: this is the location of the previous definition [ 89s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 89s] ^ [ 89s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 89s] make -C drivers/watchdog/ [ 89s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_readid': [ 89s] lcd_s6e8aa5x01_mipi.c:134:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 89s] int32_t read_rtn = 0; [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_mtp': [ 89s] lcd_s6e8aa5x01_mipi.c:296:2: warning: implicit declaration of function 'save_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 89s] save_mtp_offset_to_kernel(mtp_offset); [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c:261:19: warning: unused variable 'mipi_dcs_write' [-Wunused-variable] [ 89s] mipi_dcs_write_t mipi_dcs_write = [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c:256:10: warning: unused variable 'size' [-Wunused-variable] [ 89s] int32_t size = 0; [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c:254:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 89s] int32_t read_rtn = 0; [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c:251:17: warning: unused variable 'g_para' [-Wunused-variable] [ 89s] LCM_Init_Code *g_para = NULL; [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_elvss': [ 89s] lcd_s6e8aa5x01_mipi.c:347:2: warning: implicit declaration of function 'save_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 89s] save_elvss_offset_to_kernel(elvss_offset); [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c:309:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 89s] int32_t size = 0; [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c:304:17: warning: unused variable 'hbm' [-Wunused-variable] [ 89s] LCM_Init_Code *hbm = NULL; [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_hbm': [ 89s] lcd_s6e8aa5x01_mipi.c:398:2: warning: implicit declaration of function 'save_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 89s] save_hbm_offset_to_kernel(hbm_g); [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c:360:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 89s] int32_t size = 0; [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c:355:17: warning: unused variable 'hbm' [-Wunused-variable] [ 89s] LCM_Init_Code *hbm = NULL; [ 89s] ^ [ 89s] lcd_s6e8aa5x01_mipi.c: At top level: [ 89s] lcd_s6e8aa5x01_mipi.c:72:22: warning: 'disp_on' defined but not used [-Wunused-variable] [ 89s] static LCM_Init_Code disp_on = {LCM_SEND(1), {0x29}}; [ 89s] ^ [ 89s] ld -r -o liblcd.o lcd_s6e8aa5x01_mipi.o [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o mipi_dsih_hal.o mipi_dsih_hal.c -c [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 90s] make -C fs/cramfs/ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from mipi_dsih_local.h:44, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from ../sprdfb_chip_common.h:19:0, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 90s] rm -f libwatchdog.o; ar rcs libwatchdog.o [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o mipi_dsih_dphy.o mipi_dsih_dphy.c -c [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 90s] make -C fs/ext2/ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from mipi_dsih_local.h:44, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 90s] rm -f libcramfs.o; ar rcs libcramfs.o [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from ../sprdfb_chip_common.h:19:0, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o sprdfb_main.o sprdfb_main.c -c [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 90s] make -C fs/ext4/ [ 90s] mipi_dsih_dphy.c: In function 'mipi_dsih_dphy_calibration': [ 90s] mipi_dsih_dphy.c:98:28: warning: 'sv_data[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 90s] sv_data[1] =(sv_data[1]&0x1c) >>2; [ 90s] ^ [ 90s] mipi_dsih_dphy.c:97:28: warning: 'sv_data[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 90s] sv_data[0] =(sv_data[0]&0x1c) >>2; [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from sprdfb_main.c:15: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] ld -r -o libsprdfb_dsi.o mipi_dsih_api.o mipi_dsih_hal.o mipi_dsih_dphy.o [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_main.c:19: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_main.c:15:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_main.c:19: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_main.c:15:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 90s] from sprdfb_main.c:28: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 90s] #define KPD_NUM (0x31 << 16) [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 90s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 90s] from sprdfb_main.c:28: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: warning: "GREG_BASE" redefined [ 90s] #define GREG_BASE CTL_BASE_GLB_REG [ 90s] ^ [ 90s] In file included from sprdfb_main.c:27:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: note: this is the location of the previous definition [ 90s] #define GREG_BASE 0x4B000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_main.c:29: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from sprdfb_main.c:19:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_main.c:29: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 90s] from sprdfb_main.c:28: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from sprdfb_main.c:29: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from sprdfb_main.c:29: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] sprdfb_main.c: In function 'set_backlight': [ 90s] sprdfb_main.c:268:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_request(NULL, BACKLIGHT_GPIO); [ 90s] ^ [ 90s] sprdfb_main.c:269:3: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_direction_output(NULL, BACKLIGHT_GPIO, 0); [ 90s] ^ [ 90s] sprdfb_main.c:282:3: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_set(NULL, BACKLIGHT_GPIO, 0); [ 90s] ^ [ 90s] sprdfb_main.c: In function 'save_mtp_offset_to_kernel': [ 90s] sprdfb_main.c:411:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 90s] hex_encoder((unsigned char *)mtp, mtp_offset, (MTP_LEN + 6)); [ 90s] ^ [ 90s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 90s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 90s] ^ [ 90s] sprdfb_main.c: In function 'save_hbm_offset_to_kernel': [ 90s] sprdfb_main.c:432:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 90s] hex_encoder((unsigned char *)hbm, hbm_g, 15); [ 90s] ^ [ 90s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 90s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 90s] ^ [ 90s] sprdfb_main.c: At top level: [ 90s] sprdfb_main.c:67:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 90s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 90s] ^ [ 90s] sprdfb_main.c:108:15: warning: 'get_adie_chipid' defined but not used [-Wunused-function] [ 90s] static uint32 get_adie_chipid(void) [ 90s] ^ [ 90s] sprdfb_main.c: In function 'byte2hex': [ 90s] sprdfb_main.c:395:1: warning: control reaches end of non-void function [-Wreturn-type] [ 90s] } [ 90s] ^ [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o sprdfb_panel.o sprdfb_panel.c -c [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 90s] make -C fs/fat/ [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from sprdfb_panel.c:6: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_panel.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_panel.c:6:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_panel.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_panel.c:6:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_panel.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] sprdfb_panel.c: In function 'panel_reset_dispc': [ 90s] sprdfb_panel.c:438:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_request(NULL, 103); [ 90s] ^ [ 90s] sprdfb_panel.c:439:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_direction_output(NULL, 103, 0); [ 90s] ^ [ 90s] sprdfb_panel.c:440:2: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_set(NULL, 103, 1); [ 90s] ^ [ 90s] sprdfb_panel.c: In function 'adapt_panel_from_readid': [ 90s] sprdfb_panel.c:573:4: warning: implicit declaration of function 'save_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 90s] save_lcd_id_to_kernel(id); [ 90s] ^ [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o sprdfb_dispc.o sprdfb_dispc.c -c [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from sprdfb_dispc.c:15: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] In file included from sprdfb_dispc.c:17:0: [ 90s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list [ 90s] int32_t (*panel_if_check)(struct panel_spec *self); [ 90s] ^ [ 90s] sprdfb.h:45:35: warning: its scope is only this definition or declaration, which is probably not what you want [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_chip_common.h:18, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_chip_common.h:19, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_dispc.c:15:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_chip_common.h:19, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_dispc.c:15:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from sprdfb_chip_common.h:19:0, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_chip_common.h:18, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 90s] rm -f libext2fs.o; ar rcs libext2fs.o [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o sprdfb_mcu.o sprdfb_mcu.c -c [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 90s] make -C fs/fdos/ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from sprdfb_mcu.c:6: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_mcu.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_mcu.c:6:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_mcu.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_mcu.c:6:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_mcu.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o fat_write.o fat_write.c -c [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o sprdfb_rgb.o sprdfb_rgb.c -c [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from fat_write.c:25: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from sprdfb_rgb.c:4: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o ext4fs.o ext4fs.c -c [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_rgb.c:6: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_rgb.c:4:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_rgb.c:6: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_rgb.c:4:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_rgb.c:7: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_rgb.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from sprdfb_rgb.c:6:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] fat_write.c: In function 'delete_long_file_name': [ 90s] fat_write.c:482:15: warning: unused variable 'cur_position' [-Wunused-variable] [ 90s] int idx = 0, cur_position = 0; [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_rgb.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_rgb.c:7: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] fat_write.c:482:6: warning: unused variable 'idx' [-Wunused-variable] [ 90s] int idx = 0, cur_position = 0; [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_rgb.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_rgb.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] fat_write.c: In function 'delete_directory_entry': [ 90s] fat_write.c:1207:7: warning: unused variable 'mark_cnt' [-Wunused-variable] [ 90s] int mark_cnt; [ 90s] ^ [ 90s] fat_write.c: In function 'do_fat_rm': [ 90s] fat_write.c:1386:6: warning: unused variable 'i' [-Wunused-variable] [ 90s] int i; [ 90s] ^ [ 90s] sprdfb_rgb.c: In function 'rgb_readid': [ 90s] sprdfb_rgb.c:28:85: warning: passing argument 4 of 'rgb->bus_info.i2c->ops->i2c_read_16bits' from incompatible pointer type [ 90s] rgb->bus_info.i2c->ops->i2c_read_16bits(rgb->bus_info.i2c->i2c_addr , 0x0, FALSE, &id, FALSE); [ 90s] ^ [ 90s] sprdfb_rgb.c:28:85: note: expected 'uint16_t *' but argument is of type 'uint32_t *' [ 90s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from ext4fs.c:36: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_mipi.o sprdfb_mipi.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_mipi.c:4: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o ext4_common.o ext4_common.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_mipi.c:6: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_mipi.c:4:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_mipi.c:6: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_mipi.c:4:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_mipi.c:7: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 91s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 91s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 91s] ^ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_i2c.o sprdfb_i2c.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from ext4_common.c:34: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 91s] rm -f libfdos.o; ar rcs libfdos.o [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_i2c.c:5: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_spi.o sprdfb_spi.c -c [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_i2c.c:7: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_i2c.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_i2c.c:7: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_i2c.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] sprdfb_i2c.c: In function 'sprdfb_i2c_read_8bits': [ 91s] sprdfb_i2c.c:79:27: warning: passing argument 2 of 'I2C_ReadCmd' makes pointer from integer without a cast [ 91s] ret = I2C_ReadCmd(addr, *val, TRUE); [ 91s] ^ [ 91s] In file included from sprdfb_i2c.c:8:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_i2c.h:100:18: note: expected 'uint8 *' but argument is of type 'uint8_t' [ 91s] PUBLIC ERR_I2C_E I2C_ReadCmd(uint8 addr,uint8 *pCmd,BOOLEAN ack_en); [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_spi.c:5: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] In file included from sprdfb_spi.c:6:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_spi.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from sprdfb_spi.c:6:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_spi.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from sprdfb_spi.c:8:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_spi.h:217:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 91s] PUBLIC void SPI_WaitTxFinish(); [ 91s] ^ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_dsi.o sprdfb_dsi.c -c [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o dev.o dev.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_dsi.c:5: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from dev.c:39: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] In file included from sprdfb_dsi.c:10:0: [ 91s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list [ 91s] int32_t (*panel_if_check)(struct panel_spec *self); [ 91s] ^ [ 91s] sprdfb.h:45:35: warning: its scope is only this definition or declaration, which is probably not what you want [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 91s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 91s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_dsi.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_dsi.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 91s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:19:0, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 91s] #define SPRD_PWM_BASE 0x88000000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 91s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 91s] #define ADC_BASE 0x40038300 //Aux ADC [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 91s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 91s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 91s] ^ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o ext4_write.o ext4_write.c -c [ 91s] sprdfb_dsi.c: In function 'sprdfb_dsi_set_lp_mode': [ 91s] sprdfb_dsi.c:374:11: warning: unused variable 'reg_val' [-Wunused-variable] [ 91s] uint32_t reg_val; [ 91s] ^ [ 91s] sprdfb_dsi.c: At top level: [ 91s] sprdfb_dsi.c:448:1: warning: data definition has no type or storage class [ 91s] EXPORT_SYMBOL(backlight_control); [ 91s] ^ [ 91s] sprdfb_dsi.c:448:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] [ 91s] sprdfb_dsi.c:448:1: warning: parameter names (without types) in function declaration [ 91s] sprdfb_dsi.c:38:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 91s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 91s] ^ [ 91s] ld -r -o libfat.o fat_write.o [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from ext4_write.c:37: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 91s] make -C fs/jffs2/ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_chip_common.o sprdfb_chip_common.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_chip_common.h:17, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 91s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 91s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:17:0, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o ext4_journal.o ext4_journal.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:17:0, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 91s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:19:0, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 91s] #define SPRD_PWM_BASE 0x88000000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 91s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 91s] #define ADC_BASE 0x40038300 //Aux ADC [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 91s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 91s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 91s] ^ [ 91s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_chip_8830.o sprdfb_chip_8830.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from ext4_journal.c:32: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_chip_common.h:17, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make -C fs/reiserfs/ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 91s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 91s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:17:0, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:17:0, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 91s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:19:0, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 91s] #define SPRD_PWM_BASE 0x88000000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 91s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 91s] #define ADC_BASE 0x40038300 //Aux ADC [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 91s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 91s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 91s] ^ [ 91s] sprdfb_chip_8830.c: In function 'dsi_enable': [ 91s] sprdfb_chip_8830.c:25:2: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 91s] __raw_bits_and(~BIT_DSI_PHY_PD, REG_AON_APB_PWR_CTRL); [ 91s] ^ [ 91s] ld -r -o libsprdfb.o sprdfb_main.o sprdfb_panel.o sprdfb_dispc.o sprdfb_mcu.o sprdfb_rgb.o sprdfb_mipi.o sprdfb_i2c.o sprdfb_spi.o sprdfb_dsi.o sprdfb_chip_common.o sprdfb_chip_8830.o [ 91s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 91s] rm -f libjffs2.o; ar rcs libjffs2.o [ 91s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o crc16.o crc16.c -c [ 91s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 91s] make -C fs/ubifs/ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o ext4_rw.o ext4_rw.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from crc16.c:8: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make -C fs/yaffs2/ [ 91s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from ext4_rw.c:2: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] ld -r -o libext4fs.o ext4fs.o ext4_common.o dev.o ext4_write.o ext4_journal.o crc16.o ext4_rw.o [ 91s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 91s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 91s] make -C lib/libfdt/ [ 91s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 91s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 92s] rm -f libreiserfs.o; ar rcs libreiserfs.o [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 92s] make -C lib/ [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 92s] rm -f libubifs.o; ar rcs libubifs.o [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 92s] rm -f libyaffs2.o; ar rcs libyaffs2.o [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 92s] make -C lib/lzma/ [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 92s] make -C lib/lzo/ [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt.o fdt.c -c [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 92s] rm -f liblzma.o; ar rcs liblzma.o [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt_ro.o fdt_ro.c -c [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 92s] rm -f liblzo.o; ar rcs liblzo.o [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 92s] make -C nand_fdl/common/src/ [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt_rw.o fdt_rw.c -c [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt_strerror.o fdt_strerror.c -c [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt_sw.o fdt_sw.c -c [ 92s] make -C net/ [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt_wip.o fdt_wip.c -c [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 92s] ld -r -o libfdt.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o crc16.o crc16.c -c [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 92s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 92s] make -C post/ [ 92s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o dl_engine.o dl_engine.c -c [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o crc32.o crc32.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 93s] from dl_engine.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] dl_engine.c:19:1: warning: missing braces around initializer [-Wmissing-braces] [ 93s] CMDPROC_TAB g_proctab[BSL_CMD_TYPE_MAX - BSL_CMD_TYPE_MIN] = {0, 0}; [ 93s] ^ [ 93s] dl_engine.c:19:1: warning: (near initialization for 'g_proctab[0]') [-Wmissing-braces] [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o fdl_crc.o fdl_crc.c -c [ 93s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 93s] rm -f libnet.o; ar rcs libnet.o [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from crc32.c:12: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 93s] from fdl_crc.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o crc32b.o crc32b.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o packet.o packet.c -c [ 93s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 93s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 93s] make -C property/ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 93s] from packet.c:2: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 93s] from packet.c:7: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 93s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 93s] ^ [ 93s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 93s] from packet.c:7: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 93s] #define KPD_NUM (0x31 << 16) [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 93s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 93s] from packet.c:7: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 93s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 93s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 93s] ^ [ 93s] packet.c: In function 'FDL_PacketDoIdle': [ 93s] packet.c:97:5: warning: implicit declaration of function 'FDL_GetBootMode' [-Wimplicit-function-declaration] [ 93s] uint32 boot_mode = FDL_GetBootMode(); [ 93s] ^ [ 93s] packet.c:143:13: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 93s] sio_trace ("data_size error : datasize = %d MAX_PKT_SIZE = %d\n", packet_ptr->data_size, MAX_PKT_SIZE); [ 93s] ^ [ 93s] packet.c:183:41: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [ 93s] crc = crc_16_l_calc((unsigned short *)&packet_ptr->packet_body, packet_ptr->data_size); [ 93s] ^ [ 93s] In file included from packet.c:6:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_crc.h:23:14: note: expected 'char *' but argument is of type 'short unsigned int *' [ 93s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 93s] ^ [ 93s] packet.c: In function 'FDL_DataProcess': [ 93s] packet.c:277:27: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [ 93s] crc = crc_16_l_calc ( (const unsigned short *) (& (packet_ptr_src->packet_body)), size + PACKET_HEADER_SIZE); [ 93s] ^ [ 93s] In file included from packet.c:6:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_crc.h:23:14: note: expected 'char *' but argument is of type 'const short unsigned int *' [ 93s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o ctype.o ctype.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o fdl_channel.o fdl_channel.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o display_options.o display_options.c -c [ 93s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 93s] rm -f libpost.o; ar rcs libpost.o [ 93s] In file included from fdl_channel.c:1:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 93s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 93s] from fdl_channel.c:2: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 93s] from fdl_channel.c:3: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 93s] #define KPD_NUM (0x31 << 16) [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 93s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 93s] from fdl_channel.c:3: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 93s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 93s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 93s] ^ [ 93s] fdl_channel.c:19:35: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 93s] PUBLIC struct FDL_ChannelHandler *FDL_ChannelGet() [ 93s] ^ [ 93s] fdl_channel.c: In function 'FDL_ChannelGet': [ 93s] fdl_channel.c:22:10: warning: unused variable 'ch' [-Wunused-variable] [ 93s] char ch; [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o fdl_stdio.o fdl_stdio.c -c [ 93s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from display_options.c:24: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o div64.o div64.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 93s] from fdl_stdio.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] fdl_stdio.c: In function 'FDL_memcpy': [ 93s] fdl_stdio.c:8:18: warning: unused variable 'value' [-Wunused-variable] [ 93s] unsigned int value; [ 93s] ^ [ 93s] fdl_stdio.c:7:28: warning: unused variable 'i' [-Wunused-variable] [ 93s] unsigned int word_num, i; [ 93s] ^ [ 93s] fdl_stdio.c:7:18: warning: unused variable 'word_num' [-Wunused-variable] [ 93s] unsigned int word_num, i; [ 93s] ^ [ 93s] fdl_stdio.c:6:19: warning: unused variable 'tmp_dst' [-Wunused-variable] [ 93s] unsigned int *tmp_dst = (unsigned int *) dst; [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o usb_boot.o usb_boot.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o errno.o errno.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o drv_usb.o drv_usb.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb_boot.h:19, [ 93s] from usb_boot.c:17: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 93s] from usb_boot.c:18: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 93s] #define KPD_NUM (0x31 << 16) [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 93s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 93s] from usb_boot.c:18: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 93s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 93s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 93s] ^ [ 93s] In file included from usb_boot.c:21:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 93s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 93s] ^ [ 93s] usb_boot.c: In function 'usb_init': [ 93s] usb_boot.c:97:5: warning: implicit declaration of function 'usb_core_init' [-Wimplicit-function-declaration] [ 93s] usb_core_init(); [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o gunzip.o gunzip.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o virtual_com.o virtual_com.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23, [ 93s] from drv_usb.c:12: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 93s] from drv_usb.c:12: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 93s] #define KPD_NUM (0x31 << 16) [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 93s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 93s] from drv_usb.c:12: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 93s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 93s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 93s] ^ [ 93s] drv_usb.c: In function 'usb_get_descriptor': [ 93s] drv_usb.c:211:13: warning: implicit declaration of function 'UCOM_Get_DevDesc' [-Wimplicit-function-declaration] [ 93s] send_data = (uint8 *) UCOM_Get_DevDesc();//lint !e718 [ 93s] ^ [ 93s] drv_usb.c:218:13: warning: implicit declaration of function 'UCOM_Get_CfgDesc' [-Wimplicit-function-declaration] [ 93s] send_data = (uint8 *) UCOM_Get_CfgDesc();//lint !e718 [ 93s] ^ [ 93s] drv_usb.c: In function 'VCOM_Read': [ 93s] drv_usb.c:703:33: warning: initialization discards 'const' qualifier from pointer target type [ 93s] unsigned char *src, *dest = buf; [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from gunzip.c:24: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from virtual_com.c:17: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 93s] from virtual_com.c:18: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 93s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 93s] ^ [ 93s] In file included from virtual_com.c:17:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 93s] #define MAX(x, y) max(x, y) [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 93s] from virtual_com.c:18: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 93s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 93s] ^ [ 93s] In file included from virtual_com.c:17:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 93s] #define MIN(x, y) min(x, y) [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 93s] from virtual_com.c:18: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 93s] #define KPD_NUM (0x31 << 16) [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 93s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 93s] from virtual_com.c:18: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 93s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 93s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 93s] ^ [ 93s] virtual_com.c:55:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 93s] uint8 *UCOM_Get_DevDesc() [ 93s] ^ [ 93s] virtual_com.c:66:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 93s] uint8 *UCOM_Get_CfgDesc() [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o hashtable.o hashtable.c -c [ 93s] ld -r -o libfdlcommon.o dl_engine.o fdl_crc.o packet.o fdl_channel.o fdl_stdio.o usb_boot.o drv_usb.o virtual_com.o [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o lmb.o lmb.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from hashtable.c:44: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o ldiv.o ldiv.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from lmb.c:13: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o net_utils.o net_utils.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o qsort.o qsort.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from net_utils.c:29: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o string.o string.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o strmhz.o strmhz.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o time.o time.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from strmhz.c:23: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o vsprintf.o vsprintf.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from time.c:24: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o zlib.o zlib.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 94s] from vsprintf.c:17: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o rbtree.o rbtree.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 94s] from zlib.c:29: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 94s] from rbtree.c:23: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 94s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o alarm_mode.o alarm_mode.c -c [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o android_boot.o android_boot.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from alarm_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from alarm_mode.c:13: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from alarm_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from alarm_mode.c:13: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from alarm_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] alarm_mode.c: In function 'alarm_file_check': [ 94s] alarm_mode.c:27:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 94s] if(!do_fs_file_read(PROD_PART, "/alarm_flag", time_buf,200)){ [ 94s] ^ [ 94s] alarm_mode.c: In function 'alarm_flag_check': [ 94s] alarm_mode.c:114:2: warning: implicit declaration of function 'get_alarm_lead_set' [-Wimplicit-function-declaration] [ 94s] time_lead = get_alarm_lead_set(); [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o autodloader_mode.o autodloader_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 94s] from android_boot.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] android_boot.c: In function 'creat_atags': [ 94s] android_boot.c:8:11: warning: unused variable 'pcount' [-Wunused-variable] [ 94s] unsigned pcount; [ 94s] ^ [ 94s] ld -r -o libgeneric.o crc16.o crc32.o crc32b.o ctype.o display_options.o div64.o errno.o gunzip.o hashtable.o lmb.o ldiv.o net_utils.o qsort.o string.o strmhz.o time.o vsprintf.o zlib.o rbtree.o [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o backupnvitem.o backupnvitem.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from autodloader_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 94s] from autodloader_mode.c:8: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from autodloader_mode.c:5:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 94s] from autodloader_mode.c:8: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from autodloader_mode.c:5:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from autodloader_mode.c:10:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 94s] from autodloader_mode.c:12: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 94s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 94s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 94s] from autodloader_mode.c:15: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 94s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 94s] from autodloader_mode.c:12: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 94s] #define ADC_BASE 0x40038300 //Aux ADC [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 94s] from autodloader_mode.c:15: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 94s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 94s] from autodloader_mode.c:15: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 94s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 94s] ^ [ 94s] autodloader_mode.c: In function 'autodloader_mode': [ 94s] autodloader_mode.c:208:6: warning: unused variable 'i' [-Wunused-variable] [ 94s] int i = 0; [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o boot_mode_regist.o boot_mode_regist.c -c [ 94s] backupnvitem.c: In function 'XCheckNVStructEx': [ 94s] backupnvitem.c:416:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 94s] printf("%s %d\n", __FUNCTION__, __LINE__); [ 94s] ^ [ 94s] backupnvitem.c: In function 'XPreserveNVItem': [ 94s] backupnvitem.c:906:3: warning: missing braces around initializer [-Wmissing-braces] [ 94s] BT_CONFIG para = {0}; [ 94s] ^ [ 94s] backupnvitem.c:906:3: warning: (near initialization for 'para.bt_addr') [-Wmissing-braces] [ 94s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o calibration_detect.o calibration_detect.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3, [ 94s] from boot_mode_regist.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o charge_mode.o charge_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from calibration_detect.h:3, [ 94s] from calibration_detect.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from calibration_detect.h:15, [ 94s] from calibration_detect.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from calibration_detect.h:4:0, [ 94s] from calibration_detect.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from calibration_detect.h:15, [ 94s] from calibration_detect.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from calibration_detect.h:4:0, [ 94s] from calibration_detect.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] calibration_detect.c:47:8: warning: type defaults to 'int' in declaration of 'caliberate_device' [-Wimplicit-int] [ 94s] static caliberate_device = CALIBERATE_DEVICE_NULL; [ 94s] ^ [ 94s] calibration_detect.c: In function 'pctool_mode_detect_uart': [ 94s] calibration_detect.c:141:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=] [ 94s] printf("uart calibrate configuration start_time=%d\n", start_time); [ 94s] ^ [ 94s] calibration_detect.c:164:9: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 94s] calibration_cmd_buf=malloc(1024); [ 94s] ^ [ 94s] calibration_detect.c:164:28: warning: assignment makes pointer from integer without a cast [ 94s] calibration_cmd_buf=malloc(1024); [ 94s] ^ [ 94s] calibration_detect.c:133:9: warning: unused variable 'off' [-Wunused-variable] [ 94s] loff_t off = 0; [ 94s] ^ [ 94s] calibration_detect.c:126:6: warning: unused variable 'ret' [-Wunused-variable] [ 94s] int ret; [ 94s] ^ [ 94s] calibration_detect.c: In function 'cali_usb_debug': [ 94s] calibration_detect.c:286:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 94s] { int ret; [ 94s] ^ [ 94s] calibration_detect.c: At top level: [ 94s] calibration_detect.c:320:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] int cali_usb_prepare() [ 94s] ^ [ 94s] calibration_detect.c: In function 'cali_usb_prepare': [ 94s] calibration_detect.c:322:6: warning: unused variable 'ret' [-Wunused-variable] [ 94s] int ret = 0; [ 94s] ^ [ 94s] calibration_detect.c: At top level: [ 94s] calibration_detect.c:336:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] int cali_usb_enum() [ 94s] ^ [ 94s] calibration_detect.c: In function 'prepare_reply_buf': [ 94s] calibration_detect.c:477:34: warning: pointer targets in passing argument 1 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 94s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 94s] ^ [ 94s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 94s] int translate_packet(char *dest,char *src,int size) [ 94s] ^ [ 94s] calibration_detect.c:477:65: warning: pointer targets in passing argument 2 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 94s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 94s] ^ [ 94s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 94s] int translate_packet(char *dest,char *src,int size) [ 94s] ^ [ 94s] calibration_detect.c:478:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 94s] free(rsp_ptr); [ 94s] ^ [ 94s] calibration_detect.c:452:9: warning: unused variable 'ret' [-Wunused-variable] [ 94s] int ret = 0; [ 94s] ^ [ 94s] calibration_detect.c: In function 'pctool_mode_detect': [ 94s] calibration_detect.c:489:9: warning: implicit declaration of function 'get_mode_from_gpio' [-Wimplicit-function-declaration] [ 94s] if(get_mode_from_gpio()) [ 94s] ^ [ 94s] calibration_detect.c:567:21: warning: assignment makes pointer from integer without a cast [ 94s] calibration_cmd_buf=malloc(1024); [ 94s] ^ [ 94s] calibration_detect.c:487:9: warning: unused variable 'off' [-Wunused-variable] [ 94s] loff_t off = 0; [ 94s] ^ [ 94s] calibration_detect.c:486:15: warning: unused variable 'caliberate_mode' [-Wunused-variable] [ 94s] unsigned int caliberate_mode; [ 94s] ^ [ 94s] calibration_detect.c: In function 'cali_file_check': [ 94s] calibration_detect.c:602:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 94s] if(do_fs_file_read("prodnv", "/adc.bin", (char *)nv_buffer,sizeof(nv_buffer))) [ 94s] ^ [ 94s] calibration_detect.c: At top level: [ 94s] calibration_detect.c:255:12: warning: 'recheck_power_button' defined but not used [-Wunused-function] [ 94s] static int recheck_power_button(void) [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o cmd_cboot.o cmd_cboot.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from charge_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from charge_mode.c:13: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from charge_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from charge_mode.c:13: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from charge_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o dev_tree.o dev_tree.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from cmd_cboot.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from cmd_cboot.c:7: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from cmd_cboot.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from cmd_cboot.c:7: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from cmd_cboot.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 94s] from cmd_cboot.c:9: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 94s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 94s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 94s] from cmd_cboot.c:9: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 94s] struct gpio_chip *chip); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: its scope is only this definition or declaration, which is probably not what you want [ 94s] cmd_cboot.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] extern int get_mode_from_gpio(); [ 94s] ^ [ 94s] cmd_cboot.c: In function 'get_mode_from_pctool': [ 94s] cmd_cboot.c:60:3: warning: implicit declaration of function 'pctool_mode_detect' [-Wimplicit-function-declaration] [ 94s] ret = pctool_mode_detect(); [ 94s] ^ [ 94s] cmd_cboot.c: In function 'get_mode_from_keypad': [ 94s] cmd_cboot.c:184:5: warning: implicit declaration of function 'get_pwr_key_cnt' [-Wimplicit-function-declaration] [ 94s] if(boot_pwr_check() >= get_pwr_key_cnt()){ [ 94s] ^ [ 94s] cmd_cboot.c:189:4: warning: implicit declaration of function 'tizen_check_keypad' [-Wimplicit-function-declaration] [ 94s] key_code = tizen_check_keypad(); [ 94s] ^ [ 94s] cmd_cboot.c: In function 'do_cboot': [ 94s] cmd_cboot.c:290:3: warning: implicit declaration of function 'draw_image' [-Wimplicit-function-declaration] [ 94s] draw_image(1); [ 94s] ^ [ 94s] cmd_cboot.c:305:2: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 94s] lcd_display(); [ 94s] ^ [ 94s] cmd_cboot.c:306:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 94s] MMU_DisableIDCM(); [ 94s] ^ [ 94s] cmd_cboot.c:309:5: warning: implicit declaration of function 'cmd_mode_regist' [-Wimplicit-function-declaration] [ 94s] cmd_mode_regist(boot_mode_array); [ 94s] ^ [ 94s] cmd_cboot.c:315:9: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 94s] power_down_devices(); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 94s] from cmd_cboot.c:9: [ 94s] cmd_cboot.c: At top level: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:31:13: warning: 'gpio_is_valid' defined but not used [-Wunused-function] [ 94s] static bool gpio_is_valid(int number) [ 94s] ^ [ 94s] cmd_cboot.c: In function 'get_mode_from_alarm_register': [ 94s] cmd_cboot.c:166:1: warning: control reaches end of non-void function [-Wreturn-type] [ 94s] } [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o engtest_mode.o engtest_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from dev_tree.c:30: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] dev_tree.c: In function 'dev_tree_get_entry_ptr': [ 94s] dev_tree.c:126:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 94s] debugf("magic=%x,ver=%d,num=%d\n",table->magic,table->version,table->num_entries); [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o factorytest_mode.o factorytest_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from engtest_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from engtest_mode.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from engtest_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from engtest_mode.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from engtest_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o fs_common_rw.o fs_common_rw.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from factorytest_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from factorytest_mode.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from factorytest_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from factorytest_mode.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from factorytest_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o modem_entry.o modem_entry.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 95s] from fs_common_rw.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 95s] from fs_common_rw.c:11: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from fs_common_rw.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 95s] from fs_common_rw.c:11: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from fs_common_rw.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from fs_common_rw.c:11:0: [ 95s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] PUBLIC void Emmc_DisSdClk(); [ 95s] ^ [ 95s] fs_common_rw.c: In function 'do_fs_file_read': [ 95s] fs_common_rw.c:21:2: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 95s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 95s] ^ [ 95s] fs_common_rw.c:21:7: warning: assignment makes pointer from integer without a cast [ 95s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 95s] ^ [ 95s] fs_common_rw.c:27:2: warning: implicit declaration of function 'ext4_read_content' [-Wimplicit-function-declaration] [ 95s] ret = ext4_read_content(mmc_dev, [ 95s] ^ [ 95s] fs_common_rw.c:33:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 95s] free(part); [ 95s] ^ [ 95s] fs_common_rw.c: In function 'do_raw_data_read': [ 95s] fs_common_rw.c:81:12: warning: assignment makes pointer from integer without a cast [ 95s] partition = malloc(sizeof(wchar_t)*(strlen(part)+1)); [ 95s] ^ [ 95s] fs_common_rw.c:97:10: warning: assignment makes pointer from integer without a cast [ 95s] sctbuf = malloc(EMMC_SECTOR_SIZE); [ 95s] ^ [ 95s] fs_common_rw.c:110:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 95s] ^ [ 95s] In file included from fs_common_rw.c:11:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] fs_common_rw.c:118:47: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] if(!Emmc_Read(PARTITION_USER, cursct, nsct, bufwp)) [ 95s] ^ [ 95s] In file included from fs_common_rw.c:11:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] fs_common_rw.c:125:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 95s] ^ [ 95s] In file included from fs_common_rw.c:11:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] fs_common_rw.c: In function 'do_raw_data_write': [ 95s] fs_common_rw.c:253:1: warning: label 'end' defined but not used [-Wunused-label] [ 95s] end: [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o normal_emc_mode.o normal_emc_mode.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 95s] from modem_entry.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 95s] from modem_entry.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 95s] from modem_entry.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 95s] from modem_entry.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 95s] from modem_entry.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 95s] from modem_entry.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 95s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 95s] #define VLR_INFO_OFF (512) [ 95s] ^ [ 95s] In file included from modem_entry.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 95s] ^ [ 95s] In file included from modem_entry.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] int read_spldata(); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void vlx_entry(); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 95s] from modem_entry.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 95s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 95s] from modem_entry.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 95s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 95s] ^ [ 95s] modem_entry.c:38:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void modem_entry() [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o normal_mode.o normal_mode.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from normal_emc_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 95s] from normal_emc_mode.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 95s] from normal_emc_mode.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 95s] from normal_emc_mode.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 95s] from normal_emc_mode.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 95s] from normal_emc_mode.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 95s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 95s] #define VLR_INFO_OFF (512) [ 95s] ^ [ 95s] In file included from normal_emc_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 95s] ^ [ 95s] In file included from normal_emc_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] int read_spldata(); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void vlx_entry(); [ 95s] ^ [ 95s] In file included from normal_emc_mode.c:5:0: [ 95s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] PUBLIC void Emmc_DisSdClk(); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 95s] from normal_emc_mode.c:13: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 95s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 95s] from normal_emc_mode.c:13: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 95s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 95s] ^ [ 95s] normal_emc_mode.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [ 95s] s_boot_image_COMMON_table, [ 95s] ^ [ 95s] normal_emc_mode.c: In function 'read_logoimg': [ 95s] normal_emc_mode.c:163:78: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] if (TRUE != Emmc_Read(PARTITION_USER, info.start, size / EMMC_SECTOR_SIZE, bmp_img)) { [ 95s] ^ [ 95s] In file included from normal_emc_mode.c:5:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] normal_emc_mode.c: At top level: [ 95s] normal_emc_mode.c:171:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] int read_spldata() [ 95s] ^ [ 95s] normal_emc_mode.c: In function 'w2c': [ 95s] normal_emc_mode.c:227:15: warning: comparison between pointer and integer [ 95s] while ((NULL != wchar[i]) && (i < 72)) { [ 95s] ^ [ 95s] normal_emc_mode.c: In function '_boot_partition_read': [ 95s] normal_emc_mode.c:300:79: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] if (TRUE == Emmc_Read(PARTITION_USER, info.start + offsetsector + nsct, 1, sctbuf)) { [ 95s] ^ [ 95s] In file included from normal_emc_mode.c:5:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] normal_emc_mode.c: In function 'blk_data_read': [ 95s] normal_emc_mode.c:338:56: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] if (!Emmc_Read(PARTITION_USER, start_sec + nsct, 1, sctbuf)) { [ 95s] ^ [ 95s] In file included from normal_emc_mode.c:5:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] normal_emc_mode.c: In function '_boot_read_partition_with_backup': [ 95s] normal_emc_mode.c:421:11: warning: assignment from incompatible pointer type [ 95s] header_p = header; [ 95s] ^ [ 95s] normal_emc_mode.c:437:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 95s] debugf("_boot_read_partition_with_backup origin checksum 0x%x\n", checksum); [ 95s] ^ [ 95s] normal_emc_mode.c:438:3: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 95s] if (_chkNVEcc(oribuf + EMMC_SECTOR_SIZE, info.size, checksum)) { [ 95s] ^ [ 95s] normal_emc_mode.c:439:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(info.mem_addr, oribuf + EMMC_SECTOR_SIZE, info.size); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from normal_emc_mode.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'long unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] normal_emc_mode.c:447:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 95s] debugf("_boot_read_partition_with_backup backup checksum 0x%x\n", checksum); [ 95s] ^ [ 95s] normal_emc_mode.c:455:13: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 95s] memset(info.mem_addr, 0, info.size); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from normal_emc_mode.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'long unsigned int' [ 95s] void* memset(void*, int, size_t); [ 95s] ^ [ 95s] normal_emc_mode.c:465:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(info.mem_addr, bakbuf + EMMC_SECTOR_SIZE, info.size); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from normal_emc_mode.c:2: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'long unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] normal_emc_mode.c: In function '_boot_load_required_image': [ 95s] normal_emc_mode.c:490:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 95s] debugf("%s: load %s to addr 0x%08x\n", __FUNCTION__, w2c(img_info.partition), img_info.mem_addr); [ 95s] ^ [ 95s] normal_emc_mode.c:488:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 95s] uint32 secure_boot_offset = 0; [ 95s] ^ [ 95s] normal_emc_mode.c: In function '_boot_load_kernel_ramdisk_image': [ 95s] normal_emc_mode.c:527:13: warning: assignment from incompatible pointer type [ 95s] partition = BOOT_PART; [ 95s] ^ [ 95s] normal_emc_mode.c:528:3: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'wchar_t *' [-Wformat=] [ 95s] debugf("Enter boot mode (partition name: %s)\n", partition); [ 95s] ^ [ 95s] normal_emc_mode.c:531:46: warning: passing argument 3 of 'blk_data_read' from incompatible pointer type [ 95s] if (!blk_data_read(0x2C00000, sizeof(*hdr), hdr)) { [ 95s] ^ [ 95s] normal_emc_mode.c:315:12: note: expected 'u8 *' but argument is of type 'struct boot_img_hdr *' [ 95s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 95s] ^ [ 95s] normal_emc_mode.c:548:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 95s] debugf("bzImage size: %x\n", size); [ 95s] ^ [ 95s] In file included from normal_emc_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:52:25: warning: passing argument 3 of 'blk_data_read' makes pointer from integer without a cast [ 95s] #define KERNEL_ADR 0x80008000 [ 95s] ^ [ 95s] normal_emc_mode.c:550:38: note: in expansion of macro 'KERNEL_ADR' [ 95s] if (!blk_data_read(0x2C00000, size, KERNEL_ADR - roundup(sizeof(*hdr), ALIGN_SIZE))) { [ 95s] ^ [ 95s] normal_emc_mode.c:315:12: note: expected 'u8 *' but argument is of type 'unsigned int' [ 95s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 95s] ^ [ 95s] normal_emc_mode.c:557:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 95s] debugf("dt_img_adr: %u\n", dt_img_adr); [ 95s] ^ [ 95s] normal_emc_mode.c:558:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 95s] debugf("dt_img_adr: %x\n", dt_img_adr); [ 95s] ^ [ 95s] normal_emc_mode.c:521:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 95s] uint32 secure_boot_offset = 0; [ 95s] ^ [ 95s] normal_emc_mode.c:519:15: warning: unused variable 'offset' [-Wunused-variable] [ 95s] uint32 size, offset; [ 95s] ^ [ 95s] normal_emc_mode.c: In function 'vlx_nand_boot': [ 95s] normal_emc_mode.c:636:2: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 95s] performance_debug("8:"); [ 95s] ^ [ 95s] normal_emc_mode.c:636:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 95s] normal_emc_mode.c:650:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 95s] performance_debug("9:"); [ 95s] ^ [ 95s] normal_emc_mode.c:661:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 95s] sipc_addr_reset(); [ 95s] ^ [ 95s] normal_emc_mode.c:604:11: warning: unused variable 'partition' [-Wunused-variable] [ 95s] wchar_t *partition = NULL; [ 95s] ^ [ 95s] normal_emc_mode.c: At top level: [ 95s] normal_emc_mode.c:236:12: warning: '_boot_secure_check' defined but not used [-Wunused-function] [ 95s] LOCAL void _boot_secure_check(void) [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o reboot_mode.o reboot_mode.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 95s] from normal_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 95s] from normal_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 95s] from normal_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 95s] from normal_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 95s] from normal_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 95s] from normal_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 95s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 95s] #define VLR_INFO_OFF (512) [ 95s] ^ [ 95s] In file included from normal_mode.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 95s] ^ [ 95s] In file included from normal_mode.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] int read_spldata(); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void vlx_entry(); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 95s] from normal_mode.c:5: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 95s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 95s] from normal_mode.c:5: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 95s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 95s] ^ [ 95s] normal_mode.c:25:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] unsigned spl_data_buf[0x2000] __attribute__ ((align(4))) = { [ 95s] ^ [ 95s] normal_mode.c:28:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] unsigned harsh_data_buf[8] __attribute__ ((align(4))) = { [ 95s] ^ [ 95s] normal_mode.c: In function '_chkNVEcc': [ 95s] normal_mode.c:110:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 95s] debugf("_chkNVEcc calcout 0x%lx, org 0x%llx\n", crc, checksum); [ 95s] ^ [ 95s] normal_mode.c:110:2: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] [ 95s] normal_mode.c: In function 'fdt_fixup_for_tizen': [ 95s] normal_mode.c:173:2: warning: zero-length gnu_printf format string [-Wformat-zero-length] [ 95s] ptr += sprintf(ptr, CMDLINE_DEFAULT_TIZEN); [ 95s] ^ [ 95s] normal_mode.c:178:2: warning: implicit declaration of function 'load_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 95s] ptr += sprintf(ptr, " lcd_id=ID%06x", load_lcd_id_to_kernel()); [ 95s] ^ [ 95s] normal_mode.c:184:2: warning: implicit declaration of function 'load_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 95s] ptr += sprintf(ptr, " mtp_offset=%s", load_mtp_offset_to_kernel()); [ 95s] ^ [ 95s] normal_mode.c:184:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 95s] normal_mode.c:185:2: warning: implicit declaration of function 'load_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 95s] ptr += sprintf(ptr, " elvss_offset=0x%x", load_elvss_offset_to_kernel()); [ 95s] ^ [ 95s] normal_mode.c:186:2: warning: implicit declaration of function 'load_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 95s] ptr += sprintf(ptr, " hbm_offset=%s", load_hbm_offset_to_kernel()); [ 95s] ^ [ 95s] normal_mode.c:186:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 95s] normal_mode.c:196:3: warning: implicit declaration of function 'sprdchg_start_charge' [-Wimplicit-function-declaration] [ 95s] sprdchg_start_charge(); [ 95s] ^ [ 95s] normal_mode.c:202:2: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 95s] thor_save_env("normal"); [ 95s] ^ [ 95s] normal_mode.c:245:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 95s] if (s = getenv("sec_log_addr")) { [ 95s] ^ [ 95s] normal_mode.c:261:2: warning: implicit declaration of function 'get_dram_cs_number' [-Wimplicit-function-declaration] [ 95s] ptr += sprintf(ptr, " mem_cs=%d, mem_cs0_sz=%08x",get_dram_cs_number(), get_dram_cs0_size()); [ 95s] ^ [ 95s] normal_mode.c:261:2: warning: implicit declaration of function 'get_dram_cs0_size' [-Wimplicit-function-declaration] [ 95s] normal_mode.c:270:2: warning: implicit declaration of function 'tizen_get_emmc_serial_number' [-Wimplicit-function-declaration] [ 95s] tizen_get_emmc_serial_number((unsigned int *)uid); [ 95s] ^ [ 95s] normal_mode.c:275:2: warning: implicit declaration of function 'is_calibration_by_uart' [-Wimplicit-function-declaration] [ 95s] if (is_calibration_by_uart()) [ 95s] ^ [ 95s] normal_mode.c:281:2: warning: implicit declaration of function 'get_fgu_vol' [-Wimplicit-function-declaration] [ 95s] ptr += sprintf(ptr, " fgu_init=%d,%d", get_fgu_vol(), get_fgu_cur()); [ 95s] ^ [ 95s] normal_mode.c:281:2: warning: implicit declaration of function 'get_fgu_cur' [-Wimplicit-function-declaration] [ 95s] normal_mode.c:170:14: warning: unused variable 'mmc' [-Wunused-variable] [ 95s] struct mmc *mmc; [ 95s] ^ [ 95s] normal_mode.c: At top level: [ 95s] normal_mode.c:295:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] static int start_linux() [ 95s] ^ [ 95s] normal_mode.c: In function 'start_linux': [ 95s] normal_mode.c:303:22: warning: initialization from incompatible pointer type [ 95s] boot_img_hdr *hdr = raw_header; [ 95s] ^ [ 95s] normal_mode.c:328:2: warning: implicit declaration of function 'load_nvitem' [-Wimplicit-function-declaration] [ 95s] load_nvitem(); [ 95s] ^ [ 95s] normal_mode.c:329:2: warning: implicit declaration of function 'load_modem_data' [-Wimplicit-function-declaration] [ 95s] load_modem_data(); [ 95s] ^ [ 95s] normal_mode.c:330:2: warning: implicit declaration of function 'load_dsp_data' [-Wimplicit-function-declaration] [ 95s] load_dsp_data(); [ 95s] ^ [ 95s] normal_mode.c:332:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 95s] sipc_addr_reset(); [ 95s] ^ [ 95s] normal_mode.c:333:2: warning: implicit declaration of function 'modem_entry' [-Wimplicit-function-declaration] [ 95s] modem_entry(); [ 95s] ^ [ 95s] normal_mode.c:337:2: warning: implicit declaration of function 'Emmc_DisSdClk' [-Wimplicit-function-declaration] [ 95s] Emmc_DisSdClk(); [ 95s] ^ [ 95s] normal_mode.c:350:2: warning: implicit declaration of function 'fdt_[ 85.172009] serial8250: too much work for irq4 [ 95s] fixup_adc_calibration_data' [-Wimplicit-function-declaration] [ 95s] fdt_fixup_adc_calibration_data(fdt_blob); [ 95s] ^ [ 95s] normal_mode.c:361:2: warning: implicit declaration of function 'fdt_fixup_boot_ram_log' [-Wimplicit-function-declaration] [ 95s] fdt_fixup_boot_ram_log(fdt_blob); [ 95s] ^ [ 95s] normal_mode.c:362:2: warning: implicit declaration of function 'fdt_fixup_chosen_bootargs_board_private' [-Wimplicit-function-declaration] [ 95s] fdt_fixup_chosen_bootargs_board_private(fdt_blob, boot_cmd); [ 95s] ^ [ 95s] normal_mode.c:303:16: warning: unused variable 'hdr' [-Wunused-variable] [ 95s] boot_img_hdr *hdr = raw_header; [ 95s] ^ [ 95s] normal_mode.c:299:6: warning: unused variable 'parm_at' [-Wunused-variable] [ 95s] u32 parm_at = (u32) - 1; [ 95s] ^ [ 95s] normal_mode.c:298:6: warning: unused variable 'exec_at' [-Wunused-variable] [ 95s] u32 exec_at = (u32) - 1; [ 95s] ^ [ 95s] normal_mode.c: In function 'lcd_display_logo': [ 95s] normal_mode.c:387:0: warning: "mdelay" redefined [ 95s] #define mdelay(t) ({unsigned long msec=(t); while (msec--) { udelay(1000);}}) //LiWei add [ 95s] ^ [ 95s] In file included from normal_mode.c:2:0: [ 95s] calibration_detect.h:51:0: note: this is the location of the previous definition [ 95s] #define mdelay(_ms) udelay(_ms*1000) [ 95s] ^ [ 95s] normal_mode.c:406:10: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 95s] memset((unsigned int)lcd_base, 0, size); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from normal_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memset(void*, int, size_t); [ 95s] ^ [ 95s] normal_mode.c: At top level: [ 95s] normal_mode.c:415:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] int is_factorymode() [ 95s] ^ [ 95s] normal_mode.c: In function 'is_factorymode': [ 95s] normal_mode.c:420:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 95s] if (do_fs_file_read(FACTORY_PART, "/factorymode.file", factorymode_falg, 8)) [ 95s] ^ [ 95s] normal_mode.c: In function 'get_product_sn': [ 95s] normal_mode.c:438:2: warning: implicit declaration of function 'do_raw_data_read' [-Wimplicit-function-declaration] [ 95s] if (do_raw_data_read(PRODUCTINFO_FILE_PATITION, sizeof(phase_check), 0, (char *)&phase_check)) { [ 95s] ^ [ 95s] normal_mode.c: In function 'cmdline_set_cp_cmdline': [ 95s] normal_mode.c:638:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'char *' [-Wformat=] [ 95s] debugf("nv_info:[%08x]%s \n", nv_info, nv_info); [ 95s] ^ [ 95s] normal_mode.c: In function 'creat_cmdline': [ 95s] normal_mode.c:658:6: warning: unused variable 'ret' [-Wunused-variable] [ 95s] int ret = 0; [ 95s] ^ [ 95s] normal_mode.c: At top level: [ 95s] normal_mode.c:740:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void vlx_entry() [ 95s] ^ [ 95s] normal_mode.c: In function 'vlx_entry': [ 95s] normal_mode.c:745:3: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 95s] power_down_devices(); [ 95s] ^ [ 95s] normal_mode.c:753:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 95s] MMU_DisableIDCM(); [ 95s] ^ [ 95s] normal_mode.c: At top level: [ 95s] normal_mode.c:868:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void sipc_addr_reset() [ 95s] ^ [ 95s] normal_mode.c:868:6: warning: conflicting types for 'sipc_addr_reset' [ 95s] normal_mode.c:332:2: note: previous implicit declaration of 'sipc_addr_reset' was here [ 95s] sipc_addr_reset(); [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o recv_emc_mode.o recv_emc_mode.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from reboot_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 95s] from reboot_mode.c:6: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from reboot_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 95s] from reboot_mode.c:6: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from reboot_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from reboot_mode.c:9:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/boot_drvapi.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] PUBLIC void BOOT_ResetHWFlag (); [ 95s] ^ [ 95s] reboot_mode.c: In function 'ResetMCU': [ 95s] reboot_mode.c:15:5: warning: implicit declaration of function 'CHIP_PHY_ResetHWFlag' [-Wimplicit-function-declaration] [ 95s] CHIP_PHY_ResetHWFlag(0x1FFF); [ 95s] ^ [ 95s] reboot_mode.c:16:5: warning: implicit declaration of function 'CHIP_PHY_SetWDGHWFlag' [-Wimplicit-function-declaration] [ 95s] CHIP_PHY_SetWDGHWFlag(TYPE_RESET, AUTO_TEST_MODE); [ 95s] ^ [ 95s] reboot_mode.c:18:5: warning: implicit declaration of function 'CHIP_ResetMCU' [-Wimplicit-function-declaration] [ 95s] CHIP_ResetMCU(); [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o recv_mode.o recv_mode.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 95s] from recv_emc_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 95s] from recv_emc_mode.c:3: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from recv_emc_mode.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 95s] from recv_emc_mode.c:3: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from recv_emc_mode.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from recv_emc_mode.c:3:0: [ 95s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] PUBLIC void Emmc_DisSdClk(); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 95s] from recv_emc_mode.c:5: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 95s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 95s] #define VLR_INFO_OFF (512) [ 95s] ^ [ 95s] In file included from recv_emc_mode.c:5:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 95s] ^ [ 95s] In file included from recv_emc_mode.c:5:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] int read_spldata(); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void vlx_entry(); [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o thor_mode.o thor_mode.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from recv_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from recv_mode.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from recv_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from recv_mode.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from recv_mode.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] recv_mode.c: In function 'get_mode_from_file': [ 95s] recv_mode.c:123:2: warning: implicit declaration of function 'reboot_devices' [-Wimplicit-function-declaration] [ 95s] reboot_devices(0); [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o tizen_misc.o tizen_misc.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3, [ 95s] from thor_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from thor_mode.c:3:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from thor_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: note: this is the location of the previous definition [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from thor_mode.c:3:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from thor_mode.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: note: this is the location of the previous definition [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from thor_mode.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] PUBLIC void Emmc_DisSdClk(); [ 95s] ^ [ 95s] thor_mode.c: In function 'send_rsp': [ 95s] thor_mode.c:48:2: warning: implicit declaration of function 'USB_WriteEx' [-Wimplicit-function-declaration] [ 95s] USB_WriteEx(thor_tx_data_buf, sizeof(struct rsp_box)); [ 95s] ^ [ 95s] thor_mode.c: In function 'download_file_start': [ 95s] thor_mode.c:84:3: warning: implicit declaration of function 'USB_ReadEx' [-Wimplicit-function-declaration] [ 95s] ret = USB_ReadEx((char *) dn_addr, THOR_PACKET_SIZE); [ 95s] ^ [ 95s] thor_mode.c:99:3: warning: implicit declaration of function 'draw_progress' [-Wimplicit-function-declaration] [ 95s] draw_progress(per); [ 95s] ^ [ 95s] thor_mode.c:121:74: warning: passing argument 4 of 'Emmc_Write' makes pointer from integer without a cast [ 95s] ret = Emmc_Write(PARTITION_USER, part_info.offset + write_ofs, count, download_addr); [ 95s] ^ [ 95s] In file included from thor_mode.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'u32' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] thor_mode.c:75:6: warning: unused variable 'count' [-Wunused-variable] [ 95s] int count = 0; [ 95s] ^ [ 95s] thor_mode.c: In function 'process_rqt_download': [ 95s] thor_mode.c:174:3: warning: implicit declaration of function 'thor_get_part_info' [-Wimplicit-function-declaration] [ 95s] ret = thor_get_part_info(&part_info, f_name); [ 95s] ^ [ 95s] thor_mode.c:139:29: warning: unused variable 'ret_head' [-Wunused-variable] [ 95s] static long long int left, ret_head; [ 95s] ^ [ 95s] thor_mode.c:139:23: warning: unused variable 'left' [-Wunused-variable] [ 95s] static long long int left, ret_head; [ 95s] ^ [ 95s] thor_mode.c: In function 'process_rqt_cmd': [ 95s] thor_mode.c:248:3: warning: implicit declaration of function 'udc_power_off' [-Wimplicit-function-declaration] [ 95s] udc_power_off(); [ 95s] ^ [ 95s] thor_mode.c:249:3: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 95s] thor_save_env("thor"); [ 95s] ^ [ 95s] thor_mode.c: In function 'thor_handle': [ 95s] thor_mode.c:299:3: warning: implicit declaration of function 'thor_usb_is_connected' [-Wimplicit-function-declaration] [ 95s] if (thor_usb_is_connected()) { [ 95s] ^ [ 95s] thor_mode.c:301:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 95s] if (!strncmp(thor_rx_data_buf, "THOR", strlen("THOR"))) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 95s] from thor_mode.c:3: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:39:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 95s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 95s] ^ [ 95s] thor_mode.c: In function 'thor_mode': [ 95s] thor_mode.c:332:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 95s] MMU_DisableIDCM(); [ 95s] ^ [ 95s] thor_mode.c:333:2: warning: implicit declaration of function 'thor_USB_Init' [-Wimplicit-function-declaration] [ 95s] thor_USB_Init(); [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o usb/cdc_descriptor.o usb/cdc_descriptor.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 95s] from tizen_misc.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from tizen_misc.c:4: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from tizen_misc.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from tizen_misc.c:4: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from tizen_misc.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 95s] from tizen_misc.c:6: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 95s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 95s] from tizen_misc.c:6: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 95s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] PUBLIC void Emmc_DisSdClk(); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 95s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 95s] #define VLR_INFO_OFF (512) [ 95s] ^ [ 95s] In file included from tizen_misc.c:12:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 95s] ^ [ 95s] In file included from tizen_misc.c:12:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] int read_spldata(); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void vlx_entry(); [ 95s] ^ [ 95s] tizen_misc.c: In function 'convert_to_string': [ 95s] tizen_misc.c:18:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 95s] while (*buf++ = (char)*crap++); [ 95s] ^ [ 95s] tizen_misc.c: In function 'thor_save_env': [ 95s] tizen_misc.c:62:55: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Write(PARTITION_USER, part_info.start, 1, str); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c: In function 'thor_get_env': [ 95s] tizen_misc.c:82:54: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, 1, str); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:86:2: warning: function returns address of local variable [-Wreturn-local-addr] [ 95s] return str; [ 95s] ^ [ 95s] tizen_misc.c: In function 'check_pm_status': [ 95s] tizen_misc.c:103:2: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 95s] if (charger_connected()) { [ 95s] ^ [ 95s] tizen_misc.c: In function 'thor_get_part_info': [ 95s] tizen_misc.c:178:33: warning: passing argument 1 of 'strtok' discards 'const' qualifier from pointer target type [ 95s] const char *file_name = strtok(name, "."); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 95s] from tizen_misc.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:13:15: note: expected 'char *' but argument is of type 'const char *' [ 95s] extern char * strtok(char *,const char *); [ 95s] ^ [ 95s] tizen_misc.c: In function 'tizen_get_emmc_serial_number': [ 95s] tizen_misc.c:189:2: warning: implicit declaration of function 'get_global_cid' [-Wimplicit-function-declaration] [ 95s] unsigned char *regCID = get_global_cid(); [ 95s] ^ [ 95s] tizen_misc.c:189:26: warning: initialization makes pointer from integer without a cast [ 95s] unsigned char *regCID = get_global_cid(); [ 95s] ^ [ 95s] tizen_misc.c: In function 'tizen_board_key_scan': [ 95s] tizen_misc.c:212:2: warning: implicit declaration of function 'get_volumn_down_status2' [-Wimplicit-function-declaration] [ 95s] if(get_volumn_down_status2()) [ 95s] ^ [ 95s] tizen_misc.c:206:15: warning: unused variable 'key_code' [-Wunused-variable] [ 95s] unsigned int key_code = 0; [ 95s] ^ [ 95s] tizen_misc.c: At top level: [ 95s] tizen_misc.c:257:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void (*update)(); [ 95s] ^ [ 95s] tizen_misc.c: In function 'runtimenv_read_with_backup': [ 95s] tizen_misc.c:337:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, oribuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:346:2: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 95s] if (_chkNVEcc(oribuf + SECTOR_SIZE, RUNTIMENV_SIZE, checksum)) { [ 95s] ^ [ 95s] tizen_misc.c:347:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(runtimenv_adr,oribuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:356:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, bakbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:367:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(runtimenv_adr,bakbuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:380:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:384:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(runtimenv_adr, bakbuf + SECTOR_SIZE, RUNTIMENV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:390:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 95s] tizen_misc.c:435:93: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, tm[ 85.532008] serial8250: too much work for irq4 [ 95s] pbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:444:3: warning: implicit declaration of function 'calc_checksum' [-Wimplicit-function-declaration] [ 95s] tmp_header_p->checksum = (unsigned long)calc_checksum(tmpbuf, FIXNV_SIZE); [ 95s] ^ [ 95s] tizen_misc.c:452:50: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, 1, tmp_header); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:453:77: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, tmpbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:478:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong' [-Wformat=] [ 95s] printf("loading fixnv1 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 95s] ^ [ 95s] tizen_misc.c:481:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, oribuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:491:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, oribuf + SECTOR_SIZE, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:504:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong' [-Wformat=] [ 95s] printf("loading fixnv2 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 95s] ^ [ 95s] tizen_misc.c:506:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, bakbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:572:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:573:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:581:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:582:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:584:11: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 95s] memset(fixnv_adr, 0xff, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memset(void*, int, size_t); [ 95s] ^ [ 95s] tizen_misc.c:585:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:596:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:597:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:606:12: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, bakbuf + SECTOR_SIZE,FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsign[ 85.568008] serial8250: too much work for irq4 [ 95s] ed int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:619:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:624:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, bakbuf+SECTOR_SIZE, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:630:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 95s] from tizen_misc.c:1: [ 95s] tizen_misc.c: In function 'load_modem_data': [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:83:24: warning: initialization makes pointer from integer without a cast [ 95s] #define WMODEM_ADR 0x88300000 [ 95s] ^ [ 95s] tizen_misc.c:666:23: note: in expansion of macro 'WMODEM_ADR' [ 95s] unsigned char *buf = WMODEM_ADR; [ 95s] ^ [ 95s] tizen_misc.c:671:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 95s] printf("load modem to addr 0x%08x\n", buf); [ 95s] ^ [ 95s] tizen_misc.c:693:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 95s] from tizen_misc.c:1: [ 95s] tizen_misc.c: In function 'load_dsp_data': [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:80:24: warning: initialization makes pointer from integer without a cast [ 95s] #define WDSP_ADR 0x88020000 [ 95s] ^ [ 95s] tizen_misc.c:712:23: note: in expansion of macro 'WDSP_ADR' [ 95s] unsigned char *buf = WDSP_ADR; [ 95s] ^ [ 95s] tizen_misc.c:717:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 95s] printf("load dsp to addr 0x%08x\n", buf); [ 95s] ^ [ 95s] tizen_misc.c:739:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c: In function 'load_binary_to_addr': [ 95s] tizen_misc.c:771:66: warning: passing argument 4 of 'Emmc_Read' makes pointer from integer without a cast [ 95s] ret = Emmc_Read(PARTITION_USER, info.offset, size / info.blksz, addr); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'unsigned int' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c: In function 'check_board_signature': [ 95s] tizen_misc.c:790:40: warning: passing argument 2 of 'load_binary_to_addr' makes integer from pointer without a cast [ 95s] ret = load_binary_to_addr(PARTS_BOOT, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 95s] ^ [ 95s] tizen_misc.c:762:12: note: expected 'unsigned int' but argument is of type 'char *' [ 95s] static int load_binary_to_addr(char *name, unsigned int addr, unsigned int size) [ 95s] ^ [ 95s] tizen_misc.c:794:40: warning: passing argument 2 of 'get_image_signature' makes integer from pointer without a cast [ 95s] ret = get_image_signature(&bh_target, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 95s] ^ [ 95s] tizen_misc.c:750:5: note: expected 'unsigned int' but argument is of type 'char *' [ 95s] int get_image_signature(struct sig_header *hdr, unsigned int base_addr, [ 95s] ^ [ 95s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 95s] tizen_misc.c:550:3: warning: 'nv_backup_status' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 95s] printf("nv_backup_status = %d \n", nv_backup_status); [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o usb/drv_cdc.o usb/drv_cdc.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 95s] from usb/cdc_descriptor.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] usb/cdc_descriptor.c: In function 'thor_get_config_desc': [ 95s] usb/cdc_descriptor.c:265:2: warning: implicit declaration of function 'usb_gadget_config_buf' [-Wimplicit-function-declaration] [ 95s] usb_gadget_config_buf(&thor_config_desc, &function_desc_buf, 256, thor_function_high); [ 95s] ^ [ 95s] usb/cdc_descriptor.c: In function 'str2wide': [ 95s] usb/cdc_descriptor.c:278:2: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] [ 95s] for (i = 0; i < strlen (str) && str[i]; i++){ [ 95s] ^ [ 95s] usb/cdc_descriptor.c: At top level: [ 95s] usb/cdc_descriptor.c:236:13: warning: 'thor_device_qualifer_desc_buf' defined but not used [-Wunused-variable] [ 95s] static char thor_device_qualifer_desc_buf[sizeof(struct usb_qualifier_descriptor)] __align(32); [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o usb/usb_hw.o usb/usb_hw.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from usb/drv_cdc.c:11: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 95s] from usb/drv_cdc.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from usb/drv_cdc.c:12:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 95s] from usb/drv_cdc.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from usb/drv_cdc.c:12:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 95s] from usb/drv_cdc.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 95s] #define KPD_NUM (0x31 << 16) [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 95s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 95s] from usb/drv_cdc.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 95s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 95s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'usb_get_descriptor': [ 95s] usb/drv_cdc.c:254:4: warning: implicit declaration of function 'thor_get_device_desc' [-Wimplicit-function-declaration] [ 95s] send_data = (uint8 *) thor_get_device_desc(enum_speed); [ 95s] ^ [ 95s] usb/drv_cdc.c:260:4: warning: implicit declaration of function 'thor_get_config_desc' [-Wimplicit-function-declaration] [ 95s] send_data = (uint8 *) thor_get_config_desc(enum_speed); [ 95s] ^ [ 95s] usb/drv_cdc.c:278:4: warning: implicit declaration of function 'thor_get_string_desc' [-Wimplicit-function-declaration] [ 95s] send_data = thor_get_string_desc(str_index); [ 95s] ^ [ 95s] usb/drv_cdc.c:278:14: warning: assignment makes pointer from integer without a cast [ 95s] send_data = thor_get_string_desc(str_index); [ 95s] ^ [ 95s] usb/drv_cdc.c:292:4: warning: implicit declaration of function 'thor_get_qualifer_desc' [-Wimplicit-function-declaration] [ 95s] send_data = (uint8 *) thor_get_qualifer_desc(); [ 95s] ^ [ 95s] usb/drv_cdc.c:305:4: warning: implicit declaration of function 'thor_get_other_speed_config_desc' [-Wimplicit-function-declaration] [ 95s] send_data = (uint8 *) thor_get_other_speed_config_desc(); [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'usb_set_feature': [ 95s] usb/drv_cdc.c:389:21: warning: variable 'request1' set but not used [-Wunused-but-set-variable] [ 95s] USB_REQUEST_1_U *request1; [ 95s] ^ [ 95s] usb/drv_cdc.c:387:23: warning: unused variable 'dcfg_ptr' [-Wunused-variable] [ 95s] volatile USB_DCFG_U *dcfg_ptr = (volatile USB_DCFG_U *) USB_DCFG; [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'usb_handler': [ 95s] usb/drv_cdc.c:790:15: warning: unused variable 'string' [-Wunused-variable] [ 95s] char string[64] ={0,}; [ 95s] ^ [ 95s] usb/drv_cdc.c:789:9: warning: unused variable 'i' [-Wunused-variable] [ 95s] uint32 i=0; [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'USB_ReadEx_Internal': [ 95s] usb/drv_cdc.c:837:9: warning: unused variable 'i' [-Wunused-variable] [ 95s] int i; [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'thor_USB_Init': [ 95s] usb/drv_cdc.c:1034:2: warning: implicit declaration of function 'sprd_usb_thor_start' [-Wimplicit-function-declaration] [ 95s] sprd_usb_thor_start(); [ 95s] ^ [ 95s] usb/drv_cdc.c:1024:15: warning: unused variable 'len' [-Wunused-variable] [ 95s] unsigned int len = 0; [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'USB_DeInit': [ 95s] usb/drv_cdc.c:1045:2: warning: implicit declaration of function 'usb_power_off' [-Wimplicit-function-declaration] [ 95s] usb_power_off(); [ 95s] ^ [ 95s] usb/drv_cdc.c: At top level: [ 95s] usb/drv_cdc.c:1069:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void sprd_usb_thor_start() [ 95s] ^ [ 95s] usb/drv_cdc.c:1069:6: warning: conflicting types for 'sprd_usb_thor_start' [ 95s] usb/drv_cdc.c:1034:2: note: previous implicit declaration of 'sprd_usb_thor_start' was here [ 95s] sprd_usb_thor_start(); [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'sprd_usb_thor_start': [ 95s] usb/drv_cdc.c:1078:5: warning: 'return' with a value, in function returning void [ 95s] return -1; [ 95s] ^ [ 95s] usb/drv_cdc.c:1080:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 95s] if (!strncmp(sprd_thor_setup_buf, "THOR", strlen("THOR"))) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 95s] from usb/drv_cdc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:39:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 95s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 95s] ^ [ 95s] usb/drv_cdc.c:1083:17: warning: pointer targets in passing argument 1 of 'USB_WriteEx' differ in signedness [-Wpointer-sign] [ 95s] USB_WriteEx("ROHT", strlen("ROHT")); [ 95s] ^ [ 95s] usb/drv_cdc.c:906:14: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC int32 USB_WriteEx(uint8 *pBuf,uint32 len) [ 95s] ^ [ 95s] usb/drv_cdc.c:1097:2: warning: 'return' with a value, in function returning void [ 95s] return 0; [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o vbat_check.o vbat_check.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from usb/usb_hw.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 96s] In file included from usb/usb_hw.c:3:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 96s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from usb/usb_hw.c:2:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 96s] #define MAX(x, y) max(x, y) [ 96s] ^ [ 96s] In file included from usb/usb_hw.c:3:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 96s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from usb/usb_hw.c:2:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 96s] #define MIN(x, y) min(x, y) [ 96s] ^ [ 96s] usb/usb_hw.c: In function 'usb_power_on': [ 96s] usb/usb_hw.c:132:6: warning: unused variable 'ret' [-Wunused-variable] [ 96s] int ret =0; [ 96s] ^ [ 96s] usb/usb_hw.c: At top level: [ 96s] usb/usb_hw.c:54:13: warning: 'ADIConfig' defined but not used [-Wunused-function] [ 96s] static void ADIConfig(void) [ 96s] ^ [ 96s] usb/usb_hw.c:67:21: warning: 'ADIAnalogdieRegRead' defined but not used [-Wunused-function] [ 96s] static unsigned int ADIAnalogdieRegRead(unsigned long addr) [ 96s] ^ [ 96s] usb/usb_hw.c:84:21: warning: 'ADIAnalogdieRegWrite' defined but not used [-Wunused-function] [ 96s] static unsigned int ADIAnalogdieRegWrite(unsigned long addr,uint16 data) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 96s] from vbat_check.c:1: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 96s] #define CONFIG_MMC 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 96s] #define CONFIG_MMC [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 96s] #define CONFIG_EFI_PARTITION 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 96s] #define CONFIG_EFI_PARTITION [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 96s] from vbat_check.c:3: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 96s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from vbat_check.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 96s] #define MAX(x, y) max(x, y) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 96s] from vbat_check.c:3: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 96s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from vbat_check.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 96s] #define MIN(x, y) min(x, y) [ 96s] ^ [ 96s] vbat_check.c: In function 'is_bat_low': [ 96s] vbat_check.c:65:5: warning: implicit declaration of function 'sprdbat_auxadc2vbatvol' [-Wimplicit-function-declaration] [ 96s] if(sprdbat_auxadc2vbatvol (adc_value) < comp_vbat) [ 96s] ^ [ 96s] ld -r -o libproperty.o alarm_mode.o android_boot.o autodloader_mode.o backupnvitem.o boot_mode_regist.o calibration_detect.o charge_mode.o cmd_cboot.o dev_tree.o engtest_mode.o factorytest_mode.o fs_common_rw.o modem_entry.o normal_emc_mode.o normal_mode.o reboot_mode.o recv_emc_mode.o recv_mode.o thor_mode.o tizen_misc.o usb/cdc_descriptor.o usb/drv_cdc.o usb/usb_hw.o vbat_check.o [ 96s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 96s] make -C board/spreadtrum/tizen_tm1/ [ 96s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 96s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 96s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 96s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 96s] -o openphone.o openphone.c -c [ 96s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 96s] -o sprd_kp.o sprd_kp.c -c [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 96s] from openphone.c:1: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 96s] #define CONFIG_MMC 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 96s] #define CONFIG_MMC [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 96s] #define CONFIG_EFI_PARTITION 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 96s] #define CONFIG_EFI_PARTITION [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 96s] from openphone.c:3: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 96s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from openphone.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 96s] #define MAX(x, y) max(x, y) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 96s] from openphone.c:3: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 96s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from openphone.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 96s] #define MIN(x, y) min(x, y) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 96s] from openphone.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 96s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 96s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 96s] ^ [ 96s] In file included from openphone.c:5:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 96s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 96s] ^ [ 96s] In file included from openphone.c:4:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:33:0: note: this is the location of the previous definition [ 96s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 96s] ^ [ 96s] In file included from openphone.c:5:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 96s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 96s] ^ [ 96s] In file included from openphone.c:4:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:37:0: note: this is the location of the previous definition [ 96s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 96s] from openphone.c:6: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 96s] #define KPD_NUM (0x31 << 16) [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 96s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 96s] from openphone.c:12: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 96s] struct gpio_chip *chip); [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: its scope is only this definition or declaration, which is probably not what you want [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from openphone.c:14: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 96s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 96s] from openphone.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 96s] #define ADC_BASE 0x40038300 //Aux ADC [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from openphone.c:14: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 96s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from openphone.c:14: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 96s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 96s] ^ [ 96s] openphone.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 96s] int mmc_sdcard_init(); [ 96s] ^ [ 96s] openphone.c:42:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 96s] void aon_26M_timer2_enable() [ 96s] ^ [ 96s] openphone.c: In function 'get_hw_rev': [ 96s] openphone.c:58:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 96s] sprd_gpio_request(NULL, hw_rev_gpio[i]); [ 96s] ^ [ 96s] openphone.c:59:3: warning: implicit declaration of function 'sprd_gpio_direction_input' [-Wimplicit-function-declaration] [ 96s] sprd_gpio_direction_input(NULL, hw_rev_gpio[i]); [ 96s] ^ [ 96s] openphone.c:60:3: warning: implicit declaration of function 'sprd_gpio_get' [-Wimplicit-function-declaration] [ 96s] hw_revision = (hw_revision << 1) | sprd_gpio_get(NULL, hw_rev_gpio[i]); [ 96s] ^ [ 96s] openphone.c:61:3: warning: implicit declaration of function 'sprd_gpio_free' [-Wimplicit-function-declaration] [ 96s] sprd_gpio_free(NULL, hw_rev_gpio[i]); [ 96s] ^ [ 96s] openphone.c: In function 'board_init': [ 96s] openphone.c:73:2: warning: implicit declaration of function 'misc_init' [-Wimplicit-function-declaration] [ 96s] misc_init(); [ 96s] ^ [ 96s] openphone.c:76:2: warning: implicit declaration of function 'sprd_eic_init' [-Wimplicit-function-declaration] [ 96s] sprd_eic_init(); [ 96s] ^ [ 96s] openphone.c:78:2: warning: implicit declaration of function 'init_ldo_sleep_gr' [-Wimplicit-function-declaration] [ 96s] init_ldo_sleep_gr(); [ 96s] ^ [ 96s] openphone.c:85:2: warning: implicit declaration of function 'check_smpl' [-Wimplicit-function-declaration] [ 96s] check_smpl(); [ 96s] ^ [ 96s] openphone.c: At top level: [ 96s] openphone.c:91:6: warning: conflicting types for 'check_smpl' [ 96s] void check_smpl(void) [ 96s] ^ [ 96s] openphone.c:85:2: note: previous implicit declaration of 'check_smpl' was here [ 96s] check_smpl(); [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 96s] from openphone.c:12: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:31:13: warning: 'gpio_is_valid' defined but not used [-Wunused-function] [ 96s] static bool gpio_is_valid(int number) [ 96s] ^ [ 96s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 96s] -o pinmap-sp7730.o pinmap-sp7730.c -c [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 96s] from sprd_kp.c:1: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 96s] #define CONFIG_MMC 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 96s] #define CONFIG_MMC [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 96s] #define CONFIG_EFI_PARTITION 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 96s] #define CONFIG_EFI_PARTITION [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 96s] from sprd_kp.c:4: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 96s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from sprd_kp.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 96s] #define MAX(x, y) max(x, y) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 96s] from sprd_kp.c:4: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 96s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from sprd_kp.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 96s] #define MIN(x, y) min(x, y) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 96s] from sprd_kp.c:6: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 96s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 96s] from sprd_kp.c:6: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 96s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 96s] ^ [ 96s] sprd_kp.c: In function 'board_keypad_init': [ 96s] sprd_kp.c:14:18: warning: unused variable 'key_type' [-Wunused-variable] [ 96s] unsigned int key_type; [ 96s] ^ [ 96s] sprd_kp.c: In function 'board_key_scan': [ 96s] sprd_kp.c:104:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 96s] sprd_eic_request(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 96s] ^ [ 96s] sprd_kp.c:106:2: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 96s] volumeup = sprd_eic_get(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 96s] ^ [ 96s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 96s] -o ldo_sleep.o ldo_sleep.c -c [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:19, [ 96s] from pinmap-sp7730.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 96s] #define CONFIG_MMC 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 96s] #define CONFIG_MMC [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 96s] #define CONFIG_EFI_PARTITION 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 96s] #define CONFIG_EFI_PARTITION [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from pinmap-sp7730.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 96s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from pinmap-sp7730.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 96s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 96s] from ldo_sleep.c:1: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 96s] #define CONFIG_MMC 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 96s] #define CONFIG_MMC [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 96s] #define CONFIG_EFI_PARTITION 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 96s] #define CONFIG_EFI_PARTITION [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 96s] from ldo_sleep.c:4: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 96s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 96s] from ldo_sleep.c:4: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 96s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 96s] ^ [ 96s] ldo_sleep.c: In function 'init_ldo_sleep_gr': [ 96s] ldo_sleep.c:774:2: warning: implicit declaration of function 'CSP_Init' [-Wimplicit-function-declaration] [ 96s] CSP_Init(0); [ 96s] ^ [ 97s] ar crv libtizen_tm1.o openphone.o sprd_kp.o pinmap-sp7730.o ldo_sleep.o [ 97s] a - openphone.o [ 97s] a - sprd_kp.o [ 97s] a - pinmap-sp7730.o [ 97s] a - ldo_sleep.o [ 97s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 97s] UNDEF_SYM=`objdump -x board/spreadtrum/tizen_tm1/libtizen_tm1.o api/libapi.o arch/arm/cpu/armv7/libarmv7.o arch/arm/cpu/armv7/sc8830/libsc8830.o arch/arm/lib/libarm.o common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o drivers/clk/libclk.o drivers/dma/libdma.o drivers/fpga/libfpga.o drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o drivers/power/libpower.o drivers/rtc/librtc.o drivers/serial/libserial.o drivers/sound/codec/libcodec.o drivers/sound/dai/libdai.o drivers/sound/libsound.o drivers/spi/libspi.o drivers/twserial/libtws.o drivers/usb/gadget/dwc_otg/libdwc_otg.o drivers/usb/gadget/libusb_gadget.o drivers/usb/host/libusb_host.o drivers/usb/musb/libusb_musb.o drivers/usb/phy/libusb_phy.o drivers/video/libvideo.o drivers/video/sprdfb/dsi_1_21a/libsprdfb_dsi.o drivers/video/sprdfb/lcd/liblcd.o drivers/video/sprdfb/libsprdfb.o drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext2/libext2fs.o fs/ext4/libext4fs.o fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o nand_fdl/common/src/libfdlcommon.o net/libnet.o post/libpost.o property/libproperty.o | sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12 && ld -Bstatic -T u-boot.lds -Ttext 0x9f600000 $UNDEF_SYM arch/arm/cpu/armv7/start.o --start-group api/libapi.o arch/arm/cpu/armv7/libarmv7.o arch/arm/cpu/armv7/sc8830/libsc8830.o arch/arm/lib/libarm.o common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o drivers/clk/libclk.o drivers/dma/libdma.o drivers/fpga/libfpga.o drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o drivers/power/libpower.o drivers/rtc/librtc.o drivers/serial/libserial.o drivers/sound/codec/libcodec.o drivers/sound/dai/libdai.o drivers/sound/libsound.o drivers/spi/libspi.o drivers/twserial/libtws.o drivers/usb/gadget/dwc_otg/libdwc_otg.o drivers/usb/gadget/libusb_gadget.o drivers/usb/host/libusb_host.o drivers/usb/musb/libusb_musb.o drivers/usb/phy/libusb_phy.o drivers/video/libvideo.o drivers/video/sprdfb/dsi_1_21a/libsprdfb_dsi.o drivers/video/sprdfb/lcd/liblcd.o drivers/video/sprdfb/libsprdfb.o drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext2/libext2fs.o fs/ext4/libext4fs.o fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o nand_fdl/common/src/libfdlcommon.o net/libnet.o post/libpost.o property/libproperty.o board/spreadtrum/tizen_tm1/libtizen_tm1.o --end-group /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib/eabi_compat.o -L /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9 -lgcc -Map u-boot.map -o u-boot [ 97s] objcopy -O srec u-boot u-boot.srec [ 97s] objcopy --gap-fill 0xff -O binary u-boot u-boot.bin [ 97s] + chmod 755 tools/mkimage_signed.sh [ 97s] + mkimage_signed.sh u-boot.bin tizen_tm1 [ 97s] ##################################### [ 97s] Running script: tools/mkimage_signed.sh [ 97s] Config: tizen_tm1 [ 97s] Input binary: u-boot.bin [ 97s] Input bytes: 616588 (Max size: 1048064 B) [ 97s] [ 97s] Header info: [ 97s] HDR length: 512 Bytes [ 97s] SIG magic: "BoOt" [ 97s] SIG size: 0 [ 97s] SIG valid: 0 [ 97s] SIG date: "2016053022" (YYMMDDHH) [ 97s] SIG version: "none" [ 97s] SIG board: "tizen_tm1" [ 97s] [ 97s] Output signed binary: u-boot-mmc.bin [ 97s] ##################################### [ 97s] + exit 0 [ 97s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ekKu2n [ 97s] + umask 022 [ 97s] + cd /home/abuild/rpmbuild/BUILD [ 97s] + cd u-boot-sprd-2010.12 [ 97s] + LANG=C [ 97s] + export LANG [ 97s] + unset DISPLAY [ 97s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm [ 97s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm [ 97s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm [ 97s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm/var/tmp/u-boot [ 97s] + install -d /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm/var/tmp/u-boot [ 97s] + install -m 755 u-boot.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm/var/tmp/u-boot [ 97s] + install -m 755 u-boot-mmc.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm/var/tmp/u-boot [ 97s] + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12 [ 97s] + /usr/lib/rpm/check-buildroot [ 97s] + /usr/lib/rpm//brp-compress [ 97s] + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip [ 97s] + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump [ 97s] + /usr/lib/rpm/brp-python-hardlink [ 97s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm [ 97s] Processing files: u-boot-sprd-debuginfo-2010.12-2.1.armv7l [ 97s] Processing files: u-boot-sprd-debugsource-2010.12-2.1.armv7l [ 97s] Processing files: u-boot-tm1-2010.12-2.1.armv7l [ 97s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 97s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 97s] [ 97s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 97s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm [ 98s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-2.1.src.rpm [ 98s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debuginfo-2010.12-2.1.armv7l.rpm [ 98s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-2.1.armv7l.rpm [ 98s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-2.1.armv7l.rpm [ 98s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AkracM [ 98s] + umask 022 [ 98s] + cd /home/abuild/rpmbuild/BUILD [ 98s] + cd u-boot-sprd-2010.12 [ 98s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.1.arm [ 98s] + exit 0 [ 98s] ... checking for files with abuild user/group [ 98s] ... creating baselibs [ 99s] ... comparing built packages with the former built [ 99s] /usr/lib/build/rpm-check.sh [ 99s] compare /.build.oldpackages/u-boot-sprd-2010.12-1.1.src.rpm /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-2.1.src.rpm [ 99s] --- /tmp/tmp.cN9jVkgWKz 2016-05-30 22:09:17.025301240 +0000 [ 99s] +++ /tmp/tmp.5tkEQBR7x9 2016-05-30 22:09:17.041301240 +0000 [ 99s] @@ -1,7 +1,7 @@ [ 99s] u-boot-sprd 2010.12 (none) [ 99s] bootloader for Embedded boards based on ARM processor [ 99s] bootloader for Embedded boards based on ARM processor [ 99s] - tizen Tizen:2.4:Mobile / target-TM1 obs://build.tizen.org/Tizen:2.4:Mobile/target-TM1/13ff0193fe32d607986ca51e51cb60a2-u-boot-sprd GPL GPL [ 99s] + tizen Tizen:2.4:Mobile / target-TM1 obs://build.tizen.org/Tizen:2.4:Mobile/target-TM1/1d8a6b17a2852cf84f875a72d5cd2459-u-boot-sprd GPL GPL [ 99s] System Environment/Kernel http://sourceforge.net/projects/u-boot (none) (none) armv3l [ 99s] (none) 4.9.1 (none) [ 99s] cpio gzip 9 [ 99s] ... saving built statistics [ 99s] ... saving built packages [ 99s] /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debuginfo-2010.12-2.1.armv7l.rpm [ 99s] /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-2.1.armv7l.rpm [ 99s] /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-2.1.armv7l.rpm [ 99s] /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-2.1.src.rpm [ 99s] /home/abuild/rpmbuild/OTHER/_statistics [ 99s] [ 99s] w19 finished "build u-boot-tm1.spec" at Mon May 30 22:09:17 UTC 2016. [ 99s] [ 100s] /.build/build: line 368: 233 Killed background_monitor_process [ 102s] [ 92.540489] SysRq : Power Off [ 102s] [ 92.549415] Power down. [ 102s] build: extracting built packages... [ 102s] u-boot-sprd-debuginfo-2010.12-2.1.armv7l.rpm [ 102s] u-boot-sprd-debugsource-2010.12-2.1.armv7l.rpm [ 102s] u-boot-tm1-2010.12-2.1.armv7l.rpm [ 102s] u-boot-sprd-2010.12-2.1.src.rpm [ 102s] _statistics