[ 0s] Using BUILD_ROOT=/srv/build/root_3/.mount [ 0s] Using BUILD_ARCH=armv7l:armv5tel [ 0s] Doing kvm build in /srv/build/root_3/root [ 0s] [ 0s] [ 0s] w12 started "build _service:gbs:u-boot-tm1.spec" at Thu Oct 29 04:49:53 UTC 2015. [ 0s] [ 0s] Building u-boot-sprd for project 'Tizen:2.4:Mobile' repository 'target-TM1' arch 'armv7l' srcmd5 '13ff0193fe32d607986ca51e51cb60a2' [ 0s] [ 0s] processing specfile /srv/build/root_3/.build-srcdir/_service:gbs:u-boot-tm1.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_3/.build-srcdir/_service:gbs:u-boot-tm1.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/3/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_3/.build.rpmlist /srv/build/root_3/.build-srcdir/_service:gbs:u-boot-tm1.spec build rpmlint-Factory ... [ 1s] registering binfmt handlers for VM [ 1s] /.build/qemu-reg: No such file or directory [ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /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 [ 1s] [ 1s] /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... [ 3s] [3/52] preinstalling setup... [ 3s] [4/52] preinstalling filesystem... [ 7s] [5/52] preinstalling glibc... [ 7s] [6/52] preinstalling libattr... [ 7s] [7/52] preinstalling libacl... [ 8s] [8/52] preinstalling bash... [ 8s] [9/52] preinstalling bzip2-libs... [ 8s] [10/52] preinstalling diffutils... [ 8s] [11/52] preinstalling elfutils-libelf... [ 8s] [12/52] preinstalling libcap... [ 8s] [13/52] preinstalling liblua... [ 8s] [14/52] preinstalling libstdc++... [ 8s] [15/52] preinstalling ncurses-libs... [ 8s] [16/52] preinstalling nspr... [ 8s] [17/52] preinstalling nss-softokn-freebl... [ 8s] [18/52] preinstalling popt... [ 8s] [19/52] preinstalling readline... [ 8s] [20/52] preinstalling sed... [ 8s] [21/52] preinstalling sqlite... [ 8s] [22/52] preinstalling xz-libs... [ 8s] [23/52] preinstalling zlib... [ 8s] [24/52] preinstalling glibc-common... [ 8s] [25/52] preinstalling tar... [ 8s] [26/52] preinstalling coreutils... [ 8s] [27/52] preinstalling qemu-linux-user-x86-arm... [ 8s] [28/52] preinstalling tizen-accelerator... [ 8s] [29/52] preinstalling libfile... [ 8s] [30/52] preinstalling bzip2... [ 8s] [31/52] preinstalling nss... [ 8s] [32/52] preinstalling bzip2-libs-x86-arm... [ 8s] [33/52] preinstalling elfutils-libelf-x86-arm... [ 8s] [34/52] preinstalling glibc-x86-arm... [ 8s] [35/52] preinstalling libacl-x86-arm... [ 8s] [36/52] preinstalling libattr-x86-arm... [ 8s] [37/52] preinstalling libcap-x86-arm... [ 8s] [38/52] preinstalling libgcc-x86-arm... [ 8s] [39/52] preinstalling liblua-x86-arm... [ 8s] [40/52] preinstalling ncurses-libs-x86-arm... [ 9s] [41/52] preinstalling nspr-x86-arm... [ 9s] [42/52] preinstalling nss-softokn-freebl-x86-arm... [ 9s] [43/52] preinstalling nss-x86-arm... [ 9s] [44/52] preinstalling popt-x86-arm... [ 9s] [45/52] preinstalling sqlite-x86-arm... [ 9s] [46/52] preinstalling xz-libs-x86-arm... [ 9s] [47/52] preinstalling zlib-x86-arm... [ 9s] [48/52] preinstalling rpm-libs... [ 9s] [49/52] preinstalling bash-x86-arm... [ 9s] [50/52] preinstalling rpm-libs-x86-arm... [ 9s] [51/52] preinstalling rpm... [ 9s] [52/52] preinstalling rpm-x86-arm... [ 9s] [ 9s] cycle: perl -> perl-libs [ 9s] breaking dependency perl-libs -> perl [ 9s] [1/8] preinstalling e2fsprogs-libs... [ 9s] [2/8] preinstalling libpcre... [ 9s] [3/8] preinstalling libuuid... [ 9s] [4/8] preinstalling grep... [ 9s] [5/8] preinstalling libblkid... [ 9s] [6/8] preinstalling util-linux... [ 9s] [7/8] preinstalling perl-libs... [ 9s] [8/8] preinstalling perl... [ 9s] copying packages... [ 10s] reordering...cycle: bash -> glibc -> glibc-common [ 10s] breaking dependency glibc-common -> bash [ 10s] cycle: bash -> glibc -> glibc-common -> coreutils [ 10s] breaking dependency glibc-common -> coreutils [ 10s] cycle: glibc -> glibc-common -> findutils [ 10s] breaking dependency glibc-common -> findutils [ 10s] cycle: glibc -> glibc-common [ 10s] breaking dependency glibc-common -> glibc [ 10s] cycle: glibc -> glibc-common -> grep [ 10s] breaking dependency grep -> glibc [ 10s] cycle: glibc -> glibc-common -> grep -> libgcc [ 10s] breaking dependency grep -> libgcc [ 10s] cycle: glibc -> glibc-common -> grep -> libpcre [ 10s] breaking dependency libpcre -> glibc [ 10s] cycle: glibc -> glibc-common -> grep -> libpcre -> libgcc [ 10s] breaking dependency libpcre -> libgcc [ 10s] cycle: glibc -> glibc-common -> grep -> libpcre -> libstdc++ [ 10s] breaking dependency libstdc++ -> glibc [ 10s] cycle: glibc -> glibc-common -> grep -> libpcre -> libstdc++ -> libgcc [ 10s] breaking dependency glibc -> glibc-common [ 10s] cycle: glibc -> libgcc [ 10s] breaking dependency libgcc -> glibc [ 10s] cycle: filesystem -> setup [ 10s] breaking dependency setup -> filesystem [ 10s] cycle: ncurses -> ncurses-libs [ 10s] breaking dependency ncurses-libs -> ncurses [ 10s] cycle: ncurses-base -> ncurses -> ncurses-libs [ 10s] breaking dependency ncurses-libs -> ncurses-base [ 10s] cycle: perl -> perl-libs [ 10s] breaking dependency perl -> perl-libs [ 10s] cycle: perl -> perl-IO-Compress-Zlib [ 10s] breaking dependency perl -> perl-IO-Compress-Zlib [ 10s] cycle: perl -> perl-IO-Compress-Base [ 10s] breaking dependency perl -> perl-IO-Compress-Base [ 10s] cycle: perl -> perl-Module-Pluggable [ 10s] breaking dependency perl -> perl-Module-Pluggable [ 10s] cycle: perl -> perl-Pod-Simple [ 10s] breaking dependency perl -> perl-Pod-Simple [ 10s] cycle: nss -> nss-sysinit [ 10s] breaking dependency nss -> nss-sysinit [ 10s] cycle: rpm-libs -> rpm [ 10s] breaking dependency rpm-libs -> rpm [ 10s] done [ 17s] booting kvm ... [ 17s] /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 8000 -drive file=/srv/build/root_3/root,if=virtio,cache=none -drive file=/srv/build/root_3/root,if=ide,index=0,cache=none -drive file=/srv/build/root_3/swap,if=virtio,cache=none -smp 4 [ 20s] doing fast boot [ 20s] Creating device nodes with udev [ 25s] Waiting for device /dev/vda to appear: ok [ 25s] fsck from util-linux 2.21.2 [ 25s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 25s] /dev/vda: clean, 4678/2392064 files, 226577/9568256 blocks [ 25s] fsck succeeded. Mounting root device read-write. [ 25s] Mounting root /dev/vda [ 25s] mount -o rw -t ext4 /dev/vda /root [ 25s] replacing /etc/mtab with symlink to /proc/self/mounts [ 25s] /.build/qemu-reg: line 9: interpreter '/usr/bin/qemu-armeb-binfmt' not found, ignoring [ 25s] /.build/qemu-reg: line 10: interpreter '/usr/bin/qemu-ppc-binfmt' not found, ignoring [ 25s] /.build/qemu-reg: line 11: interpreter '/usr/bin/qemu-mips-binfmt' not found, ignoring [ 25s] /.build/qemu-reg: line 12: interpreter '/usr/bin/qemu-mipsel-binfmt' not found, ignoring [ 25s] /.build/qemu-reg: line 18: interpreter '/usr/bin/qemu-sh4-binfmt' not found, ignoring [ 25s] /.build/qemu-reg: line 19: interpreter '/usr/bin/qemu-sh4eb-binfmt' not found, ignoring [ 26s] 2nd stage started in virtual machine [ 26s] machine type: armv7l [ 26s] swapon on /dev/vdb [ 26s] swapon: /dev/vdb: found swap signature: version 1, page-size 4, same byte order [ 26s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 26s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 26s] logging output to //.build.log... [ 26s] processing specfile /.build-srcdir/_service:gbs:u-boot-tm1.spec ... [ 26s] 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 [ 27s] running rpm-libs-x86-arm postinstall script [ 27s] running tizen-accelerator postinstall script [ 27s] running glibc-x86-arm postinstall script [ 28s] running bash-x86-arm postinstall script [ 28s] initializing rpm db... [ 32s] [1/169] cumulate cross-armv7l-platformfile-0.0.1-1.1 [ 32s] [2/169] cumulate kernel-headers-3.4.91-1.1 [ 32s] [3/169] cumulate tizen-release-2.2.0-1.1 [ 33s] [4/169] cumulate tzdata-2014j-1.1 [ 33s] [5/169] cumulate libgcc-4.9.2-2015.02.1.11 [ 33s] [6/169] cumulate setup-0.2-1.1 [ 33s] [7/169] cumulate filesystem-0.1-1.1 [ 34s] [8/169] cumulate glibc-2.20-2014.11.1.10 [ 34s] [9/169] cumulate libstdc++-4.9.2-2015.02.1.11 [ 34s] [10/169] cumulate libatomic-4.9.2-2015.02.1.11 [ 34s] [11/169] cumulate libgomp-4.9.2-2015.02.1.11 [ 34s] [12/169] cumulate openssl-1.0.1p-1.5 [ 34s] [13/169] cumulate bash-4.1-1.6 [ 34s] [14/169] cumulate bzip2-libs-1.0.5-1.8 [ 34s] [15/169] cumulate cpio-2.8-1.6 [ 36s] [16/169] cumulate db4-4.8.30-1.8 [ 36s] [17/169] cumulate diffutils-3.0-1.6 [ 36s] [18/169] cumulate e2fsprogs-libs-1.41.9-1.4 [ 36s] [19/169] cumulate elfutils-libelf-0.152-1.12 [ 37s] [20/169] cumulate expat-2.0.1-1.8 [ 37s] [21/169] cumulate fdupes-1.40-1.5 [ 37s] [22/169] cumulate findutils-4.2.31-1.5 [ 37s] [23/169] cumulate gdbm-1.8.3-1.12 [ 38s] [24/169] cumulate libattr-2.4.44-1.8 [ 38s] [25/169] cumulate libitm-4.9.2-2015.02.1.11 [ 39s] [26/169] cumulate liblua-5.1.4-1.6 [ 39s] [27/169] cumulate libuuid-2.20.2-1.4 [ 40s] [28/169] cumulate m4-1.4.14-1.5 [ 41s] [29/169] cumulate net-tools-1.60-2.6 [ 41s] [30/169] cumulate nspr-4.9-1.9 [ 41s] [31/169] cumulate nss-softokn-freebl-3.12.9-1.17 [ 41s] [32/169] cumulate patch-2.6-1.6 [ 41s] [33/169] cumulate pkg-config-0.25-2.6 [ 42s] [34/169] cumulate popt-1.16-1.8 [ 42s] [35/169] cumulate readline-5.2-1.6 [ 42s] [36/169] cumulate ruby-1.9.2-1.6 [ 42s] [37/169] cumulate sed-4.1.5-1.5 [ 42s] [38/169] cumulate sqlite-3.8.10.2-1.8 [ 42s] [39/169] cumulate xz-libs-5.0.3-1.8 [ 43s] [40/169] cumulate zlib-1.2.8-1.8 [ 43s] [41/169] cumulate libasan-4.9.2-2015.02.1.11 [ 43s] [42/169] cumulate libpcre-7.7-1.25 [ 43s] [43/169] cumulate libubsan-4.9.2-2015.02.1.11 [ 44s] [44/169] cumulate patchelf-0.5.svn20809-1.5 [ 44s] [45/169] cumulate ncurses-libs-5.7-1.8 [ 44s] [46/169] cumulate build-compare-2009.10.14-1.6 [ 44s] [47/169] cumulate qemu-linux-user-x86-arm-2.2.0-4.1.1 [ 44s] [48/169] cumulate cpp-4.9.2-2015.02.1.11 [ 45s] [49/169] cumulate glibc-headers-2.20-2014.11.1.10 [ 45s] [50/169] cumulate libcap-2.21-1.6 [ 45s] [51/169] cumulate unzip-6.0-1.12 [ 45s] [52/169] cumulate grep-2.5.1a-1.5 [ 45s] [53/169] cumulate libacl-2.2.49-1.5 [ 45s] [54/169] cumulate libfile-5.04-1.7 [ 46s] [55/169] cumulate libpython-2.7.1-1.5 [ 46s] [56/169] cumulate libxml2-2.9.2-1.3 [ 46s] [57/169] cumulate make-3.82-154.1.6 [ 46s] [58/169] cumulate ncurses-5.7-1.8 [ 46s] [59/169] cumulate pcre-7.7-1.25 [ 46s] [60/169] cumulate psmisc-22.20-1.6 [ 46s] [61/169] cumulate binutils-2.25.0-2015.01.1.8 [ 46s] [62/169] cumulate bzip2-1.0.5-1.8 [ 46s] [63/169] cumulate libblkid-2.20.2-1.4 [ 47s] [64/169] cumulate xz-5.0.3-1.8 [ 47s] [65/169] cumulate elfutils-libs-0.152-1.12 [ 47s] [66/169] cumulate nss-3.12.9-1.17 [ 47s] [67/169] cumulate perl-5.12.1-1.25 [ 48s] [68/169] cumulate ncurses-base-5.7-1.8 [ 48s] [69/169] cumulate perl-HTML-Tagset-3.20-1.1 [ 48s] [70/169] cumulate perl-IO-Compress-Base-2.008-1.25 [ 48s] [71/169] cumulate perl-Module-Pluggable-3.60-1.25 [ 48s] [72/169] cumulate perl-Pod-Escapes-1.04-1.25 [ 49s] [73/169] cumulate perl-TimeDate-1.20-1.1 [ 49s] [74/169] cumulate perl-URI-1.54-1.1 [ 49s] [75/169] cumulate glibc-devel-2.20-2014.11.1.10 [ 49s] [76/169] cumulate file-5.04-1.7 [ 49s] [77/169] cumulate libxslt-1.1.28-1.2 [ 49s] [78/169] cumulate perl-Compress-Raw-Zlib-2.008-1.25 [ 49s] [79/169] cumulate perl-libs-5.12.1-1.25 [ 50s] [80/169] cumulate tar-1.17-1.6 [ 50s] [81/169] cumulate coreutils-6.9-1.6 [ 50s] [82/169] cumulate libmount-2.20.2-1.4 [ 50s] [83/169] cumulate xz-lzma-compat-5.0.3-1.8 [ 50s] [84/169] cumulate elfutils-0.152-1.12 [ 50s] [85/169] cumulate nss-sysinit-3.12.9-1.17 [ 50s] [86/169] cumulate python-base-2.7.1-1.5 [ 50s] [87/169] cumulate glibc-common-2.20-2014.11.1.10 [ 50s] [88/169] cumulate libarchive-2.8.3-1.2 [ 50s] [89/169] cumulate rpm-libs-4.9.1-4.3.1.10 [ 50s] [90/169] cumulate libstdc++-devel-4.9.2-2015.02.1.11 [ 50s] [91/169] cumulate perl-Pod-Simple-3.07-1.25 [ 50s] [92/169] cumulate tizen-accelerator-1.0.1-1.1 [ 50s] [93/169] cumulate perl-IO-Compress-Zlib-2.008-1.25 [ 50s] [94/169] cumulate gawk-3.1.5-1.6 [ 51s] [95/169] cumulate gzip-1.3.12-1.6 [ 51s] [96/169] cumulate perl-HTML-Parser-3.65-1.5 [ 51s] [97/169] cumulate python-xml-2.7.1-1.5 [ 51s] [98/169] cumulate autoconf-2.68-1.1 [ 51s] [99/169] cumulate build-2011.01.10a-1.1 [ 51s] [100/169] installing rpm-4.9.1-4.3.1.10 [ 54s] [101/169] cumulate python-lxml-2.2.3-1.2 [ 55s] [102/169] cumulate util-linux-2.20.2-1.4 [ 55s] [103/169] cumulate cmake-2.8.5-1.1.2 [ 56s] [104/169] cumulate python-2.7.1-1.3 [ 57s] [105/169] cumulate gcc-4.9.2-2015.02.1.11 [ 57s] [106/169] cumulate automake-1.11.1-1.1 [ 57s] [107/169] cumulate bzip2-libs-x86-arm-1.0.5-9.1.4 [ 58s] [108/169] cumulate elfutils-libelf-x86-arm-0.152-9.1.4 [ 58s] [109/169] cumulate elfutils-libs-x86-arm-0.152-9.1.4 [ 58s] [110/169] cumulate expat-x86-arm-2.0.1-1.4 [ 59s] [111/169] cumulate glibc-x86-arm-2.20-9.1.5 [ 60s] [112/169] cumulate libacl-x86-arm-2.2.49-9.1.4 [ 61s] [113/169] cumulate libarchive-x86-arm-2.8.3-1.3 [ 61s] [114/169] cumulate libattr-x86-arm-2.4.44-9.1.4 [ 62s] [115/169] cumulate libcap-x86-arm-2.21-9.1.4 [ 62s] [116/169] cumulate libfile-x86-arm-5.04-9.1.4 [ 62s] [117/169] cumulate libgcc-x86-arm-4.9.2-9.1.4 [ 63s] [118/169] cumulate liblua-x86-arm-5.1.4-9.1.3 [ 65s] [119/169] cumulate libpython-x86-arm-2.7.1-9.1.3 [ 65s] [120/169] cumulate libstdc++-x86-arm-4.9.2-9.1.4 [ 65s] [121/169] cumulate libxml2-x86-arm-2.9.2-9.1.3 [ 65s] [122/169] cumulate libxslt-x86-arm-1.1.28-9.1.3 [ 66s] [123/169] cumulate ncurses-libs-x86-arm-5.7-9.1.3 [ 66s] [124/169] cumulate nspr-x86-arm-4.9-9.1.5 [ 67s] [125/169] cumulate nss-softokn-freebl-x86-arm-3.12.9-9.1.5 [ 67s] [126/169] cumulate nss-x86-arm-3.12.9-9.1.5 [ 67s] [127/169] cumulate openssl-x86-arm-1.0.1p-9.1.3 [ 68s] [128/169] cumulate perl-libs-x86-arm-5.12.1-9.1.5 [ 68s] [129/169] cumulate popt-x86-arm-1.16-9.1.4 [ 69s] [130/169] cumulate python-lxml-x86-arm-2.2.3-9.1.3 [ 69s] [131/169] cumulate python-x86-arm-2.7.1-9.1.3 [ 69s] [132/169] cumulate python-xml-x86-arm-2.7.1-9.1.3 [ 69s] [133/169] cumulate rpm-libs-x86-arm-4.9.1-9.1.4 [ 69s] [134/169] cumulate sqlite-x86-arm-3.8.10.2-9.1.3 [ 69s] [135/169] cumulate xz-libs-x86-arm-5.0.3-9.1.4 [ 71s] [136/169] cumulate zlib-x86-arm-1.2.8-9.1.4 [ 71s] [137/169] cumulate gcc-c++-4.9.2-2015.02.1.11 [ 72s] [138/169] cumulate perl-Compress-Zlib-2.008-1.25 [ 72s] [139/169] cumulate rpm-build-4.9.1-4.3.1.10 [ 72s] [140/169] cumulate bash-x86-arm-4.1-9.1.4 [ 72s] [141/169] cumulate diffutils-x86-arm-3.0-9.1.4 [ 73s] [142/169] cumulate fdupes-x86-arm-1.40-9.1.4 [ 73s] [143/169] cumulate findutils-x86-arm-4.2.31-9.1.4 [ 73s] [144/169] cumulate gawk-x86-arm-3.1.5-9.1.3 [ 73s] [145/169] cumulate gzip-x86-arm-1.3.12-9.1.4 [ 74s] [146/169] cumulate libtool-2.2.6b-1.8 [ 75s] [147/169] cumulate m4-x86-arm-1.4.14-9.1.4 [ 75s] [148/169] cumulate make-x86-arm-3.82-9.1.3 [ 75s] [149/169] cumulate patch-x86-arm-2.6-9.1.4 [ 75s] [150/169] cumulate perl-libwww-perl-5.836-1.1 [ 75s] [151/169] cumulate pkg-config-x86-arm-0.25-9.1.4 [ 75s] [152/169] cumulate ruby-x86-arm-1.9.2-9.1.4 [ 75s] [153/169] cumulate sed-x86-arm-4.1.5-9.1.4 [ 75s] [154/169] cumulate bzip2-x86-arm-1.0.5-1.4 [ 75s] [155/169] cumulate perl-x86-arm-5.12.1-9.1.5 [ 75s] [156/169] cumulate python-base-x86-arm-2.7.1-9.1.3 [ 76s] [157/169] cumulate coreutils-x86-arm-6.9-9.1.4 [ 76s] [158/169] cumulate cross-armv7l-gcc-accel-x86-armv7l-4.9.2-2015.02.1.6 [ 76s] [159/169] cumulate file-x86-arm-5.04-9.1.4 [ 76s] [160/169] cumulate tar-x86-arm-1.17-9.1.4 [ 76s] [161/169] cumulate elfutils-x86-arm-0.152-9.1.4 [ 76s] [162/169] cumulate cmake-x86-arm-2.8.5-1.3 [ 77s] [163/169] cumulate rpm-x86-arm-4.9.1-9.1.4 [ 77s] [164/169] cumulate rpm-build-x86-arm-4.9.1-9.1.4 [ 77s] [165/169] cumulate perl-HTML-Parser-x86-arm-3.65-9.1.3 [ 78s] [166/169] cumulate cross-armv7l-binutils-accel-x86-armv7l-2.25.0-2015.01.1.3 [ 78s] [167/169] cumulate perl-XML-Parser-2.36-1.6 [ 78s] [168/169] cumulate perl-XML-Parser-x86-arm-2.36-9.1.3 [ 78s] [169/169] now installing cumulated packages [ 100s] Preparing... ################################################## [ 107s] setup ################################################## [ 115s] filesystem ################################################## [ 118s] tzdata ################################################## [ 120s] tizen-release ################################################## [ 122s] kernel-headers ################################################## [ 122s] cross-armv7l-platformfile ################################################## [ 125s] bash ################################################## [ 128s] findutils ################################################## [ 129s] grep ################################################## [ 130s] coreutils ################################################## [ 134s] glibc-common ################################################## [ 135s] libgcc ################################################## [ 135s] /sbin/ldconfig: relative path `1' used to build cache [ 135s] warning: %post(libgcc-4.9.2-2015.02.1.11.armv7l) scriptlet failed, exit status 1 [ 139s] glibc ################################################## [ 143s] libstdc++ ################################################## [ 143s] libattr ################################################## [ 143s] libacl ################################################## [ 143s] libpcre ################################################## [ 144s] tizen-accelerator ################################################## [ 145s] glibc-x86-arm ################################################## [ 147s] libattr-x86-arm ################################################## [ 147s] libacl-x86-arm ################################################## [ 147s] libgcc-x86-arm ################################################## [ 147s] libstdc++-x86-arm ################################################## [ 147s] glibc-headers ################################################## [ 147s] glibc-devel ################################################## [ 148s] libstdc++-devel ################################################## [ 148s] coreutils-x86-arm ################################################## [ 151s] bash-x86-arm ################################################## [ 151s] findutils-x86-arm ################################################## [ 151s] build-compare ################################################## [ 153s] qemu-linux-user-x86-arm ################################################## [ 153s] zlib ################################################## [ 153s] zlib-x86-arm ################################################## [ 153s] bzip2-libs ################################################## [ 154s] bzip2-libs-x86-arm ################################################## [ 154s] elfutils-libelf ################################################## [ 156s] xz-libs ################################################## [ 156s] ncurses-libs ################################################## [ 156s] ncurses ################################################## [ 157s] ncurses-base ################################################## [ 158s] libpython ################################################## [ 159s] python-base ################################################## [ 161s] libxml2 ################################################## [ 162s] binutils ################################################## [ 162s] xz-libs-x86-arm ################################################## [ 162s] elfutils-libelf-x86-arm ################################################## [ 163s] libfile ################################################## [ 164s] openssl ################################################## [ 164s] expat ################################################## [ 164s] libuuid ################################################## [ 164s] nspr ################################################## [ 167s] popt ################################################## [ 169s] sed ################################################## [ 169s] sqlite ################################################## [ 169s] popt-x86-arm ################################################## [ 169s] nspr-x86-arm ################################################## [ 170s] libfile-x86-arm ################################################## [ 170s] libblkid ################################################## [ 170s] libarchive ################################################## [ 170s] file ################################################## [ 170s] libxslt ################################################## [ 170s] xz ################################################## [ 170s] elfutils-libs ################################################## [ 170s] elfutils ################################################## [ 170s] bzip2 ################################################## [ 170s] tar ################################################## [ 170s] libcap ################################################## [ 171s] libcap-x86-arm ################################################## [ 171s] diffutils ################################################## [ 171s] liblua ################################################## [ 171s] liblua-x86-arm ################################################## [ 172s] m4 ################################################## [ 172s] nss-softokn-freebl ################################################## [ 172s] nss ################################################## [ 173s] nss-sysinit ################################################## [ 173s] nss-x86-arm ################################################## [ 174s] rpm-libs ################################################## [ 174s] rpm-libs-x86-arm ################################################## [ 174s] patch ################################################## [ 174s] pkg-config ################################################## [ 174s] gawk ################################################## [ 174s] gzip ################################################## [ 174s] elfutils-libs-x86-arm ################################################## [ 174s] libarchive-x86-arm ################################################## [ 176s] openssl-x86-arm ################################################## [ 176s] libxml2-x86-arm ################################################## [ 177s] libpython-x86-arm ################################################## [ 177s] xz-lzma-compat ################################################## [ 177s] python-lxml ################################################## [ 178s] cmake ################################################## [ 180s] libmount ################################################## [ 180s] python-xml ################################################## [ 181s] cpp ################################################## [ 181s] libasan ################################################## [ 181s] libubsan ################################################## [ 181s] libatomic ################################################## [ 181s] libgomp ################################################## [ 181s] cpio ################################################## [ 181s] db4 ################################################## [ 181s] fdupes ################################################## [ 181s] gdbm ################################################## [ 182s] perl-Pod-Escapes ################################################## [ 182s] perl-Compress-Raw-Zlib ################################################## [ 183s] perl-IO-Compress-Base ################################################## [ 183s] perl-Module-Pluggable ################################################## [ 183s] perl-Pod-Simple ################################################## [ 184s] perl-IO-Compress-Zlib ################################################## [ 184s] perl-libs ################################################## [ 208s] perl ################################################## [ 209s] perl-URI ################################################## [ 209s] autoconf ################################################## [ 209s] automake ################################################## [ 209s] perl-HTML-Tagset ################################################## [ 209s] perl-TimeDate ################################################## [ 210s] perl-Compress-Zlib ################################################## [ 210s] perl-libs-x86-arm ################################################## [ 214s] perl-x86-arm ################################################## [ 214s] perl-HTML-Parser ################################################## [ 215s] perl-libwww-perl ################################################## [ 215s] perl-XML-Parser ################################################## [ 215s] libitm ################################################## [ 216s] gcc ################################################## [ 217s] gcc-c++ ################################################## [ 223s] cross-armv7l-gcc-accel-x86-a################################################## [ 223s] "GCCVER: 4.9 GCCVER_NEW: 4.9 " [ 223s] GCC and GCC-accel versions match. Enabling cross-compiler. [ 224s] readline ################################################## [ 224s] python ################################################## [ 224s] ruby ################################################## [ 225s] unzip ################################################## [ 225s] rpm-build ################################################## [ 225s] make ################################################## [ 227s] make-x86-arm ################################################## [ 229s] rpm-build-x86-arm ################################################## [ 232s] ruby-x86-arm ################################################## [ 232s] python-x86-arm ################################################## [ 233s] cross-armv7l-binutils-accel-################################################## [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/addr2line': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ar': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/as': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/c++filt': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/elfedit': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/gprof': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ld': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ld.bfd': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ld.gold': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/nm': File exists [ 233s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/objcopy': File exists [ 234s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/objdump': File exists [ 234s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/ranlib': File exists [ 234s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/readelf': File exists [ 234s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/size': File exists [ 234s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/strings': File exists [ 234s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9/strip': File exists [ 234s] perl-XML-Parser-x86-arm ################################################## [ 234s] perl-HTML-Parser-x86-arm ################################################## [ 235s] build ################################################## [ 235s] libtool ################################################## [ 235s] fdupes-x86-arm ################################################## [ 235s] python-xml-x86-arm ################################################## [ 236s] cmake-x86-arm ################################################## [ 236s] python-lxml-x86-arm ################################################## [ 237s] python-base-x86-arm ################################################## [ 238s] elfutils-x86-arm ################################################## [ 238s] gzip-x86-arm ################################################## [ 238s] gawk-x86-arm ################################################## [ 238s] pkg-config-x86-arm ################################################## [ 239s] patch-x86-arm ################################################## [ 239s] rpm-x86-arm ################################################## [ 239s] /bin/rpm.orig-arm already present - skipping. [ 239s] /usr/bin/rpm2cpio.orig-arm already present - skipping. [ 239s] /usr/bin/rpmdb.orig-arm already present - skipping. [ 239s] /usr/bin/rpmquery.orig-arm already present - skipping. [ 239s] /usr/bin/rpmsign.orig-arm already present - skipping. [ 239s] /usr/bin/rpmverify.orig-arm already present - skipping. [ 239s] nss-softokn-freebl-x86-arm ################################################## [ 239s] m4-x86-arm ################################################## [ 239s] diffutils-x86-arm ################################################## [ 239s] tar-x86-arm ################################################## [ 239s] bzip2-x86-arm ################################################## [ 239s] libxslt-x86-arm ################################################## [ 239s] mv: cannot stat `/usr/bin/xsltproc': No such file or directory [ 239s] file-x86-arm ################################################## [ 239s] sqlite-x86-arm ################################################## [ 240s] sed-x86-arm ################################################## [ 240s] expat-x86-arm ################################################## [ 240s] ncurses-libs-x86-arm ################################################## [ 241s] util-linux ################################################## [ 241s] psmisc ################################################## [ 242s] pcre ################################################## [ 242s] patchelf ################################################## [ 242s] e2fsprogs-libs ################################################## [ 242s] net-tools ################################################## [ 243s] removing nis flags from //etc/nsswitch.conf... [ 243s] now finalizing build dir... [ 250s] build target is armv7l-tizen-linux [ 250s] ----------------------------------------------------------------- [ 250s] I have the following modifications for u-boot-tm1.spec: [ 250s] 5c5 [ 250s] < Release: 0 [ 250s] --- [ 250s] > Release: %{?release_prefix:%{release_prefix}.}1.1 [ 250s] ----------------------------------------------------------------- [ 250s] ----- building u-boot-tm1.spec (user abuild) [ 250s] ----------------------------------------------------------------- [ 250s] ----------------------------------------------------------------- [ 250s] + 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/13ff0193fe32d607986ca51e51cb60a2-u-boot-sprd' /home/abuild/rpmbuild/SOURCES/u-boot-tm1.spec [ 250s] Building target platforms: armv7l-tizen-linux [ 250s] Building for target armv7l-tizen-linux [ 250s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.F98nXM [ 250s] + umask 022 [ 250s] + cd /home/abuild/rpmbuild/BUILD [ 250s] + cd /home/abuild/rpmbuild/BUILD [ 250s] + rm -rf u-boot-sprd-2010.12 [ 250s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-sprd-2010.12.tar.bz2 [ 250s] + /bin/tar -xf - [ 253s] + STATUS=0 [ 253s] + '[' 0 -ne 0 ']' [ 253s] + cd u-boot-sprd-2010.12 [ 253s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 253s] + exit 0 [ 253s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.99ewB7 [ 253s] + umask 022 [ 253s] + cd /home/abuild/rpmbuild/BUILD [ 253s] + cd u-boot-sprd-2010.12 [ 253s] + LANG=C [ 253s] + export LANG [ 253s] + unset DISPLAY [ 253s] + 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' [ 253s] + export CFLAGS [ 253s] + 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' [ 253s] + export CXXFLAGS [ 253s] + 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' [ 253s] + export FFLAGS [ 253s] + LD_AS_NEEDED=1 [ 253s] + export LD_AS_NEEDED [ 253s] + cp /home/abuild/rpmbuild/SOURCES/u-boot-tm1.manifest . [ 253s] + make distclean [ 254s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 254s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 254s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 254s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 254s] + make tizen_tm1_config [ 254s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 254s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 254s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 254s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 254s] Configuring for tizen_tm1 board... [ 254s] + 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 [ 254s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 254s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 254s] Generating include/autoconf.mk [ 254s] Generating include/autoconf.mk.dep [ 254s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 254s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 255s] gcc -DDO_DEPS_ONLY \ [ 255s] -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 \ [ 255s] -o lib/asm-offsets.s lib/asm-offsets.c -c -S [ 255s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 255s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 255s] from lib/asm-offsets.c:18: [ 255s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 255s] #define CONFIG_MMC 1 [ 255s] ^ [ 255s] /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 [ 255s] #define CONFIG_MMC [ 255s] ^ [ 255s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 255s] #define CONFIG_EFI_PARTITION 1 [ 255s] ^ [ 255s] /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 [ 255s] #define CONFIG_EFI_PARTITION [ 255s] ^ [ 255s] Generating include/generated/generic-asm-offsets.h [ 255s] tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h [ 255s] 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 \ [ 255s] make -C $dir _depend ; done [ 255s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 255s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 256s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 256s] make[1]: Nothing to be done for `_depend'. [ 256s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 256s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 256s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 256s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 256s] make[1]: Nothing to be done for `_depend'. [ 256s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 256s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 256s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 256s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 256s] make[1]: Nothing to be done for `_depend'. [ 256s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 256s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 257s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 257s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 257s] make[1]: Nothing to be done for `_depend'. [ 257s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 257s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 257s] make[1]: Nothing to be done for `_depend'. [ 257s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 257s] make -C tools all [ 257s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 257s] 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 [ 257s] 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 [ 257s] 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 [ 257s] 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 [ 257s] 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 [ 257s] 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 [ 257s] 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 [ 257s] 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 [ 257s] kwbimage.c: In function 'kwbimage_verify_header': [ 257s] kwbimage.c:351:10: warning: variable 'calc_exthdrcsum' set but not used [-Wunused-but-set-variable] [ 257s] uint8_t calc_exthdrcsum; [ 257s] ^ [ 257s] 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 [ 257s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/md5.c: In function 'MD5Final': [ 257s] /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] [ 257s] ((__u32 *) ctx->in)[14] = ctx->bits[0]; [ 257s] ^ [ 257s] /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] [ 257s] ((__u32 *) ctx->in)[15] = ctx->bits[1]; [ 257s] ^ [ 258s] 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 [ 258s] 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 [ 258s] 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 [ 258s] 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 [ 258s] 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 [ 258s] 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 [ 258s] 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 [ 258s] 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 [ 258s] 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 [ 258s] /bin/true bmp_logo [ 258s] ./bmp_logo logos/denx.bmp >/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/bmp_logo.h [ 258s] /bin/true mkimage [ 258s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 258s] + 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 [ 258s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 258s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 258s] make -C tools/env all MTD_VERSION= [ 259s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 259s] ln -s ../../lib/crc32.c crc32.c [ 259s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 259s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 259s] 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 [ 259s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 259s] + export PATH=/usr/local/bin:/bin:/usr/bin:tools [ 259s] + PATH=/usr/local/bin:/bin:/usr/bin:tools [ 259s] ++ echo kernel/u-boot-tm1#70c9b062ef932fd9af53168d16ff9767f0654630 [ 259s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 259s] + make -j4 EXTRAVERSION=-g70c9b062e-TIZEN.org [ 260s] Makefile:1609: warning: overriding recipe for target `sp7731gea_hd_config' [ 260s] Makefile:1587: warning: ignoring old recipe for target `sp7731gea_hd_config' [ 260s] 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 \ [ 260s] make -C $dir _depend ; done [ 260s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 260s] make[1]: Nothing to be done for `_depend'. [ 260s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 260s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 260s] make[1]: Nothing to be done for `_depend'. [ 260s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 260s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 260s] make[1]: Nothing to be done for `_depend'. [ 260s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 260s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 260s] make[1]: Nothing to be done for `_depend'. [ 260s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 260s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 260s] make[1]: Nothing to be done for `_depend'. [ 260s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 260s] make -C tools all [ 261s] make -C examples/standalone all [ 261s] make -C examples/api all [ 261s] make -C arch/arm/cpu/armv7 start.o [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 261s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 261s] make -C /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ u-boot.lds [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 261s] 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 \ [ 261s] -o hello_world.o hello_world.c -c [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 261s] make[1]: Nothing to be done for `all'. [ 261s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 261s] 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 \ [ 261s] -o stubs.o stubs.c -c [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 261s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 261s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 261s] from hello_world.c:24: [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 261s] #define CONFIG_MMC 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_MMC [ 261s] ^ [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 261s] #define CONFIG_EFI_PARTITION 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_EFI_PARTITION [ 261s] ^ [ 261s] 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 \ [ 261s] -o start.o start.S -c [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 261s] make[1]: Nothing to be done for `u-boot.lds'. [ 261s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 261s] 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 [ 261s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 261s] from start.S:33: [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 261s] #define CONFIG_MMC 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_MMC [ 261s] ^ [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 261s] #define CONFIG_EFI_PARTITION 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_EFI_PARTITION [ 261s] ^ [ 261s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 261s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 261s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 261s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/exports.h:6, [ 261s] from stubs.c:1: [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 261s] #define CONFIG_MMC 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_MMC [ 261s] ^ [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 261s] #define CONFIG_EFI_PARTITION 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_EFI_PARTITION [ 261s] ^ [ 261s] ld -r -o libstubs.o stubs.o [ 261s] ld -g -Ttext 0xc100000 \ [ 261s] -o hello_world -e hello_world hello_world.o libstubs.o \ [ 261s] -L/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9 -lgcc [ 261s] objcopy -O srec hello_world hello_world.srec 2>/dev/null [ 261s] objcopy -O binary hello_world hello_world.bin 2>/dev/null [ 261s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 261s] make -C api/ [ 261s] make -C arch/arm/cpu/armv7/ [ 261s] make -C arch/arm/cpu/armv7/sc8830/ [ 261s] make -C arch/arm/lib/ [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 261s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 261s] 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 \ [ 261s] -o cpu.o cpu.c -c [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 261s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 261s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 261s] from cpu.c:34: [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 261s] #define CONFIG_MMC 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_MMC [ 261s] ^ [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 261s] #define CONFIG_EFI_PARTITION 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_EFI_PARTITION [ 261s] ^ [ 261s] 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 \ [ 261s] -o syslib.o syslib.c -c [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 261s] rm -f libapi.o; ar rcs libapi.o [ 261s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 261s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 261s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 261s] from syslib.c:24: [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 261s] #define CONFIG_MMC 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_MMC [ 261s] ^ [ 261s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 261s] #define CONFIG_EFI_PARTITION 1 [ 261s] ^ [ 261s] /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 [ 261s] #define CONFIG_EFI_PARTITION [ 261s] ^ [ 262s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 262s] make -C common/ [ 262s] ld -r -o libarmv7.o cpu.o syslib.o [ 262s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 262s] make -C disk/ [ 262s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 262s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 262s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 262s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 262s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 262s] 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 \ [ 262s] -o part.o part.c -c [ 262s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 262s] 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 \ [ 262s] -o board.o board.c -c [ 262s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 262s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 262s] from part.c:24: [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 262s] #define CONFIG_MMC 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_MMC [ 262s] ^ [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 262s] #define CONFIG_EFI_PARTITION 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_EFI_PARTITION [ 262s] ^ [ 262s] part.c: In function 'get_partition_info_with_partnum': [ 262s] part.c:397:3: warning: implicit declaration of function 'get_partition_info_efi_with_partnum' [-Wimplicit-function-declaration] [ 262s] if (get_partition_info_efi_with_partnum(dev_desc,part,info, total, sdidx, sdpart, sdinfo) == 0) { [ 262s] ^ [ 262s] part.c: In function 'get_all_partition_info': [ 262s] part.c:414:3: warning: implicit declaration of function 'get_all_partition_info_efi' [-Wimplicit-function-declaration] [ 262s] if (get_all_partition_info_efi(dev_desc,info,total_partition_num) == 0) { [ 262s] ^ [ 262s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 262s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 262s] from board.c:41: [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 262s] #define CONFIG_MMC 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_MMC [ 262s] ^ [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 262s] #define CONFIG_EFI_PARTITION 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_EFI_PARTITION [ 262s] ^ [ 262s] board.c: In function 'board_init_r': [ 262s] board.c:468:2: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 262s] performance_debug("1:"); [ 262s] ^ [ 262s] board.c:468:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 262s] board.c:493:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 262s] performance_debug("2:"); [ 262s] ^ [ 262s] board.c:548:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 262s] performance_debug("3:"); [ 262s] ^ [ 262s] board.c:557:2: warning: implicit declaration of function 'mmc_legacy_init' [-Wimplicit-function-declaration] [ 262s] mmc_legacy_init(1); [ 262s] ^ [ 262s] board.c:574:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 262s] performance_debug("4:"); [ 262s] ^ [ 262s] board.c:683:5: warning: implicit declaration of function 'MMU_Init' [-Wimplicit-function-declaration] [ 262s] MMU_Init(CONFIG_MMU_TABLE_ADDR); [ 262s] ^ [ 262s] board.c:699:13: warning: implicit declaration of function 'DCDC_Cal_ArmCore' [-Wimplicit-function-declaration] [ 262s] DCDC_Cal_ArmCore(); [ 262s] ^ [ 262s] board.c:700:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 262s] performance_debug("6:"); [ 262s] ^ [ 262s] board.c:706:5: warning: implicit declaration of function 'board_keypad_init' [-Wimplicit-function-declaration] [ 262s] board_keypad_init(); [ 262s] ^ [ 262s] 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 \ [ 262s] -o part_dos.o part_dos.c -c [ 262s] 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 \ [ 262s] -o bootm.o bootm.c -c [ 262s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 262s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 262s] from part_dos.c:33: [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 262s] #define CONFIG_MMC 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_MMC [ 262s] ^ [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 262s] #define CONFIG_EFI_PARTITION 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_EFI_PARTITION [ 262s] ^ [ 262s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 262s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 262s] from bootm.c:24: [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 262s] #define CONFIG_MMC 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_MMC [ 262s] ^ [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 262s] #define CONFIG_EFI_PARTITION 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_EFI_PARTITION [ 262s] ^ [ 262s] bootm.c: In function 'bootm_linux_fdt': [ 262s] bootm.c:186:8: warning: unused variable 'of_size' [-Wunused-variable] [ 262s] ulong of_size = images->ft_len; [ 262s] ^ [ 262s] bootm.c:185:8: warning: unused variable 'bootmap_base' [-Wunused-variable] [ 262s] ulong bootmap_base = getenv_bootm_low(); [ 262s] ^ [ 262s] 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 \ [ 262s] -o cache.o cache.c -c [ 262s] 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 \ [ 262s] -o part_efi.o part_efi.c -c [ 262s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 262s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 262s] from cache.c:26: [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 262s] #define CONFIG_MMC 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_MMC [ 262s] ^ [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 262s] #define CONFIG_EFI_PARTITION 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_EFI_PARTITION [ 262s] ^ [ 262s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 262s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 262s] from part_efi.c:34: [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 262s] #define CONFIG_MMC 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_MMC [ 262s] ^ [ 262s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 262s] #define CONFIG_EFI_PARTITION 1 [ 262s] ^ [ 262s] /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 [ 262s] #define CONFIG_EFI_PARTITION [ 262s] ^ [ 262s] 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 \ [ 262s] -o cache-cp15.o cache-cp15.c -c [ 262s] part_efi.c:600:12: warning: 'format_gpt_valid' defined but not used [-Wunused-function] [ 262s] static int format_gpt_valid(block_dev_desc_t * dev_desc, unsigned long long lba, [ 262s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from cache-cp15.c:24: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] 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 \ [ 263s] -o interrupts.o interrupts.c -c [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 263s] ld -r -o libdisk.o part.o part_dos.o part_efi.o [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from interrupts.c:38: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 263s] make -C drivers/bios_emulator/ [ 263s] 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 \ [ 263s] -o reset.o reset.c -c [ 263s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 263s] 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 \ [ 263s] -o mmu_asm.o mmu_asm.S -c [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from reset.c:40: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from mmu_asm.S:13: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] 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 \ [ 263s] -o generic.o generic.c -c [ 263s] 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 \ [ 263s] -o eabi_compat.o eabi_compat.c -c [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from generic.c:25: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from eabi_compat.c:12: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] 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 \ [ 263s] -o timer.o timer.c -c [ 263s] ld -r -o libarm.o board.o bootm.o cache.o cache-cp15.o interrupts.o reset.o [ 263s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from timer.c:39: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 263s] make -C drivers/block/ [ 263s] In file included from timer.c:44:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 263s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 263s] ^ [ 263s] In file included from timer.c:39:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 263s] #define MAX(x, y) max(x, y) [ 263s] ^ [ 263s] In file included from timer.c:44:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 263s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 263s] ^ [ 263s] In file included from timer.c:39:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 263s] #define MIN(x, y) min(x, y) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 263s] from timer.c:46: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 263s] from timer.c:46: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 263s] ^ [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 263s] 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 \ [ 263s] -o reset.o reset.c -c [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from reset.c:35: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] In file included from reset.c:37:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 263s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 263s] ^ [ 263s] In file included from reset.c:35:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 263s] #define MAX(x, y) max(x, y) [ 263s] ^ [ 263s] In file included from reset.c:37:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 263s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 263s] ^ [ 263s] In file included from reset.c:35:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 263s] #define MIN(x, y) min(x, y) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 263s] from reset.c:38: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 263s] #define KPD_NUM (0x31 << 16) [ 263s] ^ [ 263s] /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 [ 263s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 263s] from reset.c:38: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 263s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 263s] ^ [ 263s] /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 [ 263s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 263s] from reset.c:40: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 263s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 263s] from reset.c:38: [ 263s] /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 [ 263s] #define ADC_BASE 0x40038300 //Aux ADC [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 263s] from reset.c:40: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 263s] from reset.c:40: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 263s] ^ [ 263s] reset.c: In function 'reset_cpu': [ 263s] reset.c:46:2: warning: implicit declaration of function 'start_watchdog' [-Wimplicit-function-declaration] [ 263s] start_watchdog(5); [ 263s] ^ [ 263s] 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 \ [ 263s] -o ldo.o ldo.c -c [ 263s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 263s] rm -f libatibiosemu.o; ar rcs libatibiosemu.o [ 263s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from ldo.c:19: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 263s] make -C drivers/clk/ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 263s] from ldo.c:22: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 263s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 263s] ^ [ 263s] In file included from ldo.c:19:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 263s] #define MAX(x, y) max(x, y) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 263s] from ldo.c:22: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 263s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 263s] ^ [ 263s] In file included from ldo.c:19:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 263s] #define MIN(x, y) min(x, y) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 263s] from ldo.c:24: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 263s] from ldo.c:24: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 263s] ^ [ 263s] ldo.c: In function '__LDO_IDX': [ 263s] ldo.c:139:17: warning: comparison between 'LDO_ID_E' and 'SLP_LDO_E' [-Wenum-compare] [ 263s] if(ldo_id == s_ldo_ctl_data[i].id) [ 263s] ^ [ 263s] ldo.c: In function 'LDO_Init': [ 263s] ldo.c:157:2: warning: implicit declaration of function 'regulator_init' [-Wimplicit-function-declaration] [ 263s] return regulator_init(); [ 263s] ^ [ 263s] ldo.c: In function 'LDO_GetLdoCtl': [ 263s] ldo.c:217:28: warning: comparison between 'SLP_LDO_E' and 'LDO_ID_E' [-Wenum-compare] [ 263s] if (s_ldo_ctl_data[i].id == ldo_id) [ 263s] ^ [ 263s] ldo.c:219:8: warning: assignment from incompatible pointer type [ 263s] ctl = &s_ldo_ctl_data[i]; [ 263s] ^ [ 263s] 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 \ [ 263s] -o mfp_sprd.o mfp_sprd.c -c [ 263s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 263s] 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 \ [ 263s] -o cmd_bdinfo.o cmd_bdinfo.c -c [ 263s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 263s] rm -f libblock.o; ar rcs libblock.o [ 263s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 263s] from mfp_sprd.c:20: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 263s] from mfp_sprd.c:20: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from mfp_sprd.c:23: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from cmd_bdinfo.c:27: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 263s] 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 \ [ 263s] -o cmd_boot.o cmd_boot.c -c [ 263s] mfp_sprd.c:111:22: warning: 'spi_cs1_gpio_cfg' defined but not used [-Wunused-variable] [ 263s] static unsigned long spi_cs1_gpio_cfg = MFP_CFG_X(SPI_CSN0, GPIO, DS1, F_PULL_NONE, S_PULL_DOWN, IO_NONE); [ 263s] ^ [ 263s] mfp_sprd.c: In function 'mfp_to_gpio': [ 263s] make -C drivers/dma/ [ 263s] mfp_sprd.c:44:1: warning: control reaches end of non-void function [-Wreturn-type] [ 263s] } [ 263s] ^ [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 263s] 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 \ [ 263s] -o mmu.o mmu.c -c [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from cmd_boot.c:27: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] 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 \ [ 263s] -o cmd_bootm.o cmd_bootm.c -c [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 263s] from mmu.c:2: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] mmu.c: In function 'MMU_Init': [ 263s] mmu.c:55:22: warning: assignment makes pointer from integer without a cast [ 263s] g_mmu_page_table = const_MMUTableStartAddr; [ 263s] ^ [ 263s] mmu.c:77:5: warning: implicit declaration of function 'MMU_InvalideICACHEALL' [-Wimplicit-function-declaration] [ 263s] MMU_InvalideICACHEALL();//steve.zhan add. [ 263s] ^ [ 263s] 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 \ [ 263s] -o adc.o adc.c -c [ 263s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 263s] rm -f libclk.o; ar rcs libclk.o [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from cmd_bootm.c:28: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 263s] from adc.c:1: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 263s] #define CONFIG_MMC 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_MMC [ 263s] ^ [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 263s] #define CONFIG_EFI_PARTITION 1 [ 263s] ^ [ 263s] /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 [ 263s] #define CONFIG_EFI_PARTITION [ 263s] ^ [ 263s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 263s] make -C drivers/fpga/ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 263s] from adc.c:3: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 263s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 263s] from adc.c:3: [ 263s] /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 [ 263s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 263s] from adc.c:5: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 263s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 263s] ^ [ 263s] In file included from adc.c:1:0: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 263s] #define MAX(x, y) max(x, y) [ 263s] ^ [ 263s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 263s] from adc.c:5: [ 263s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 263s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 263s] ^ [ 264s] In file included from adc.c:1:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 264s] #define MIN(x, y) min(x, y) [ 264s] ^ [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 264s] 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 \ [ 264s] -o rtc-sprd.o rtc-sprd.c -c [ 264s] 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 \ [ 264s] -o cmd_console.o cmd_console.c -c [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from rtc-sprd.c:11: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 264s] rm -f libdma.o; ar rcs libdma.o [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 264s] from rtc-sprd.c:13: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 264s] from rtc-sprd.c:13: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 264s] from rtc-sprd.c:14: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 264s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 264s] ^ [ 264s] In file included from rtc-sprd.c:11:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 264s] #define MAX(x, y) max(x, y) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 264s] from rtc-sprd.c:14: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 264s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 264s] ^ [ 264s] In file included from rtc-sprd.c:11:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 264s] #define MIN(x, y) min(x, y) [ 264s] ^ [ 264s] rtc-sprd.c: In function 'sprd_clean_rtc': [ 264s] rtc-sprd.c:183:6: warning: unused variable 'err' [-Wunused-variable] [ 264s] int err; [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from cmd_console.c:27: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 264s] 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 \ [ 264s] -o cmd_echo.o cmd_echo.c -c [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 264s] 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 \ [ 264s] -o sec_boot.o sec_boot.c -c [ 264s] make -C drivers/gpio/ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from cmd_echo.c:24: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from sec_boot.c:1: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] 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 \ [ 264s] -o cmd_ext4.o cmd_ext4.c -c [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 264s] from sec_boot.c:3: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 264s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 264s] ^ [ 264s] In file included from sec_boot.c:1:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 264s] #define MAX(x, y) max(x, y) [ 264s] ^ [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 264s] rm -f libfpga.o; ar rcs libfpga.o [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 264s] from sec_boot.c:3: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 264s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 264s] ^ [ 264s] In file included from sec_boot.c:1:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 264s] #define MIN(x, y) min(x, y) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 264s] from sec_boot.c:3: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 264s] #define KPD_NUM (0x31 << 16) [ 264s] ^ [ 264s] /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 [ 264s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 264s] from sec_boot.c:3: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 264s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 264s] ^ [ 264s] /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 [ 264s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 264s] from sec_boot.c:4: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 264s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 264s] from sec_boot.c:3: [ 264s] /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 [ 264s] #define ADC_BASE 0x40038300 //Aux ADC [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 264s] from sec_boot.c:4: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 264s] from sec_boot.c:4: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 264s] ^ [ 264s] In file included from sec_boot.c:5:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 264s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 264s] ^ [ 264s] /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 [ 264s] #define VLR_INFO_OFF (512) [ 264s] ^ [ 264s] sec_boot.c: In function 'harshVerify': [ 264s] sec_boot.c:298:22: warning: passing argument 2 of 'SHA1Result_32' from incompatible pointer type [ 264s] SHA1Result_32(&sha, soft_hash_data); [ 264s] ^ [ 264s] sec_boot.c:205:12: note: expected 'unsigned char *' but argument is of type 'unsigned int *' [ 264s] PUBLIC int SHA1Result_32(SHA1Context_32 * context, unsigned char *Message_Digest) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from cmd_ext4.c:43: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 264s] 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 \ [ 264s] -o cmd_fat.o cmd_fat.c -c [ 264s] make -C drivers/hwmon/ [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from cmd_fat.c:27: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 264s] 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 \ [ 264s] -o cmd_fdt.o cmd_fdt.c -c [ 264s] 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 \ [ 264s] -o glb.o glb.c -c [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from cmd_fdt.c:27: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 264s] rm -f libgpio.o; ar rcs libgpio.o [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from glb.c:16: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 264s] make -C drivers/i2c/ [ 264s] glb.c: In function 'sci_glb_write': [ 264s] glb.c:40:23: warning: unused variable 'hw_flags' [-Wunused-variable] [ 264s] unsigned long flags, hw_flags; [ 264s] ^ [ 264s] glb.c:40:16: warning: unused variable 'flags' [-Wunused-variable] [ 264s] unsigned long flags, hw_flags; [ 264s] ^ [ 264s] 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 \ [ 264s] -o adi.o adi.c -c [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 264s] rm -f libhwmon.o; ar rcs libhwmon.o [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from adi.c:20: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 264s] from adi.c:23: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 264s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 264s] ^ [ 264s] In file included from adi.c:20:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 264s] #define MAX(x, y) max(x, y) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 264s] from adi.c:23: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 264s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 264s] ^ [ 264s] In file included from adi.c:20:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 264s] #define MIN(x, y) min(x, y) [ 264s] ^ [ 264s] 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 \ [ 264s] -o cmd_help.o cmd_help.c -c [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 264s] from adi.c:26: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 264s] from adi.c:26: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 264s] ^ [ 264s] adi.c: In function '__adi_read': [ 264s] adi.c:172:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 264s] printf("[0x%s]: ADI READ timeout!!! reg = 0x%x, value = 0x%x\n", __func__, regPddr, val); [ 264s] ^ [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 264s] 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 \ [ 264s] -o gpio.o gpio.c -c [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from cmd_help.c:24: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] make -C drivers/input/ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 264s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 264s] ^ [ 264s] /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 [ 264s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] 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 \ [ 264s] -o cmd_itest.o cmd_itest.c -c [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 264s] struct gpio_chip *chip); [ 264s] ^ [ 264s] /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 [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 264s] from gpio.c:16: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 264s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 264s] #define MAX(x, y) max(x, y) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 264s] from gpio.c:16: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 264s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 264s] #define MIN(x, y) min(x, y) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 264s] from gpio.c:16: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 264s] #define KPD_NUM (0x31 << 16) [ 264s] ^ [ 264s] /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 [ 264s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 264s] ^ [ 264s] In file included from gpio.c:16:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 264s] /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] [ 264s] __raw_bits_and(value, reg_addr); [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 264s] /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] [ 264s] __raw_bits_or(value, reg_addr); [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 264s] from gpio.c:17: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h: At top level: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 264s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 264s] from gpio.c:15: [ 264s] /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 [ 264s] #define ADC_BASE 0x40038300 //Aux ADC [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 264s] from gpio.c:17: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 264s] from gpio.c:17: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 264s] ^ [ 264s] In file included from gpio.c:18:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:32:0: warning: "ANA_GPIO_BASE" redefined [ 264s] #define ANA_GPIO_BASE SPRD_ANA_GPIO_PHYS [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 264s] from gpio.c:15: [ 264s] /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 [ 264s] #define ANA_GPIO_BASE 0x40038480 [ 264s] ^ [ 264s] In file included from gpio.c:18:0: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:33:0: warning: "GPIO_BASE" redefined [ 264s] #define GPIO_BASE SPRD_GPIO_PHYS [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 264s] from gpio.c:15: [ 264s] /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 [ 264s] #define GPIO_BASE CTL_BASE_GPIO [ 264s] ^ [ 264s] gpio.c:22:0: warning: "KERN_WARNING" redefined [ 264s] #define KERN_WARNING "" [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:145:0: note: this is the location of the previous definition [ 264s] #define KERN_WARNING [ 264s] ^ [ 264s] gpio.c:23:0: warning: "WARN" redefined [ 264s] #define WARN(nmu, fmt...) printf(fmt) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:275:0: note: this is the location of the previous definition [ 264s] #define WARN(condition, format...) ({ \ [ 264s] ^ [ 264s] gpio.c:24:0: warning: "WARN_ON" redefined [ 264s] #define WARN_ON(num) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:266:0: note: this is the location of the previous definition [ 264s] #define WARN_ON(condition) ({ \ [ 264s] ^ [ 264s] gpio.c:25:0: warning: "BUG_ON" redefined [ 264s] #define BUG_ON(__cond__) if(__cond__) printf("%s line: %d bug on\n", __FUNCTION__, __LINE__) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:148:0: note: this is the location of the previous definition [ 264s] #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) [ 264s] ^ [ 264s] gpio.c:26:0: warning: "pr_err" redefined [ 264s] #define pr_err(fmt...) printf(fmt) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:241:0: note: this is the location of the previous definition [ 264s] #define pr_err(fmt, ...) \ [ 264s] ^ [ 264s] gpio.c:27:0: warning: "ARRAY_SIZE" redefined [ 264s] #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:753:0: note: this is the location of the previous definition [ 264s] #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) [ 264s] ^ [ 264s] gpio.c:28:0: warning: "pr_debug" redefined [ 264s] #define pr_debug(fmt...) printf(fmt) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 264s] from gpio.c:15: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 264s] #define pr_debug(fmt, ...) [ 264s] ^ [ 264s] gpio.c:36:0: warning: "GPIO_DBG" redefined [ 264s] #define GPIO_DBG(fmt...) [ 264s] ^ [ 264s] In file included from gpio.c:16:0: [ 264s] /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 [ 264s] #define GPIO_DBG(fmt...) printf(fmt) [ 264s] ^ [ 264s] gpio.c:60:0: warning: "GPIO_INVALID_ID" redefined [ 264s] #define GPIO_INVALID_ID 0xffff [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 264s] from gpio.c:16: [ 264s] /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 [ 264s] #define GPIO_INVALID_ID 0x0FF [ 264s] ^ [ 264s] gpio.c: In function '__gpio_set_dir': [ 264s] gpio.c:101:16: warning: unused variable 'flags' [-Wunused-variable] [ 264s] unsigned long flags; [ 264s] ^ [ 264s] gpio.c: In function '__gpio_set_pin_data': [ 264s] gpio.c:265:16: warning: unused variable 'flags' [-Wunused-variable] [ 264s] unsigned long flags; [ 264s] ^ [ 264s] gpio.c: In function '__gpio_set_data_mask': [ 264s] gpio.c:294:16: warning: unused variable 'flags' [-Wunused-variable] [ 264s] unsigned long flags; [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 264s] from gpio.c:15: [ 264s] gpio.c: At top level: [ 264s] /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] [ 264s] static bool gpio_is_valid(int number) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from cmd_itest.c:31: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] 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 \ [ 264s] -o cmd_load.o cmd_load.c -c [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 264s] 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 \ [ 264s] -o gpio_phy.o gpio_phy.c -c [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from cmd_load.c:27: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 264s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 264s] from gpio_phy.c:1: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 264s] #define CONFIG_MMC 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_MMC [ 264s] ^ [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 264s] #define CONFIG_EFI_PARTITION 1 [ 264s] ^ [ 264s] /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 [ 264s] #define CONFIG_EFI_PARTITION [ 264s] ^ [ 264s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 264s] 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 \ [ 264s] -o sprd_i2c.o sprd_i2c.c -c [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 264s] from gpio_phy.c:3: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 264s] from gpio_phy.c:3: [ 264s] /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 [ 264s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 264s] ^ [ 264s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 264s] from gpio_phy.c:4: [ 264s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 264s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 264s] ^ [ 264s] In file included from gpio_phy.c:1:0: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 265s] #define MAX(x, y) max(x, y) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 265s] from gpio_phy.c:4: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 265s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 265s] ^ [ 265s] In file included from gpio_phy.c:1:0: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 265s] #define MIN(x, y) min(x, y) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 265s] from gpio_phy.c:5: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 265s] #define KPD_NUM (0x31 << 16) [ 265s] ^ [ 265s] /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 [ 265s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 265s] ^ [ 265s] In file included from gpio_phy.c:5:0: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function '__get_gpio_die': [ 265s] /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] [ 265s] WARN(1, "wrong gpio %d\r\n", gpio); [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 265s] /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] [ 265s] __raw_bits_and(value, reg_addr); [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 265s] /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] [ 265s] __raw_bits_or(value, reg_addr); [ 265s] ^ [ 265s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 265s] rm -f libinput.o; ar rcs libinput.o [ 265s] 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 \ [ 265s] -o clock.o clock.c -c [ 265s] 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 \ [ 265s] -o cmd_mem.o cmd_mem.c -c [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 265s] from sprd_i2c.c:25: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:34:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 265s] #define KPD_NUM (0x31 << 16) [ 265s] ^ [ 265s] /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 [ 265s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 265s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 265s] ^ [ 265s] /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 [ 265s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 265s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /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 [ 265s] #define ADC_BASE 0x40038300 //Aux ADC [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /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 [ 265s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /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 [ 265s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 265s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 265s] ^ [ 265s] /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 [ 265s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 265s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 265s] ^ [ 265s] /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 [ 265s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 265s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 265s] ^ [ 265s] /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 [ 265s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 265s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /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 [ 265s] #define RTC_BASE [ 244.804016] serial8250: too much work for irq4 [ 265s] 0x40038080 [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 265s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 265s] from sprd_i2c.c:30: [ 265s] /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 [ 265s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 265s] ^ [ 265s] sprd_i2c.c:283:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 265s] PUBLIC uint32 I2C_GetSCLclk() [ 265s] ^ [ 265s] sprd_i2c.c: In function 'I2C_WriteCmdArr': [ 265s] sprd_i2c.c:470:21: warning: unused variable 'curtime' [-Wunused-variable] [ 265s] volatile uint32 curtime = 0; [ 265s] ^ [ 265s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 265s] make -C drivers/misc/ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 265s] from cmd_mem.c:30: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] cmd_mem.c: In function 'do_mem_loop': [ 265s] cmd_mem.c:477:25: warning: variable 'junk' set but not used [-Wunused-but-set-variable] [ 265s] ulong addr, length, i, junk; [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 265s] from clock.c:15: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] 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 \ [ 265s] -o i2c_hal.o i2c_hal.c -c [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 265s] from clock.c:25: [ 265s] /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 [ 265s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 265s] from clock.c:25: [ 265s] /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 [ 265s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 265s] from i2c_hal.c:19: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] i2c_hal.c: In function 'I2C_Bus_Init': [ 265s] i2c_hal.c:120:15: warning: statement with no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Init"); [ 265s] ^ [ 265s] i2c_hal.c: In function 'I2C_Bus_Exit': [ 265s] i2c_hal.c:154:51: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 265s] ^ [ 265s] i2c_hal.c:154:15: warning: statement with no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 265s] ^ [ 265s] i2c_hal.c: In function 'I2C_HAL_Open': [ 265s] i2c_hal.c:222:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 265s] ^ [ 265s] i2c_hal.c:222:67: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 265s] ^ [ 265s] i2c_hal.c:222:15: warning: statement with no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 265s] ^ [ 265s] i2c_hal.c: In function 'I2C_HAL_Close': [ 265s] i2c_hal.c:268:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 265s] ^ [ 265s] i2c_hal.c:268:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 265s] ^ [ 265s] i2c_hal.c:268:15: warning: statement with no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 265s] ^ [ 265s] clock.c: In function 'clk_set_rate': [ 265s] clock.c:138:16: warning: unused variable 'flags' [-Wunused-variable] [ 265s] unsigned long flags; [ 265s] ^ [ 265s] clock.c: In function 'clk_set_parent': [ 265s] clock.c:171:16: warning: unused variable 'flags' [-Wunused-variable] [ 265s] unsigned long flags; [ 265s] ^ [ 265s] clock.c: In function 'sci_clk_enable': [ 265s] clock.c:222:4: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 265s] sci_glb_set(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 265s] ^ [ 265s] clock.c:224:4: warning: implicit declaration of function 'sci_glb_clr' [-Wimplicit-function-declaration] [ 265s] sci_glb_clr(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 265s] ^ [ 265s] clock.c: In function 'sci_clk_is_enable': [ 265s] clock.c:240:7: warning: implicit declaration of function 'sci_glb_read' [-Wimplicit-function-declaration] [ 265s] ! !sci_glb_read(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 265s] ^ [ 265s] clock.c: In function 'sci_clk_set_rate': [ 265s] clock.c:258:2: warning: implicit declaration of function 'sci_glb_write' [-Wimplicit-function-declaration] [ 265s] sci_glb_write(c->regs->div.reg, div << div_shift, c->regs->div.mask); [ 265s] ^ [ 265s] clock.c: In function 'sci_clk_register': [ 265s] clock.c:444:2: warning: implicit declaration of function 'clkdev_add' [-Wimplicit-function-declaration] [ 265s] clkdev_add(cl); [ 265s] ^ [ 265s] clock.c: At top level: [ 265s] clock.c:480:19: warning: initialization from incompatible pointer type [ 265s] .notifier_call = __clk_cpufreq_notifier [ 265s] ^ [ 265s] clock.c:480:19: warning: (near initialization for '__clk_cpufreq_notifier_block.notifier_call') [ 265s] clock.c:518:1: warning: data definition has no type or storage class [ 265s] arch_initcall(sci_clock_init); [ 265s] ^ [ 265s] 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 \ [ 265s] -o cmd_misc.o cmd_misc.c -c [ 265s] clock.c:518:1: warning: type defaults to 'int' in declaration of 'arch_initcall' [-Wimplicit-int] [ 265s] clock.c:518:1: warning: parameter names (without types) in function declaration [ 265s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 265s] clock.c:519:1: warning: data definition has no type or storage class [ 265s] late_initcall_sync(sci_clock_dump); [ 265s] ^ [ 265s] clock.c:519:1: warning: type defaults to 'int' in declaration of 'late_initcall_sync' [-Wimplicit-int] [ 265s] clock.c:519:1: warning: parameter names (without types) in function declaration [ 265s] clock.c:452:19: warning: 'sci_clock_dump' defined but not used [-Wunused-function] [ 265s] static int __init sci_clock_dump(void) [ 265s] ^ [ 265s] clock.c:479:30: warning: '__clk_cpufreq_notifier_block' defined but not used [-Wunused-variable] [ 265s] static struct notifier_block __clk_cpufreq_notifier_block = { [ 265s] ^ [ 265s] 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 \ [ 265s] -o sc8830_i2c_cfg.o sc8830_i2c_cfg.c -c [ 265s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 265s] from cmd_misc.c:27: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 265s] from sc8830_i2c_cfg.h:21, [ 265s] from sc8830_i2c_cfg.c:20: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] 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 \ [ 265s] -o v0/i2c_phy_v0.o v0/i2c_phy_v0.c -c [ 265s] 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 \ [ 265s] -o cmd_mmc.o cmd_mmc.c -c [ 265s] 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 \ [ 265s] -o clock_test.o clock_test.c -c [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 265s] from v0/i2c_reg_v0.h:28, [ 265s] from v0/i2c_phy_v0.c:22: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 265s] from v0/i2c_phy_v0.c:23: [ 265s] /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 [ 265s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 265s] from v0/i2c_phy_v0.c:23: [ 265s] /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 [ 265s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 265s] ^ [ 265s] v0/i2c_phy_v0.c: In function 'I2C_PHY_ControlInit_V0': [ 265s] v0/i2c_phy_v0.c:250:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 265s] ^ [ 265s] v0/i2c_phy_v0.c:250:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 265s] ^ [ 265s] v0/i2c_phy_v0.c:250:15: warning: statement with no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 265s] ^ [ 265s] v0/i2c_phy_v0.c: In function 'I2C_PHY_StartBus_V0': [ 265s] v0/i2c_phy_v0.c:283:55: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 265s] ^ [ 265s] v0/i2c_phy_v0.c:283:15: warning: statement with no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 265s] ^ [ 265s] v0/i2c_phy_v0.c: In function 'I2C_PHY_WriteBytes_V0': [ 265s] v0/i2c_phy_v0.c:326:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 265s] ^ [ 265s] v0/i2c_phy_v0.c:326:19: warning: statement with no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 265s] ^ [ 265s] v0/i2c_phy_v0.c: In function 'I2C_PHY_ReadBytes_V0': [ 265s] v0/i2c_phy_v0.c:369:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 265s] ^ [ 265s] v0/i2c_phy_v0.c:369:19: warning: statement with no effect [-Wunused-value] [ 265s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 265s] from cmd_mmc.c:24: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 265s] rm -f libmisc.o; ar rcs libmisc.o [ 265s] ld -r -o libi2c.o sprd_i2c.o i2c_hal.o sc8830_i2c_cfg.o v0/i2c_phy_v0.o [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 265s] from clock_test.c:1: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] 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 \ [ 265s] -o cmd_nvedit.o cmd_nvedit.c -c [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 265s] 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 \ [ 265s] -o check_reboot.o check_reboot.c -c [ 265s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 265s] make -C drivers/mmc/ [ 265s] clock_test.c: In function 'get_clock_rate': [ 265s] clock_test.c:13:2: warning: implicit declaration of function 'clk_get' [-Wimplicit-function-declaration] [ 265s] clk =clk_get(0, clk_name); [ 265s] ^ [ 265s] clock_test.c:13:6: warning: assignment makes pointer from integer without a cast [ 265s] clk =clk_get(0, clk_name); [ 265s] ^ [ 265s] clock_test.c:17:3: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 265s] printf("%s can't find!\r\n"); [ 265s] ^ [ 265s] clock_test.c: At top level: [ 265s] clock_test.c:33:46: warning: type defaults to 'int' in declaration of 'clk_name' [-Wimplicit-int] [ 265s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 265s] ^ [ 265s] clock_test.c: In function 'change_clock_rate': [ 265s] clock_test.c:37:6: warning: assignment makes pointer from integer without a cast [ 265s] clk =clk_get(0, clk_name); [ 265s] ^ [ 265s] clock_test.c:41:3: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 265s] printf("%s can't find!\r\n"); [ 265s] ^ [ 265s] clock_test.c:60:2: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'const int *' [-Wformat=] [ 265s] printf("%s ==> %d\r\n", clk_name, rate); [ 265s] ^ [ 265s] clock_test.c: At top level: [ 265s] clock_test.c:64:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 265s] void clock_test() [ 265s] ^ [ 265s] clock_test.c: In function 'clock_test': [ 265s] clock_test.c:68:2: warning: implicit declaration of function 'sci_clock_init' [-Wimplicit-function-declaration] [ 265s] sci_clock_init(); [ 265s] ^ [ 265s] clock_test.c:71:3: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'const u32 *' [-Wformat=] [ 265s] &__clkinit_begin, __clkinit_begin, &__clkinit_end, __clkinit_end); [ 265s] ^ [ 265s] clock_test.c:71:3: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'const u32 *' [-Wformat=] [ 265s] clock_test.c:77:8: warning: assignment makes pointer from integer without a cast [ 265s] clk =clk_get(0, cl->con_id); [ 265s] ^ [ 265s] clock_test.c:82:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 265s] printf("1.clk: %s, rate: %d\r\n", cl->con_id, clk->ops->get_rate(clk)); [ 265s] ^ [ 265s] clock_test.c:86:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 265s] printf("2.clk: %s, rate: %d\r\n", cl->con_id, clk->rate); [ 265s] ^ [ 265s] clock_test.c:103:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 265s] change_clock_rate("clk_emmc", 192000000); [ 265s] ^ [ 265s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 265s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 265s] ^ [ 265s] clock_test.c:107:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 265s] change_clock_rate("clk_apb", 100000000); [ 265s] ^ [ 265s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 265s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 265s] ^ [ 265s] clock_test.c:112:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 265s] change_clock_rate("clk_emc", 100000000); [ 265s] ^ [ 265s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 265s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 265s] ^ [ 265s] clock_test.c:116:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 265s] change_clock_rate("clk_dbg", 200000000); [ 265s] ^ [ 265s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 265s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 265s] from cmd_nvedit.c:41: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 265s] from check_reboot.c:1: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 265s] #define CONFIG_MMC 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_MMC [ 265s] ^ [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 265s] #define CONFIG_EFI_PARTITION 1 [ 265s] ^ [ 265s] /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 [ 265s] #define CONFIG_EFI_PARTITION [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 265s] from check_reboot.c:2: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 265s] #define KPD_NUM (0x31 << 16) [ 265s] ^ [ 265s] /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 [ 265s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 265s] from check_reboot.c:2: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 265s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 265s] ^ [ 265s] /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 [ 265s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 265s] from check_reboot.c:4: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 265s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 265s] from check_reboot.c:2: [ 265s] /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 [ 265s] #define ADC_BASE 0x40038300 //Aux ADC [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 265s] from check_reboot.c:4: [ 265s] /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 [ 265s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 265s] from check_reboot.c:4: [ 265s] /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 [ 265s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 265s] ^ [ 265s] In file included from check_reboot.c:6:0: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 265s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 265s] from check_reboot.c:2: [ 265s] /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 [ 265s] #define RTC_BASE 0x40038080 [ 265s] ^ [ 265s] In file included from check_reboot.c:7:0: [ 265s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 265s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 265s] ^ [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 265s] from check_reboot.c:4: [ 265s] /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 [ 265s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 265s] ^ [ 265s] check_reboot.c: In function 'check_reboot_mode': [ 265s] check_reboot.c:47:11: warning: unused variable 'val' [-Wunused-variable] [ 265s] unsigned val, rst_mode= 0; [ 265s] ^ [ 265s] check_reboot.c: At top level: [ 265s] check_reboot.c:123:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 265s] int get_mode_from_gpio() [ 265s] ^ [ 265s] check_reboot.c: In function 'get_mode_from_gpio': [ 265s] check_reboot.c:129:2: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 265s] ret = (hw_rst_mode & HW_PBINT2_STATUS) && !charger_connected(); [ 265s] ^ [ 265s] check_reboot.c: In function 'reboot_devices': [ 265s] check_reboot.c:150:2: warning: implicit declaration of function 'reset_cpu' [-Wimplicit-function-declaration] [ 265s] reset_cpu(0); [ 265s] ^ [ 265s] check_reboot.c: In function 'power_down_devices': [ 265s] check_reboot.c:154:2: warning: implicit declaration of function 'power_down_cpu' [-Wimplicit-function-declaration] [ 265s] power_down_cpu(0); [ 265s] ^ [ 265s] check_reboot.c: In function 'power_button_pressed': [ 265s] check_reboot.c:167:2: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 265s] sci_glb_set(REG_AON_APB_APB_EB0,BIT_AON_GPIO_EB | BIT_EIC_EB); [ 265s] ^ [ 265s] check_reboot.c:179:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 265s] udelay(3000); [ 265s] ^ [ 265s] check_reboot.c: In function 'charger_connected': [ 265s] check_reboot.c:192:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 265s] sprd_eic_request(EIC_CHG_INT); [ 265s] ^ [ 265s] check_reboot.c:201:2: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 265s] return !!sprd_eic_get(EIC_CHG_INT); [ 265s] ^ [ 265s] 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 \ [ 265s] -o cmd_pcmcia.o cmd_pcmcia.c -c [ 265s] cmd_nvedit.c: In function 'do_env_edit': [ 265s] cmd_nvedit.c:427:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] [ 265s] int len; [ 265s] ^ [ 265s] 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 \ [ 265s] -o eic.o eic.c -c [ 265s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 265s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from cmd_pcmcia.c:56: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] 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 \ [ 266s] -o cmd_source.o cmd_source.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 266s] from eic.c:15: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 266s] from eic.c:15: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 266s] from eic.c:16: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from eic.c:20:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 266s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:34:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 266s] from eic.c:15: [ 266s] /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 [ 266s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 266s] ^ [ 266s] eic.c: In function '__get_eic_base_info': [ 266s] eic.c:81:24: warning: unused variable 'section_table' [-Wunused-variable] [ 266s] struct gpio_section *section_table; [ 266s] ^ [ 266s] eic.c:80:6: warning: unused variable 'table_size' [-Wunused-variable] [ 266s] u32 table_size = 0; [ 266s] ^ [ 266s] eic.c:79:6: warning: unused variable 'i' [-Wunused-variable] [ 266s] int i = 0; [ 266s] ^ [ 266s] eic.c: In function '__eic_get_pin_data': [ 266s] eic.c:108:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 266s] u32 offset_addr = 0; [ 266s] ^ [ 266s] eic.c: In function '__eic_get_data_mask': [ 266s] eic.c:129:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 266s] u32 offset_addr = 0; [ 266s] ^ [ 266s] eic.c: In function '__eic_set_data_mask': [ 266s] eic.c:153:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 266s] u32 offset_addr = 0; [ 266s] ^ [ 266s] eic.c: In function 'sprd_eic_get': [ 266s] eic.c:200:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 266s] WARN(1, "GPIO_%d data mask hasn't been opened!\n", eic_id); [ 266s] ^ [ 266s] eic.c: At top level: [ 266s] eic.c:244:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] int get_volumn_down_status2() [ 266s] ^ [ 266s] eic.c: In function 'get_volumn_down_status2': [ 266s] eic.c:250:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 266s] udelay(3000); [ 266s] ^ [ 266s] eic.c: At top level: [ 266s] eic.c:226:13: warning: 'sprd_eic_free' defined but not used [-Wunused-function] [ 266s] static void sprd_eic_free(unsigned offset) [ 266s] ^ [ 266s] 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 \ [ 266s] -o cmd_version.o cmd_version.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from cmd_source.c:34: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] 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 \ [ 266s] -o vibrator_sc2723.o vibrator_sc2723.c -c [ 266s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 266s] 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 \ [ 266s] -o cmd_ximg.o cmd_ximg.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from cmd_version.c:24: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from vibrator_sc2723.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 266s] from vibrator_sc2723.c:3: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 266s] #define KPD_NUM (0x31 << 16) [ 266s] ^ [ 266s] /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 [ 266s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from vibrator_sc2723.c:3: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 266s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 266s] ^ [ 266s] /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 [ 266s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 266s] from vibrator_sc2723.c:6: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 266s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from vibrator_sc2723.c:3: [ 266s] /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 [ 266s] #define ADC_BASE 0x40038300 //Aux ADC [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 266s] from vibrator_sc2723.c:6: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 266s] from vibrator_sc2723.c:6: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 266s] ^ [ 266s] 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 \ [ 266s] -o otp-helper.o otp-helper.c -c [ 266s] In file included from vibrator_sc2723.c:6:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 266s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 266s] from vibrator_sc2723.c:6: [ 266s] /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 [ 266s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 266s] ^ [ 266s] make -C drivers/mtd/ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from cmd_ximg.c:31: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from otp-helper.c:21: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] 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 \ [ 266s] -o command.o command.c -c [ 266s] otp-helper.c: In function 'efuse_prog': [ 266s] otp-helper.c:44:2: warning: implicit declaration of function '__ddie_efuse_prog' [-Wimplicit-function-declaration] [ 266s] return __ddie_efuse_prog(blk_index,val); [ 266s] ^ [ 266s] otp-helper.c: In function 'sci_efuse_calibration_get': [ 266s] otp-helper.c:56:9: warning: implicit declaration of function '__adie_efuse_read' [-Wimplicit-function-declaration] [ 266s] adc_temp = (__adie_efuse_read(0) & (1 << 7)); [ 266s] ^ [ 266s] 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 \ [ 266s] -o efuse.o efuse.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from command.c:28: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from efuse.c:43: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 266s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 266s] from efuse.c:48: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 266s] from efuse.c:48: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 266s] ^ [ 266s] 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 \ [ 266s] -o console.o console.c -c [ 266s] 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 \ [ 266s] -o ana_efuse.o ana_efuse.c -c [ 266s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from ana_efuse.c:20: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from console.c:24: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 266s] 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 \ [ 266s] -o mmc.o mmc.c -c [ 266s] console.c: In function 'ram_puts': [ 266s] console.c:210:4: warning: assignment from incompatible pointer type [ 266s] p = (unsigned char*)CONFIG_RAM_CONSOLE_START + used_size; [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 266s] from ana_efuse.c:25: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 266s] from ana_efuse.c:25: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 266s] ^ [ 266s] ana_efuse.c:85:13: warning: 'adie_efuse_reset' defined but not used [-Wunused-function] [ 266s] static void adie_efuse_reset(void) [ 266s] ^ [ 266s] 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 \ [ 266s] -o watchdog.o watchdog.c -c [ 266s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 266s] rm -f libmtd.o; ar rcs libmtd.o [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from mmc.c:26: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from mmc.c:37:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 266s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 266s] ^ [ 266s] /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 [ 266s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 266s] from mmc.c:47: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 266s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from mmc.c:27:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 266s] #define MAX(x, y) max(x, y) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 266s] from mmc.c:47: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 266s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from mmc.c:27:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 266s] #define MIN(x, y) min(x, y) [ 266s] ^ [ 266s] In file included from mmc.c:52:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 266s] #define KPD_NUM (0x31 << 16) [ 266s] ^ [ 266s] /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 [ 266s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 266s] ^ [ 266s] mmc.c: In function 'mmc_bwrite': [ 266s] mmc.c:160:3: warning: implicit declaration of function 'Emmc_Write' [-Wimplicit-function-declaration] [ 266s] if(Emmc_Write(0, start, blkcnt, (uint8*)src)) [ 266s] ^ [ 266s] mmc.c: In function 'mmc_bread': [ 266s] mmc.c:240:3: warning: implicit declaration of function 'Emmc_Read' [-Wimplicit-function-declaration] [ 266s] if(Emmc_Read(0, start, blkcnt, (uint8*)dst)) [ 266s] ^ [ 266s] mmc.c: In function 'mmc_register': [ 266s] mmc.c:915:3: warning: implicit declaration of function 'Emmc_GetCapacity' [-Wimplicit-function-declaration] [ 266s] mmc->block_dev.lba = Emmc_GetCapacity(0);; [ 266s] ^ [ 266s] mmc.c: In function 'mmc_legacy_init': [ 266s] mmc.c:1027:2: warning: implicit declaration of function 'Emmc_Init' [-Wimplicit-function-declaration] [ 266s] if(TRUE == Emmc_Init()) [ 266s] ^ [ 266s] mmc.c:1025:11: warning: unused variable 'rca' [-Wunused-variable] [ 266s] uint16_t rca = 0; [ 266s] ^ [ 266s] mmc.c:1024:12: warning: unused variable 'resp' [-Wunused-variable] [ 266s] uint32_t *resp; [ 266s] ^ [ 266s] mmc.c:1023:11: warning: unused variable 'cid_resp' [-Wunused-variable] [ 266s] uint32_t cid_resp[4]; [ 266s] ^ [ 266s] mmc.c:1022:6: warning: unused variable 'retries' [-Wunused-variable] [ 266s] int retries, rc = -ENODEV; [ 266s] ^ [ 266s] mmc.c: At top level: [ 266s] mmc.c:1053:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] int mmc_sdcard_init() [ 266s] ^ [ 266s] mmc.c: In function 'mmc_sdcard_init': [ 266s] mmc.c:1056:2: warning: implicit declaration of function 'SDCARD_PowerOn' [-Wimplicit-function-declaration] [ 266s] if (TRUE == SDCARD_PowerOn()) { [ 266s] ^ [ 266s] 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 \ [ 266s] -o dlmalloc.o dlmalloc.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from watchdog.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 266s] from watchdog.c:3: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 266s] #define KPD_NUM (0x31 << 16) [ 266s] ^ [ 266s] /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 [ 266s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from watchdog.c:3: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 266s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 266s] ^ [ 266s] /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 [ 266s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 266s] ^ [ 266s] watchdog.c: In function 'start_watchdog': [ 266s] watchdog.c:9:2: warning: implicit declaration of function 'WDG_ClockOn' [-Wimplicit-function-declaration] [ 266s] WDG_ClockOn(); [ 266s] ^ [ 266s] watchdog.c:10:5: warning: implicit declaration of function 'WDG_ResetMCU' [-Wimplicit-function-declaration] [ 266s] WDG_ResetMCU(); [ 266s] ^ [ 266s] watchdog.c: In function 'stop_watchdog': [ 266s] watchdog.c:15:5: warning: implicit declaration of function 'WDG_TimerStop' [-Wimplicit-function-declaration] [ 266s] WDG_TimerStop(); [ 266s] ^ [ 266s] watchdog.c: In function 'init_watchdog': [ 266s] watchdog.c:21:5: warning: implicit declaration of function 'WDG_TimerInit' [-Wimplicit-function-declaration] [ 266s] WDG_TimerInit(); [ 266s] ^ [ 266s] watchdog.c: In function 'load_watchdog': [ 266s] watchdog.c:30:5: warning: implicit declaration of function 'WDG_TimerLoad' [-Wimplicit-function-declaration] [ 266s] WDG_TimerLoad(time_ms); [ 266s] ^ [ 266s] watchdog.c: In function 'hw_watchdog_rst_pending': [ 266s] watchdog.c:41:2: warning: implicit declaration of function 'WDG_PHY_RST_INT_ON' [-Wimplicit-function-declaration] [ 266s] return WDG_PHY_RST_INT_ON(); [ 266s] ^ [ 266s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 266s] 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 \ [ 266s] -o mv_sdhci.o mv_sdhci.c -c [ 266s] 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 \ [ 266s] -o watchdog_phy_v3.o watchdog_phy_v3.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from dlmalloc.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/os_api.h:12, [ 266s] from watchdog_phy_v3.c:19: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from watchdog_phy_v3.c:20: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 266s] #define KPD_NUM (0x31 << 16) [ 266s] ^ [ 266s] /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 [ 266s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from watchdog_phy_v3.c:20: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 266s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 266s] ^ [ 266s] /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 [ 266s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 266s] from watchdog_phy_v3.c:23: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 266s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from watchdog_phy_v3.c:20: [ 266s] /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 [ 266s] #define ADC_BASE 0x40038300 //Aux ADC [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from mv_sdhci.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 266s] from watchdog_phy_v3.c:23: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 266s] from watchdog_phy_v3.c:23: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 266s] ^ [ 266s] In file included from watchdog_phy_v3.c:23:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 266s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from watchdog_phy_v3.c:20: [ 266s] /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 [ 266s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 266s] ^ [ 266s] watchdog_phy_v3.c:40:67: warning: backslash and newline separated by space [ 266s] ANA_REG_SET( WDG_LOAD_LOW , (uint16)((value) & 0xffff) );\ [ 266s] ^ [ 266s] watchdog_phy_v3.c: In function 'WDG_PHY_CONFIG': [ 266s] watchdog_phy_v3.c:103:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 266s] WDG_TRACE ("Watch Dog Trace: Watch Dog Control 0x%8.8x", ANA_REG_GET (WDG_CTRL)); [ 266s] ^ [ 266s] watchdog_phy_v3.c:65:12: warning: unused variable 'val' [-Wunused-variable] [ 266s] uint32 val = 0; [ 266s] ^ [ 266s] watchdog_phy_v3.c:64:12: warning: unused variable 'ctrl' [-Wunused-variable] [ 266s] uint32 ctrl = 0; [ 266s] ^ [ 266s] 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 \ [ 266s] -o watchdog_hal.o watchdog_hal.c -c [ 266s] mv_sdhci.c: In function 'sdhci_dumpregs': [ 266s] mv_sdhci.c:18:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 266s] printf(KERN_DEBUG DRIVER_NAME ": address 0x%08x | value 0x%08x\n", host->ioaddr + i*4, sdhci_readl(host, i*4)); [ 266s] ^ [ 266s] mv_sdhci.c: In function 'sdhci_sprd_set_base_clock': [ 266s] mv_sdhci.c:65:16: warning: unused variable 'flags' [-Wunused-variable] [ 266s] unsigned long flags; [ 266s] ^ [ 266s] mv_sdhci.c: At top level: [ 266s] mv_sdhci.c:63:13: warning: 'sdhci_sprd_set_base_clock' defined but not used [-Wunused-function] [ 266s] static void sdhci_sprd_set_base_clock(unsigned int clock) [ 266s] ^ [ 266s] 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 \ [ 266s] -o sdhci.o sdhci.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 266s] from watchdog_hal.c:22: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from watchdog_hal.c:23: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 266s] #define KPD_NUM (0x31 << 16) [ 266s] ^ [ 266s] /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 [ 266s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from watchdog_hal.c:23: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 266s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 266s] ^ [ 266s] /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 [ 266s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 266s] from watchdog_hal.c:28: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 266s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from watchdog_hal.c:23: [ 266s] /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 [ 266s] #define ADC_BASE 0x40038300 //Aux ADC [ 266s] ^ [ 266s] 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 \ [ 266s] -o chip_cfg.o chip_cfg.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 266s] from watchdog_hal.c:28: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 266s] from watchdog_hal.c:28: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 266s] ^ [ 266s] In file included from watchdog_hal.c:28:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 266s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from watchdog_hal.c:23: [ 266s] /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 [ 266s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 266s] ^ [ 266s] watchdog_hal.c: In function 'WDG_TimerStop': [ 266s] watchdog_hal.c:49:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 266s] WDG_TRACE ("Watch Dog Trace: WDG_TimerStop"); [ 266s] ^ [ 266s] watchdog_hal.c:47:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 266s] int32 ret; [ 266s] ^ [ 266s] watchdog_hal.c: In function 'WDG_TimerStart': [ 266s] watchdog_hal.c:73:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 266s] int32 ret; [ 266s] ^ [ 266s] watchdog_hal.c: In function 'WDG_TimerInit': [ 266s] watchdog_hal.c:104:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 266s] int32 ret; [ 266s] ^ [ 266s] watchdog_hal.c:103:18: warning: unused variable 'status' [-Wunused-variable] [ 266s] uint32 status; [ 266s] ^ [ 266s] watchdog_hal.c: In function 'WDG_ResetMCU': [ 266s] watchdog_hal.c:123:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 266s] int32 ret; [ 266s] ^ [ 266s] watchdog_hal.c: In function 'WDG_TimerLoad': [ 266s] watchdog_hal.c:141:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 266s] int32 ret; [ 266s] ^ [ 266s] make -C drivers/mtd/nand/ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from sdhci.c:27: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] sdhci.c: In function 'sdhci_send_command': [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 266s] from chip_cfg.c:21: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] sdhci.c:198:3: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 266s] Dcache_CleanRegion(start_addr, trans_bytes); [ 266s] ^ [ 266s] sdhci.c:199:3: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 266s] Dcache_InvalRegion(start_addr, trans_bytes); [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from chip_cfg.c:23: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 266s] #define KPD_NUM (0x31 << 16) [ 266s] ^ [ 266s] /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 [ 266s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from chip_cfg.c:23: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 266s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 266s] ^ [ 266s] /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 [ 266s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 266s] ^ [ 266s] 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 \ [ 266s] -o chip_x30g/chip_phy_x30g.o chip_x30g/chip_phy_x30g.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:23, [ 266s] from chip_x30g/chip_phy_x30g.c:22: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from chip_x30g/chip_phy_x30g.c:22: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 266s] #define KPD_NUM (0x31 << 16) [ 266s] ^ [ 266s] /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 [ 266s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from chip_x30g/chip_phy_x30g.c:22: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 266s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 266s] ^ [ 266s] /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 [ 266s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 266s] from chip_x30g/chip_phy_x30g.c:25: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 266s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from chip_x30g/chip_phy_x30g.c:22: [ 266s] /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 [ 266s] #define ADC_BASE 0x40038300 //Aux ADC [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 266s] from chip_x30g/chip_phy_x30g.c:25: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 266s] from chip_x30g/chip_phy_x30g.c:25: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 266s] ^ [ 266s] In file included from chip_x30g/chip_phy_x30g.c:26:0: [ 266s] /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] [ 266s] PUBLIC void BOOT_ResetHWFlag (); [ 266s] ^ [ 266s] In file included from chip_x30g/chip_phy_x30g.c:27:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 266s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 266s] from chip_x30g/chip_phy_x30g.c:25: [ 266s] /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 [ 266s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 266s] ^ [ 266s] chip_x30g/chip_phy_x30g.c:203:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] PUBLIC void CHIP_PHY_BootIramEn () [ 266s] ^ [ 266s] chip_x30g/chip_phy_x30g.c:236:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] PUBLIC BOOLEAN CHIP_PHY_IsResetByPowerUp() [ 266s] ^ [ 266s] chip_x30g/chip_phy_x30g.c:255:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] PUBLIC BOOLEAN CHIP_PHY_IsResetByWatchDog() [ 266s] ^ [ 266s] chip_x30g/chip_phy_x30g.c: In function 'TDPllRefConfig': [ 266s] chip_x30g/chip_phy_x30g.c:297:5: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 266s] udelay(1); [ 266s] ^ [ 266s] chip_x30g/chip_phy_x30g.c: In function 'dcdc_core_ds_config': [ 266s] chip_x30g/chip_phy_x30g.c:721:16: warning: unused variable 'reg_val' [-Wunused-variable] [ 266s] uint32 reg_val = 0; [ 266s] ^ [ 266s] chip_x30g/chip_phy_x30g.c:720:16: warning: unused variable 'dcdc_core_ctl_adi' [-Wunused-variable] [ 266s] uint32 dcdc_core_ctl_adi = 0; [ 266s] ^ [ 266s] chip_x30g/chip_phy_x30g.c: At top level: [ 266s] chip_x30g/chip_phy_x30g.c:846:2: warning: missing braces around initializer [-Wmissing-braces] [ 266s] 0x402b006c, [ 266s] ^ [ 266s] chip_x30g/chip_phy_x30g.c:846:2: warning: (near initialization for 'lp_cfg.reg') [-Wmissing-braces] [ 266s] chip_x30g/chip_phy_x30g.c: In function 'setup_ap_cp_sync_sleep_code': [ 266s] chip_x30g/chip_phy_x30g.c:868:16: warning: unused variable 'sa' [-Wunused-variable] [ 266s] unsigned int *sa = (unsigned int*)start_addr; [ 266s] ^ [ 266s] chip_x30g/chip_phy_x30g.c: In function 'CSP_Init': [ 266s] chip_x30g/chip_phy_x30g.c:888:2: warning: implicit declaration of function 'calibrate_register_callback' [-Wimplicit-function-declaration] [ 266s] calibrate_register_callback((void*)dcdc_core_ds_config); [ 266s] ^ [ 266s] 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 \ [ 266s] -o sdio_card_pal.o sdio_card_pal.c -c [ 266s] 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 \ [ 266s] -o env_common.o env_common.c -c [ 266s] 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 \ [ 266s] -o Tshark_boot_cp.o Tshark_boot_cp.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 266s] from sdio_card_pal.c:2: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from sdio_card_pal.c:7: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 266s] #define KPD_NUM (0x31 << 16) [ 266s] ^ [ 266s] /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 [ 266s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 266s] from sdio_card_pal.c:7: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 266s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 266s] ^ [ 266s] /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 [ 266s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 266s] ^ [ 266s] sdio_card_pal.c: In function 'SDIO_Card_Pal_Pwr': [ 266s] sdio_card_pal.c:524:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 266s] udelay(5000); [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from env_common.c:27: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 266s] from Tshark_boot_cp.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] sdio_card_pal.c: In function 'SDIO_Card_Pal_SendCmd': [ 266s] sdio_card_pal.c:809:16: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 266s] Dcache_CleanRegion((unsigned int)(dataParam->databuf), bufferSize); [ 266s] ^ [ 266s] sdio_card_pal.c:810:16: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 266s] Dcache_InvalRegion((unsigned int)(dataParam->databuf), bufferSize); [ 266s] ^ [ 266s] sdio_card_pal.c:826:3: warning: implicit declaration of function '_SDHOST_IrqHandle' [-Wimplicit-function-declaration] [ 266s] _SDHOST_IrqHandle(handle->sdio_No); [ 266s] ^ [ 266s] sdio_card_pal.c:754:13: warning: unused variable 'isr_status' [-Wunused-variable] [ 266s] uint32 isr_status; [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 266s] from Tshark_boot_cp.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 266s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 266s] from Tshark_boot_cp.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 266s] #define MAX(x, y) max(x, y) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 266s] from Tshark_boot_cp.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 266s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 266s] from Tshark_boot_cp.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 266s] #define MIN(x, y) min(x, y) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 266s] from Tshark_boot_cp.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 266s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 266s] ^ [ 266s] /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 [ 266s] #define VLR_INFO_OFF (512) [ 266s] ^ [ 266s] In file included from Tshark_boot_cp.c:1:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 266s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 266s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 266s] ^ [ 266s] In file included from Tshark_boot_cp.c:1:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] int read_spldata(); [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] void vlx_entry(); [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 266s] from Tshark_boo[ 246.380651] serial8250: too much work for irq4 [ 266s] t_cp.c:1: [ 266s] Tshark_boot_cp.c: In function 'boot_cp0': [ 266s] /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 [ 266s] #define CP0_CODE_COPY_ADR 0x50000000 [ 266s] ^ [ 266s] Tshark_boot_cp.c:9:9: note: in expansion of macro 'CP0_CODE_COPY_ADR' [ 266s] memcpy(CP0_CODE_COPY_ADR, m_data, sizeof(m_data)); /* copy cp0 source code */ [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 266s] from Tshark_boot_cp.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 266s] void* memcpy(void*, const void*, size_t); [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 266s] from Tshark_boot_cp.c:1: [ 266s] Tshark_boot_cp.c: In function 'boot_cp2': [ 266s] /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 [ 266s] #define CP2_CODE_COPY_ADR 0x50003000 [ 266s] ^ [ 266s] Tshark_boot_cp.c:35:9: note: in expansion of macro 'CP2_CODE_COPY_ADR' [ 266s] memcpy(CP2_CODE_COPY_ADR, wcndata, sizeof(wcndata)); /* copy cp2 source code */ [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 266s] from Tshark_boot_cp.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 266s] void* memcpy(void*, const void*, size_t); [ 266s] ^ [ 266s] 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 \ [ 266s] -o misc.o misc.c -c [ 266s] 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 \ [ 266s] -o env_nowhere.o env_nowhere.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from misc.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 266s] from misc.c:3: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 266s] from misc.c:3: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 266s] ^ [ 266s] In file included from misc.c:4:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 266s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from misc.c:1:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 266s] #define MAX(x, y) max(x, y) [ 266s] ^ [ 266s] In file included from misc.c:4:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 266s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from misc.c:1:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 266s] #define MIN(x, y) min(x, y) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from env_nowhere.c:27: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] misc.c:23:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] int sprd_jtag_enable() [ 266s] ^ [ 266s] misc.c:38:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] int sprd_jtag_disable() [ 266s] ^ [ 266s] misc.c:54:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] static void ap_slp_cp_dbg_cfg() [ 266s] ^ [ 266s] misc.c:59:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] static void ap_cpll_rel_cfg() [ 266s] ^ [ 266s] misc.c:64:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] static void bb_bg_auto_en() [ 266s] ^ [ 266s] misc.c:70:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] static void ap_close_wpll_en() [ 266s] ^ [ 266s] misc.c:75:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] static void ap_close_cpll_en() [ 266s] ^ [ 266s] misc.c:80:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] static void ap_close_wifipll_en() [ 266s] ^ [ 266s] misc.c:86:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] static void bb_ldo_auto_en() [ 266s] ^ [ 266s] misc.c: In function 'pmic_init': [ 266s] misc.c:410:6: warning: unused variable 'val' [-Wunused-variable] [ 266s] u32 val; [ 266s] ^ [ 266s] misc.c: At top level: [ 266s] misc.c:427:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] void gpu_clk_auto_gate_disable() [ 266s] ^ [ 266s] misc.c:432:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] void misc_init() [ 266s] ^ [ 266s] misc.c: In function 'misc_init': [ 266s] misc.c:458:2: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 266s] __raw_bits_or((BIT_CSI1_PHY_PD | BIT_CSI0_PHY_PD), REG_AON_APB_PWR_CTRL); [ 266s] ^ [ 266s] misc.c: In function 'get_dram_cs_number': [ 266s] misc.c:474:31: warning: initialization makes pointer from integer without a cast [ 266s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 266s] ^ [ 266s] misc.c: In function 'get_dram_cs0_size': [ 266s] misc.c:479:31: warning: initialization makes pointer from integer without a cast [ 266s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 266s] [ 246.416101] serial8250: too much work for irq4 [ 266s] ^ [ 266s] misc.c: At top level: [ 266s] misc.c:64:13: warning: 'bb_bg_auto_en' defined but not used [-Wunused-function] [ 266s] static void bb_bg_auto_en() [ 266s] ^ [ 266s] misc.c:70:13: warning: 'ap_close_wpll_en' defined but not used [-Wunused-function] [ 266s] static void ap_close_wpll_en() [ 266s] ^ [ 266s] misc.c:75:13: warning: 'ap_close_cpll_en' defined but not used [-Wunused-function] [ 266s] static void ap_close_cpll_en() [ 266s] ^ [ 266s] misc.c:80:13: warning: 'ap_close_wifipll_en' defined but not used [-Wunused-function] [ 266s] static void ap_close_wifipll_en() [ 266s] ^ [ 266s] misc.c:86:13: warning: 'bb_ldo_auto_en' defined but not used [-Wunused-function] [ 266s] static void bb_ldo_auto_en() [ 266s] ^ [ 266s] 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 \ [ 266s] -o exports.o exports.c -c [ 266s] 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 \ [ 266s] -o dcdc_cal_sc2723.o dcdc_cal_sc2723.c -c [ 266s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from exports.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from dcdc_cal_sc2723.c:1: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 266s] 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 \ [ 266s] -o sdhost_phy.o sdhost_phy.c -c [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 266s] from dcdc_cal_sc2723.c:4: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 266s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from dcdc_cal_sc2723.c:1:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 266s] #define MAX(x, y) max(x, y) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 266s] from dcdc_cal_sc2723.c:4: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 266s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from dcdc_cal_sc2723.c:1:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 266s] #define MIN(x, y) min(x, y) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 266s] from dcdc_cal_sc2723.c:5: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 266s] from dcdc_cal_sc2723.c:5: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 266s] ^ [ 266s] 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 \ [ 266s] -o fdt_support.o fdt_support.c -c [ 266s] dcdc_cal_sc2723.c:789:27: warning: initialization makes pointer from integer without a cast [ 266s] vol_para_t **ppvol_para = 0x50003C20; [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 266s] from sdhost_phy.c:19: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:34:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 266s] #define KPD_NUM (0x31 << 16) [ 266s] ^ [ 266s] /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 [ 266s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 266s] from fdt_support.c:26: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 266s] #define CONFIG_MMC 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_MMC [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 266s] #define CONFIG_EFI_PARTITION 1 [ 266s] ^ [ 266s] /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 [ 266s] #define CONFIG_EFI_PARTITION [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 266s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 266s] ^ [ 266s] /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 [ 266s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 266s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define ADC_BASE 0x40038300 //Aux ADC [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 266s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 266s] ^ [ 266s] /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 [ 266s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 266s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 266s] ^ [ 266s] /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 [ 266s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 266s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 266s] ^ [ 266s] /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 [ 266s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 266s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define RTC_BASE 0x40038080 [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 266s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 266s] ^ [ 266s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 266s] rm -f libnand.o; ar rcs libnand.o [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 266s] from fdt_support.c:35: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 266s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from fdt_support.c:26:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 266s] #define MAX(x, y) max(x, y) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 266s] from fdt_support.c:35: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 266s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 266s] ^ [ 266s] In file included from fdt_support.c:26:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 266s] #define MIN(x, y) min(x, y) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 266s] from fdt_support.c:35: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 266s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 266s] ^ [ 266s] /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 [ 266s] #define VLR_INFO_OFF (512) [ 266s] ^ [ 266s] In file included from fdt_support.c:35:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 266s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 266s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 266s] ^ [ 266s] In file included from fdt_support.c:35:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] int read_spldata(); [ 266s] ^ [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] void vlx_entry(); [ 266s] ^ [ 266s] fdt_support.c: In function 'fdt_initrd_norsvmem': [ 266s] fdt_support.c:222:17: warning: unused variable 'size' [-Wunused-variable] [ 266s] uint64_t addr, size; [ 266s] ^ [ 266s] fdt_support.c:222:11: warning: unused variable 'addr' [-Wunused-variable] [ 266s] uint64_t addr, size; [ 266s] ^ [ 266s] fdt_support.c: In function 'fdt_chosen_bootargs_replace': [ 266s] fdt_support.c:376:13: warning: assignment discards 'const' qualifier from pointer target type [ 266s] src = path; [ 266s] ^ [ 266s] fdt_support.c: In function 'fdt_fixup_lcdid': [ 266s] fdt_support.c:471:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 266s] extern uint32_t load_lcd_id_to_kernel(); [ 266s] ^ [ 266s] fdt_support.c: In function 'fdt_fixup_lcdbase': [ 266s] fdt_support.c:501:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] [ 266s] sprintf(&buf[str_len], "%x",lcd_base); [ 266s] ^ [ 266s] fdt_support.c: In function 'fdt_fixup_adc_calibration_data': [ 266s] fdt_support.c:628:41: warning: passing argument 1 of 'read_adc_calibration_data' from incompatible pointer type [ 266s] int ret = read_adc_calibration_data(adc_data,48); [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18:0, [ 266s] from fdt_support.c:35: [ 266s] /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 *' [ 266s] int read_adc_calibration_data(char *buffer,int size); [ 266s] ^ [ 266s] fdt_support.c:634:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 266s] int ret; [ 266s] ^ [ 266s] fdt_support.c: In function 'fdt_fixup_chosen_bootargs_board_private': [ 266s] fdt_support.c:732:2: warning: implicit declaration of function 'poweron_by_calibration' [-Wimplicit-function-declaration] [ 266s] fdt_fixup_chosen_bootargs_board(buf, boot_mode, poweron_by_calibration()); [ 266s] ^ [ 266s] fdt_support.c: In function 'fdt_debug_print_prop': [ 266s] fdt_support.c:1687:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 266s] printf("fdt addr: 0x%x\n", fdt); [ 266s] ^ [ 266s] fdt_support.c:1683:8: warning: unused variable 'strargs' [-Wunused-variable] [ 266s] char *strargs; [ 266s] ^ [ 266s] In file included from sdhost_phy.c:34:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 266s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 266s] ^ [ 266s] In file included from sdhost_phy.c:34:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:38:0: warning: "USB_PHY_CTRL" redefined [ 266s] #define USB_PHY_CTRL (AHB_REG_BASE + 0xA0) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:21:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define USB_PHY_CTRL (CTL_BASE_APB+0x10) [ 266s] ^ [ 266s] In file included from sdhost_phy.c:34:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 266s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 266s] ^ [ 266s] In file included from sdhost_phy.c:39:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:21:0: warning: "REG_SETCLRBIT" redefined [ 266s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 266s] ^ [ 266s] In file included from sdhost_phy.c:39:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:34:0: warning: "GET_LEVELBIT" redefined [ 266s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 266s] ^ [ 266s] In file included from sdhost_phy.c:39:0: [ 266s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:41:0: warning: "GET_LEVEL" redefined [ 266s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 266s] ^ [ 266s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 266s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 266s] from sdhost_phy.c:21: [ 266s] /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 [ 266s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 266s] ^ [ 266s] sdhost_phy.c: In function '_GetIntSDHOSTSlotNum': [ 266s] sdhost_phy.c:2341:12: warning: unused variable 'tmpReg' [-Wunused-variable] [ 266s] uint32 tmpReg; [ 266s] ^ [ 266s] sdhost_phy.c: In function 'SdhostHisrFunc': [ 266s] sdhost_phy.c:2484:5: warning: implicit declaration of function 'threadReadBuffer' [-Wimplicit-function-declaration] [ 266s] while (!threadReadBuffer (&buffer)) [ 266s] ^ [ 266s] sdhost_phy.c: In function 'SDHOST_Register': [ 266s] sdhost_phy.c:2515:24: warning: unused variable 'i' [-Wunused-variable] [ 266s] uint32 status = 0, i = 0; [ 266s] ^ [ 266s] sdhost_phy.c:2515:12: warning: unused variable 'status' [-Wunused-variable] [ 266s] uint32 status = 0, i = 0; [ 266s] ^ [ 266s] sdhost_phy.c: At top level: [ 266s] sdhost_phy.c:2480:13: warning: 'SdhostHisrFunc' defined but not used [-Wunused-function] [ 266s] LOCAL void SdhostHisrFunc (uint32 cnt, void *pData) [ 266s] ^ [ 266s] sdhost_phy.c:115:15: warning: '_RegisterVerifyHOST' defined but not used [-Wunused-function] [ 266s] LOCAL BOOLEAN _RegisterVerifyHOST (SDHOST_HANDLE sdhost_handler) [ 266s] ^ [ 266s] sdhost_phy.c:1621:12: warning: '_GetSDHOSTCapbility' defined but not used [-Wunused-function] [ 266s] LOCAL void _GetSDHOSTCapbility (SDHOST_HANDLE sdhost_handler,SDHOST_CAPBILIT_T *capbility) [ 266s] ^ [ 266s] sdhost_phy.c:2339:22: warning: '_GetIntSDHOSTSlotNum' defined but not used [-Wunused-function] [ 266s] LOCAL SDHOST_SLOT_NO _GetIntSDHOSTSlotNum (uint32 port) [ 266s] ^ [ 266s] sdhost_phy.c:2490:12: warning: '_SDHOST_Pin_select' defined but not used [-Wunused-function] [ 266s] LOCAL void _SDHOST_Pin_select(SDHOST_SLOT_NO slot_NO) [ 266s] ^ [ 266s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 266s] make -C drivers/mtd/onenand/ [ 266s] {standard input}: Assembler messages: [ 266s] {standard input}:3136: Warning: setting incorrect section attributes for .rodata.regu.init1 [ 266s] 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 [ 266s] a - mmu_asm.o [ 266s] a - generic.o [ 266s] a - timer.o [ 266s] a - reset.o [ 266s] a - ldo.o [ 266s] a - mfp_sprd.o [ 266s] a - mmu.o [ 266s] a - adc.o [ 266s] a - rtc-sprd.o [ 266s] a - sec_boot.o [ 266s] a - glb.o [ 266s] a - adi.o [ 266s] a - gpio.o [ 266s] a - gpio_phy.o [ 266s] a - clock.o [ 266s] a - clock_test.o [ 266s] a - check_reboot.o [ 266s] a - eic.o [ 266s] a - vibrator_sc2723.o [ 266s] a - otp-helper.o [ 266s] a - efuse.o [ 266s] a - ana_efuse.o [ 266s] a - watchdog.o [ 266s] a - watchdog_phy_v3.o [ 266s] a - watchdog_hal.o [ 266s] a - chip_cfg.o [ 266s] a - chip_x30g/chip_phy_x30g.o [ 266s] a - Tshark_boot_cp.o [ 266s] a - misc.o [ 266s] a - dcdc_cal_sc2723.o [ 266s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 266s] make -C drivers/mtd/spi/ [ 266s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 267s] 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 \ [ 267s] -o card_sdio.o card_sdio.c -c [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 267s] 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 \ [ 267s] -o flash.o flash.c -c [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 267s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 267s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 267s] from card_sdio.c:20: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 267s] #define CONFIG_MMC 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_MMC [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 267s] #define CONFIG_EFI_PARTITION 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_EFI_PARTITION [ 267s] ^ [ 267s] In file included from card_sdio.c:22:0: [ 267s] card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 267s] PUBLIC void Emmc_DisSdClk(); [ 267s] ^ [ 267s] card_sdio.c:362:1: warning: missing braces around initializer [-Wmissing-braces] [ 267s] LOCAL CARD_PORT_T cardPort[CARD_SDIO_SLOT_MAX] = {0}; [ 267s] ^ [ 267s] card_sdio.c:362:1: warning: (near initialization for 'cardPort[0]') [-Wmissing-braces] [ 267s] card_sdio.c: In function 'CARD_SDIO_Select_CurPartition': [ 267s] card_sdio.c:1394:9: warning: unused variable 'RCA' [-Wunused-variable] [ 267s] uint16 RCA = cardHandle->RCA; [ 267s] ^ [ 267s] card_sdio.c: In function '_SetBusWidth': [ 267s] card_sdio.c:1442:9: warning: unused variable 'RCA' [-Wunused-variable] [ 267s] uint16 RCA = cardHandle->RCA; [ 267s] ^ [ 267s] card_sdio.c: In function 'CARD_SDIO_InitCard': [ 267s] card_sdio.c:1648:8: warning: variable 'extcsd_Part_Config' set but not used [-Wunused-but-set-variable] [ 267s] uint8 extcsd_Part_Config; [ 267s] ^ [ 267s] card_sdio.c:1646:24: warning: unused variable 'errCode' [-Wunused-variable] [ 267s] SDIO_CARD_PAL_ERROR_E errCode; [ 267s] ^ [ 267s] card_sdio.c:1645:10: warning: unused variable 'vertion_flag' [-Wunused-variable] [ 267s] BOOLEAN vertion_flag; //TRUE: SD2.0 FALSE: SD1.x [ 267s] ^ [ 267s] card_sdio.c: In function 'CARD_SDIO_getCID': [ 267s] card_sdio.c:1930:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 267s] 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]; [ 267s] ^ [ 267s] card_sdio.c:1930:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 267s] 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]; [ 267s] ^ [ 267s] card_sdio.c:1932:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 267s] 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; [ 267s] ^ [ 267s] card_sdio.c:1932:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 267s] 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; [ 267s] ^ [ 267s] card_sdio.c:1932:135: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 267s] 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; [ 267s] ^ [ 267s] card_sdio.c:1933:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 267s] 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; [ 267s] ^ [ 267s] card_sdio.c:1933:110: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 267s] 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; [ 267s] ^ [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 267s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 267s] from card_sdio.c:1964: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h: In function 'SDCARD_SDIO_InitCard': [ 267s] /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 [ 267s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 267s] ^ [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 267s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 267s] from card_sdio.c:1964: [ 267s] /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 [ 267s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 267s] ^ [ 267s] card_sdio.c:1968:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 267s] sprd_gpio_request(NULL, 100); [ 267s] ^ [ 267s] card_sdio.c:1969:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 267s] sprd_gpio_direction_output(NULL, 100, 1); [ 267s] ^ [ 267s] card_sdio.c:1976:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 267s] udelay(5000); [ 267s] ^ [ 267s] card_sdio.c:2165:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 267s] printf("SDCARD_SDIO_ReadRCA failed!\r\n"); [ 267s] ^ [ 267s] card_sdio.c:1953:19: warning: unused variable 'busWidth' [-Wunused-variable] [ 267s] CARD_BUS_WIDTH_E busWidth = CARD_WIDTH_1_BIT; [ 267s] ^ [ 267s] In file included from card_sdio.c:1964:0: [ 267s] /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] [ 267s] } pinmap_t; [ 267s] ^ [ 267s] card_sdio.c: At top level: [ 267s] card_sdio.c:2783:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 267s] PUBLIC BOOLEAN SDCARD_Init() [ 267s] ^ [ 267s] card_sdio.c: In function 'SDCARD_Init': [ 267s] card_sdio.c:2785:9: warning: unused variable 'ret' [-Wunused-variable] [ 267s] uint32 ret = 0; [ 267s] ^ [ 267s] card_sdio.c: At top level: [ 267s] card_sdio.c:2797:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 267s] PUBLIC BOOLEAN SDCARD_PowerOn() [ 267s] ^ [ 267s] card_sdio.c:2907:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 267s] PUBLIC void Emmc_DisSdClk() [ 267s] ^ [ 267s] card_sdio.c:370:15: warning: '_IsCardHandleValid' defined but not used [-Wunused-function] [ 267s] LOCAL BOOLEAN _IsCardHandleValid(CARD_SDIO_HANDLE cardHandle) [ 267s] ^ [ 267s] card_sdio.c:457:12: warning: '_SD_CID_Analyze' defined but not used [-Wunused-function] [ 267s] LOCAL void _SD_CID_Analyze(uint8* CIDbuf,CARD_SD_CID_T *CID) [ 267s] ^ [ 267s] card_sdio.c:1580:12: warning: '_CMD6_Response_Analyze' defined but not used [-Wunused-function] [ 267s] LOCAL void _CMD6_Response_Analyze(uint8* resBuf,CARD_CMD6_STATUS_T* cmdStatus) [ 267s] [ 246.845648] serial8250: too much work for irq4 [ 267s] ^ [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 267s] rm -f libonenand.o; ar rcs libonenand.o [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 267s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 267s] from flash.c:26: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 267s] #define CONFIG_MMC 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_MMC [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 267s] #define CONFIG_EFI_PARTITION 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_EFI_PARTITION [ 267s] ^ [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 267s] 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 \ [ 267s] -o idh_layout.o idh_layout.c -c [ 267s] make -C drivers/mtd/ubi/ [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 267s] rm -f libspi_flash.o; ar rcs libspi_flash.o [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 267s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 267s] from idh_layout.c:1: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 267s] #define CONFIG_MMC 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_MMC [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 267s] #define CONFIG_EFI_PARTITION 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_EFI_PARTITION [ 267s] ^ [ 267s] idh_layout.c: In function 'create_mtdpart_buffer': [ 267s] idh_layout.c:54:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 267s] while (strcmp(mtd_partition_cfg[i].name, "cache") != 0) [ 267s] ^ [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 267s] from idh_layout.c:1: [ 267s] /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 *' [ 267s] extern int strcmp(const char *,const char *); [ 267s] ^ [ 267s] idh_layout.c:64:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 267s] while (strcmp(mtd_partition_cfg[i].name, "userdata") != 0) [ 267s] ^ [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 267s] from idh_layout.c:1: [ 267s] /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 *' [ 267s] extern int strcmp(const char *,const char *); [ 267s] ^ [ 267s] idh_layout.c:79:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 267s] sprintf(mtdpartbuffer, "mtdparts=sprd-nand:"); [ 267s] ^ [ 267s] In file included from idh_layout.c:1:0: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 267s] int sprintf(char * buf, const char *fmt, ...) [ 267s] ^ [ 267s] idh_layout.c:80:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 267s] str_len = strlen(mtdpartbuffer); [ 267s] ^ [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 267s] from idh_layout.c:1: [ 267s] /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 *' [ 267s] extern __kernel_size_t strlen(const char *); [ 267s] ^ [ 267s] idh_layout.c:83:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 267s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 267s] ^ [ 267s] In file included from idh_layout.c:1:0: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 267s] int sprintf(char * buf, const char *fmt, ...) [ 267s] ^ [ 267s] idh_layout.c:83:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 267s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 267s] ^ [ 267s] idh_layout.c:84:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 267s] str_len = strlen(mtdpartbuffer); [ 267s] ^ [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 267s] from idh_layout.c:1: [ 267s] /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 *' [ 267s] extern __kernel_size_t strlen(const char *); [ 267s] ^ [ 267s] idh_layout.c:87:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 267s] str_len = strlen(mtdpartbuffer); [ 267s] ^ [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 267s] from idh_layout.c:1: [ 267s] /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 *' [ 267s] extern __kernel_size_t strlen(const char *); [ 267s] ^ [ 267s] idh_layout.c: At top level: [ 267s] idh_layout.c:22:22: warning: 'nandsize' defined but not used [-Wunused-variable] [ 267s] static unsigned long nandsize = 0; [ 267s] ^ [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 267s] make -C drivers/net/ [ 267s] 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 \ [ 267s] -o image.o image.c -c [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 267s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 267s] from image.c:27: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 267s] #define CONFIG_MMC 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_MMC [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 267s] #define CONFIG_EFI_PARTITION 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_EFI_PARTITION [ 267s] ^ [ 267s] ld -r -o libmmc.o mmc.o mv_sdhci.o sdhci.o sdio_card_pal.o sdhost_phy.o card_sdio.o [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 267s] make -C drivers/net/phy/ [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 267s] 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 \ [ 267s] -o lcd.o lcd.c -c [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 267s] rm -f libubi.o; ar rcs libubi.o [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 267s] from lcd.c:31: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 267s] #define CONFIG_MMC 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_MMC [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 267s] #define CONFIG_EFI_PARTITION 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_EFI_PARTITION [ 267s] ^ [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 267s] 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 \ [ 267s] -o main.o main.c -c [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 267s] rm -f libnet.o; ar rcs libnet.o [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 267s] In file included from lcd.c:65:0: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) sp_palette[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:26:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) sp_bitmap[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:791:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned int __attribute__((packed, aligned(4))) sp_num_bitmap[] = { [ 267s] ^ [ 267s] In file included from lcd.c:66:0: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) thor_palette[] = { [ 267s] ^ [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 267s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 267s] from main.c:30: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 267s] #define CONFIG_MMC 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_MMC [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 267s] #define CONFIG_EFI_PARTITION 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_EFI_PARTITION [ 267s] ^ [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 267s] make -C drivers/pci/ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:44:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) thor_bitmap[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:2908:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned int __attribute__((packed, aligned(4))) thor_num_bitmap[] = { [ 267s] ^ [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 267s] rm -f libphy.o; ar rcs libphy.o [ 267s] In file included from lcd.c:67:0: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) charge_palette[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) charge_bitmap[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:381:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned int __attribute__((packed, aligned(4))) charge_num_bitmap[] = { [ 267s] ^ [ 267s] In file included from lcd.c:68:0: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) prog_start_palette[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:13:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) prog_start_bitmap[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned int __attribute__((packed, aligned(4))) prog_start_num_bitmap[] = { [ 267s] ^ [ 267s] In file included from lcd.c:69:0: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) prog_mid_palette[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) prog_mid_bitmap[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:10:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned int __attribute__((packed, aligned(4))) prog_mid_num_bitmap[] = { [ 267s] ^ [ 267s] In file included from lcd.c:70:0: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) prog_end_palette[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:12:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned short __attribute__((packed, aligned(4))) prog_end_bitmap[] = { [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 267s] unsigned int __attribute__((packed, aligned(4))) prog_end_num_bitmap[] = { [ 267s] ^ [ 267s] lcd.c: In function 'lcd_drawchars': [ 267s] lcd.c:224:9: warning: variable 'off' set but not used [-Wunused-but-set-variable] [ 267s] ushort off, row; [ 267s] ^ [ 267s] lcd.c: In function '_draw_image': [ 267s] lcd.c:510:15: warning: unused variable 'tmp' [-Wunused-variable] [ 267s] unsigned int tmp; [ 267s] ^ [ 267s] lcd.c: In function 'bitmap_plot': [ 267s] lcd.c:677:3: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 267s] lcd_display(); [ 267s] ^ [ 267s] lcd.c:608:10: warning: unused variable 'fb16' [-Wunused-variable] [ 267s] ushort *fb16; [ 267s] ^ [ 267s] lcd.c:605:12: warning: unused variable 'j' [-Wunused-variable] [ 267s] ushort i, j; [ 267s] ^ [ 267s] lcd.c: In function 'lcd_display_bitmap': [ 267s] lcd.c:709:16: warning: variable 'compression' set but not used [-Wunused-but-set-variable] [ 267s] unsigned long compression; [ 267s] ^ [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 267s] 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 \ [ 267s] -o memsize.o memsize.c -c [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 267s] from memsize.c:24: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 267s] #define CONFIG_MMC 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_MMC [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 267s] #define CONFIG_EFI_PARTITION 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_EFI_PARTITION [ 267s] ^ [ 267s] 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 \ [ 267s] -o s_record.o s_record.c -c [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 267s] make -C drivers/pcmcia/ [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 267s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 267s] from s_record.c:24: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 267s] #define CONFIG_MMC 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_MMC [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 267s] #define CONFIG_EFI_PARTITION 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_EFI_PARTITION [ 267s] ^ [ 267s] 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 \ [ 267s] -o stdio.o stdio.c -c [ 267s] make -C drivers/power/ [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 267s] rm -f libpci.o; ar rcs libpci.o [ 267s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 267s] from stdio.c:24: [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 267s] #define CONFIG_MMC 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_MMC [ 267s] ^ [ 267s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 267s] #define CONFIG_EFI_PARTITION 1 [ 267s] ^ [ 267s] /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 [ 267s] #define CONFIG_EFI_PARTITION [ 267s] ^ [ 267s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 267s] 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 \ [ 267s] -o xyzModem.o xyzModem.c -c [ 267s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 268s] make -C drivers/rtc/ [ 268s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 268s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 268s] from xyzModem.c:57: [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 268s] #define CONFIG_MMC 1 [ 268s] ^ [ 268s] /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 [ 268s] #define CONFIG_MMC [ 268s] ^ [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 268s] #define CONFIG_EFI_PARTITION 1 [ 268s] ^ [ 268s] /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 [ 268s] #define CONFIG_EFI_PARTITION [ 268s] ^ [ 268s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 268s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 268s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 268s] 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 [ 268s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 268s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 268s] make -C drivers/serial/ [ 268s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 268s] 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 \ [ 268s] -o rpx_pcmcia.o rpx_pcmcia.c -c [ 268s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 268s] 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 \ [ 268s] -o sprd_battery.o sprd_battery.c -c [ 268s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 268s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 268s] from rpx_pcmcia.c:4: [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 268s] #define CONFIG_MMC 1 [ 268s] ^ [ 268s] /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 [ 268s] #define CONFIG_MMC [ 268s] ^ [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 268s] #define CONFIG_EFI_PARTITION 1 [ 268s] ^ [ 268s] /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 [ 268s] #define CONFIG_EFI_PARTITION [ 268s] ^ [ 268s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 268s] 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 \ [ 268s] -o tqm8xx_pcmcia.o tqm8xx_pcmcia.c -c [ 268s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 268s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 268s] from sprd_battery.c:1: [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 268s] #define CONFIG_MMC 1 [ 268s] ^ [ 268s] /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 [ 268s] #define CONFIG_MMC [ 268s] ^ [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 268s] #define CONFIG_EFI_PARTITION 1 [ 268s] ^ [ 268s] /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 [ 268s] #define CONFIG_EFI_PARTITION [ 268s] ^ [ 268s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 268s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 268s] from sprd_battery.c:4: [ 268s] /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 [ 268s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 268s] ^ [ 268s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 268s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 268s] from sprd_battery.c:4: [ 268s] /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 [ 268s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 268s] ^ [ 268s] In file included from sprd_battery.c:4:0: [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 268s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 268s] ^ [ 268s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 268s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 268s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 268s] from sprd_battery.c:4: [ 268s] /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 [ 268s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 268s] ^ [ 268s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 268s] from sprd_battery.c:5: [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 268s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 268s] ^ [ 268s] In file included from sprd_battery.c:1:0: [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 268s] #define MAX(x, y) max(x, y) [ 268s] ^ [ 268s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 268s] from sprd_battery.c:5: [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 268s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 268s] ^ [ 268s] In file included from sprd_battery.c:1:0: [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 268s] #define MIN(x, y) min(x, y) [ 268s] ^ [ 268s] sprd_battery.c:232:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 268s] unsigned int get_fgu_vol() { [ 268s] ^ [ 268s] sprd_battery.c:236:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 268s] unsigned int get_fgu_cur() { [ 268s] ^ [ 268s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 268s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 268s] from tqm8xx_pcmcia.c:5: [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 268s] #define CONFIG_MMC 1 [ 268s] ^ [ 268s] /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 [ 268s] #define CONFIG_MMC [ 268s] ^ [ 268s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 268s] #define CONFIG_EFI_PARTITION 1 [ 268s] ^ [ 268s] /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 [ 268s] #define CONFIG_EFI_PARTITION [ 268s] ^ [ 268s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 268s] ld -r -o libpcmcia.o rpx_pcmcia.o tqm8xx_pcmcia.o [ 268s] ld -r -o libpower.o sprd_battery.o [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 269s] 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 \ [ 269s] -o date.o date.c -c [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 269s] make -C drivers/sound/codec/ [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 269s] from date.c:28: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 269s] make -C drivers/sound/dai/ [ 269s] ld -r -o librtc.o date.o [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 269s] make -C drivers/sound/ [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 269s] 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 \ [ 269s] -o serial_sc8800x.o serial_sc8800x.c -c [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from serial_sc8800x.c:1: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 269s] from serial_sc8800x.c:6: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 269s] #define KPD_NUM (0x31 << 16) [ 269s] ^ [ 269s] /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 [ 269s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 269s] ^ [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 269s] from serial_sc8800x.c:6: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 269s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 269s] ^ [ 269s] /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 [ 269s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 269s] ^ [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 269s] from serial_sc8800x.c:7: [ 269s] /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] [ 269s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 269s] ^ [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:5:0, [ 269s] from serial_sc8800x.c:7: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 269s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:2:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 269s] #define MAX(x, y) max(x, y) [ 269s] ^ [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:5:0, [ 269s] from serial_sc8800x.c:7: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 269s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:2:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 269s] #define MIN(x, y) min(x, y) [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:42:0: warning: "BIT_0" redefined [ 269s] #define BIT_0 0x00000001 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_0 0x01 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:43:0: warning: "BIT_1" redefined [ 269s] #define BIT_1 0x00000002 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_1 0x02 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:44:0: warning: "BIT_2" redefined [ 269s] #define BIT_2 0x00000004 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_2 0x04 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:45:0: warning: "BIT_3" redefined [ 269s] #define BIT_3 0x00000008 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_3 0x08 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:46:0: warning: "BIT_4" redefined [ 269s] #define BIT_4 0x00000010 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_4 0x10 [ 269s] ^ [ 269s] In file i[ 248.840008] serial8250: too much work for irq4 [ 269s] ncluded from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:47:0: warning: "BIT_5" redefined [ 269s] #define BIT_5 0x00000020 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_5 0x20 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:48:0: warning: "BIT_6" redefined [ 269s] #define BIT_6 0x00000040 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_6 0x40 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:49:0: warning: "BIT_7" redefined [ 269s] #define BIT_7 0x00000080 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_7 0x80 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:50:0: warning: "BIT_8" redefined [ 269s] #define BIT_8 0x00000100 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_8 0x0100 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:51:0: warning: "BIT_9" redefined [ 269s] #define BIT_9 0x00000200 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_9 0x0200 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:52:0: warning: "BIT_10" redefined [ 269s] #define BIT_10 0x00000400 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_10 0x0400 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:53:0: warning: "BIT_11" redefined [ 269s] #define BIT_11 0x00000800 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_11 0x0800 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:54:0: warning: "BIT_12" redefined [ 269s] #define BIT_12 0x00001000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_12 0x1000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:55:0: warning: "BIT_13" redefined [ 269s] #define BIT_13 0x00002000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_13 0x2000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:56:0: warning: "BIT_14" redefined [ 269s] #define BIT_14 0x00004000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_14 0x4000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:57:0: warning: "BIT_15" redefined [ 269s] #define BIT_15 0x00008000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_15 0x8000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:58:0: warning: "BIT_16" redefined [ 269s] #define BIT_16 0x00010000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_16 0x010000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:59:0: warning: "BIT_17" redefined [ 269s] #define BIT_17 0x00020000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_17 0x020000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:60:0: warning: "BIT_18" redefined [ 269s] #define BIT_18 0x00040000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_18 0x040000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:61:0: warning: "BIT_19" redefined [ 269s] #define BIT_19 0x00080000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_19 0x080000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:62:0: warning: "BIT_20" redefined [ 269s] #define BIT_20 0x00100000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_20 0x100000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:63:0: warning: "BIT_21" redefined [ 269s] #define BIT_21 0x00200000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_21 0x200000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:64:0: warning: "BIT_22" redefined [ 269s] #define BIT_22 0x00400000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_22 0x400000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:10:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:65:0: warning: "BIT_23" redefined [ 269s] #define BIT_23 0x00800000 [ 269s] ^ [ 269s] In file included from serial_sc8800x.c:4:0: [ 269s] /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 [ 269s] #define BIT_23 0x800000 [ 269s] ^ [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 269s] ld -r -o libserial.o serial_sc8800x.o [ 269s] make[1]: Entering directory `/home/ab[ 248.876008] serial8250: too much work for irq4 [ 269s] uild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 269s] rm -f libcodec.o; ar rcs libcodec.o [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 269s] make -C drivers/spi/ [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 269s] rm -f libdai.o; ar rcs libdai.o [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 269s] make -C drivers/twserial/ [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 269s] make -C drivers/usb/gadget/dwc_otg/ [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 269s] rm -f libsound.o; ar rcs libsound.o [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 269s] make -C drivers/usb/gadget/ [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 269s] 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 \ [ 269s] -o sprd_spi.o sprd_spi.c -c [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 269s] rm -f libtws.o; ar rcs libtws.o [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 269s] from sprd_spi.c:1: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 269s] In file included from sprd_spi.c:4:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 269s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 269s] ^ [ 269s] /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 [ 269s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 269s] ^ [ 269s] In file included from sprd_spi.c:7:0: [ 269s] /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] [ 269s] PUBLIC void SPI_WaitTxFinish(); [ 269s] ^ [ 269s] sprd_spi.c: In function 'SPI_Reset': [ 269s] sprd_spi.c:94:9: warning: unused variable 'i' [-Wunused-variable] [ 269s] uint32 i = 0; [ 269s] ^ [ 269s] sprd_spi.c: In function 'SPI_SetCsLow': [ 269s] sprd_spi.c:153:9: warning: unused variable 'temp' [-Wunused-variable] [ 269s] uint32 temp; [ 269s] ^ [ 269s] sprd_spi.c: In function 'SPI_Init': [ 269s] sprd_spi.c:335:27: warning: unused variable 'ctl3' [-Wunused-variable] [ 269s] uint32 ctl0, ctl1, ctl2, ctl3; [ 269s] ^ [ 269s] sprd_spi.c:335:21: warning: unused variable 'ctl2' [-Wunused-variable] [ 269s] uint32 ctl0, ctl1, ctl2, ctl3; [ 269s] ^ [ 269s] sprd_spi.c:335:15: warning: unused variable 'ctl1' [-Wunused-variable] [ 269s] uint32 ctl0, ctl1, ctl2, ctl3; [ 269s] ^ [ 269s] sprd_spi.c:335:9: warning: unused variable 'ctl0' [-Wunused-variable] [ 269s] uint32 ctl0, ctl1, ctl2, ctl3; [ 269s] ^ [ 269s] sprd_spi.c: At top level: [ 269s] sprd_spi.c:366:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 269s] PUBLIC void SPI_WaitTxFinish() [ 269s] ^ [ 269s] sprd_spi.c: In function 'SPI_WaitTxFinish': [ 269s] sprd_spi.c:370:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] [ 269s] while( !(spi_ctr_ptr->iraw)&BIT_8 ) // IS tx finish [ 269s] ^ [ 269s] sprd_spi.c: In function 'SPI_WriteData': [ 269s] sprd_spi.c:387:9: warning: unused variable 'command' [-Wunused-variable] [ 269s] uint32 command; [ 269s] ^ [ 269s] sprd_spi.c: At top level: [ 269s] sprd_spi.c:120:12: warning: 'SPI_PinConfig' defined but not used [-Wunused-function] [ 269s] LOCAL void SPI_PinConfig(void) [ 269s] ^ [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 269s] make -C drivers/usb/host/ [ 269s] ld -r -o libspi.o sprd_spi.o [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 269s] make -C drivers/usb/musb/ [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 269s] 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 \ [ 269s] -o epautoconf.o epautoconf.c -c [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 269s] from epautoconf.c:24: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 269s] rm -f libusb_host.o; ar rcs libusb_host.o [ 269s] 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 \ [ 269s] -o config.o config.c -c [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 269s] make -C drivers/usb/phy/ [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 269s] rm -f libusb_musb.o; ar rcs libusb_musb.o [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 269s] from config.c:24: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 269s] 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 [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 269s] make -C drivers/video/ [ 269s] 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 \ [ 269s] -o usbstring.o usbstring.c -c [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 269s] from dwc_otg_driver.c:57: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 269s] from usbstring.c:13: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 269s] dwc_otg_driver.c: In function 'dwc_otg_driver_remove': [ 269s] dwc_otg_driver.c:548:3: warning: implicit declaration of function 'pcd_remove' [-Wimplicit-function-declaration] [ 269s] pcd_remove(dwc_otg_device); [ 269s] ^ [ 269s] dwc_otg_driver.c: In function 'dwc_otg_driver_probe': [ 269s] dwc_otg_driver.c:626:23: warning: assignment makes pointer from integer without a cast [ 269s] dwc_otg_device->base = USB_PHYS; [ 269s] ^ [ 269s] dwc_otg_driver.c:606:6: warning: unused variable 'irq' [-Wunused-variable] [ 269s] int irq; [ 269s] ^ [ 269s] dwc_otg_driver.c: In function 'dwc_otg_driver_init': [ 269s] dwc_otg_driver.c:793:6: warning: unused variable 'error' [-Wunused-variable] [ 269s] int error; [ 269s] ^ [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 269s] 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 [ 269s] 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 \ [ 269s] -o serial.o serial.c -c [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 269s] from dwc_os.h:220, [ 269s] from dwc_otg_cil.c:60: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 269s] dwc_otg_cil.c: In function 'calc_num_in_eps': [ 269s] dwc_otg_cil.c:436:11: warning: unused variable 'num_tx_fifos' [-Wunused-variable] [ 269s] uint32_t num_tx_fifos = core_if->hwcfg4.b.num_in_eps; [ 269s] ^ [ 269s] dwc_otg_cil.c: In function 'dwc_otg_ep0_continue_transfer': [ 269s] dwc_otg_cil.c:2886:19: warning: variable 'tx_status' set but not used [-Wunused-but-set-variable] [ 269s] gnptxsts_data_t tx_status = {.d32 = 0 }; [ 269s] ^ [ 269s] dwc_otg_cil.c: In function 'dwc_otg_dump_dev_registers': [ 269s] dwc_otg_cil.c:3257:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 269s] volatile uint32_t *addr; [ 269s] ^ [ 269s] dwc_otg_cil.c: In function 'dwc_otg_dump_host_registers': [ 269s] dwc_otg_cil.c:3414:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 269s] volatile uint32_t *addr; [ 269s] ^ [ 269s] dwc_otg_cil.c: In function 'dwc_otg_dump_global_registers': [ 269s] dwc_otg_cil.c:3471:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 269s] volatile uint32_t *addr; [ 269s] ^ [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 269s] from serial.c:12: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 269s] dwc_otg_cil.c: In function 'dwc_otg_set_prtpower': [ 269s] dwc_otg_cil.c:5089:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 269s] hprt0_data_t hprt0; [ 269s] ^ [ 269s] dwc_otg_cil.c: In function 'dwc_otg_set_prtsuspend': [ 269s] dwc_otg_cil.c:5105:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 269s] hprt0_data_t hprt0; [ 269s] ^ [ 269s] dwc_otg_cil.c: In function 'dwc_otg_set_prtresume': [ 269s] dwc_otg_cil.c:5113:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 269s] hprt0_data_t hprt0; [ 269s] ^ [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 269s] In file included from u_serial.h:15:0, [ 269s] from serial.c:25: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:379:0: warning: "pr_warning" redefined [ 269s] #define pr_warning(args...) [ 269s] ^ [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 269s] rm -f libusb_phy.o; ar rcs libusb_phy.o [ 269s] In file included from serial.c:13:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:243:0: note: this is the location of the previous definition [ 269s] #define pr_warning(fmt, ...) \ [ 269s] ^ [ 269s] In file included from u_serial.h:15:0, [ 269s] from serial.c:25: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:380:0: warning: "pr_debug" redefined [ 269s] #define pr_debug(args...) [ 269s] ^ [ 269s] In file included from serial.c:13:0: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 269s] #define pr_debug(fmt, ...) [ 269s] ^ [ 269s] In file included from serial.c:52:0: [ 269s] f_acm.c: In function 'acm_complete_set_line_coding': [ 269s] f_acm.c:270:28: warning: unused variable 'cdev' [-Wunused-variable] [ 269s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 269s] ^ [ 269s] f_acm.c: In function 'acm_disable': [ 269s] f_acm.c:421:28: warning: unused variable 'cdev' [-Wunused-variable] [ 269s] struct usb_composite_dev *cdev = f->config->cdev; [ 269s] ^ [ 269s] f_acm.c: In function 'acm_notify_serial_state': [ 269s] f_acm.c:488:28: warning: unused variable 'cdev' [-Wunused-variable] [ 269s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 269s] ^ [ 269s] In file included from serial.c:53:0: [ 269s] f_obex.c: In function 'obex_disable': [ 269s] f_obex.c:266:28: warning: unused variable 'cdev' [-Wunused-variable] [ 269s] struct usb_composite_dev *cdev = f->config->cdev; [ 269s] ^ [ 269s] f_obex.c: In function 'obex_connect': [ 269s] f_obex.c:277:28: warning: unused variable 'cdev' [-Wunused-variable] [ 269s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 269s] ^ [ 269s] f_obex.c: In function 'obex_disconnect': [ 269s] f_obex.c:292:28: warning: unused variable 'cdev' [-Wunused-variable] [ 269s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 269s] ^ [ 269s] In file included from serial.c:54:0: [ 269s] f_serial.c: In function 'gser_disable': [ 269s] f_serial.c:199:28: warning: unused variable 'cdev' [-Wunused-variable] [ 269s] struct usb_composite_dev *cdev = f->config->cdev; [ 269s] ^ [ 269s] In file included from serial.c:55:0: [ 269s] u_serial.c: In function 'gs_start_tx': [ 269s] u_serial.c:369:9: warning: variable 'do_tty_wake' set but not used [-Wunused-but-set-variable] [ 269s] bool do_tty_wake = false; [ 269s] ^ [ 269s] u_serial.c: In function 'gs_read': [ 269s] u_serial.c:779:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [ 269s] memcpy(buf, packet, size); [ 269s] ^ [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 269s] from serial.c:13: [ 269s] /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 *' [ 269s] void* memcpy(void*, const void*, size_t); [ 269s] ^ [ 269s] In file included from serial.c:55:0: [ 269s] u_serial.c:782:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [ 269s] memcpy(buf, packet, *count); [ 269s] ^ [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 269s] from serial.c:13: [ 269s] /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 *' [ 269s] void* memcpy(void*, const void*, size_t); [ 269s] ^ [ 269s] In file included from serial.c:55:0: [ 269s] u_serial.c:788:1: warning: label 'recycle' defined but not used [-Wunused-label] [ 269s] recycle: [ 269s] ^ [ 269s] u_serial.c: In function 'gs_write': [ 269s] u_serial.c:808:45: warning: pointer targets in passing argument 2 of 'gs_buf_put' differ in signedness [-Wpointer-sign] [ 269s] count = gs_buf_put(&port->port_write_buf, buf, count); [ 269s] ^ [ 269s] u_serial.c:224:1: note: expected 'const char *' but argument is of type 'const unsigned char *' [ 269s] gs_buf_put(struct gs_buf *gb, const char *buf, unsigned count) [ 269s] ^ [ 269s] u_serial.c: In function 'gserial_connect': [ 269s] u_serial.c:1540:16: warning: unused variable 'flags' [-Wunused-variable] [ 269s] unsigned long flags; [ 269s] ^ [ 269s] u_serial.c: In function 'gserial_disconnect': [ 269s] u_serial.c:1614:16: warning: unused variable 'flags' [-Wunused-variable] [ 269s] unsigned long flags; [ 269s] ^ [ 269s] serial.c: At top level: [ 269s] serial.c:57:0: warning: "pr_warning" redefined [ 269s] #define pr_warning(args...) printf(##args) [ 269s] ^ [ 269s] In file included from u_serial.h:15:0, [ 269s] from serial.c:25: [ 269s] /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 [ 269s] #define pr_warning(args...) [ 269s] ^ [ 269s] In file included from serial.c:55:0: [ 269s] u_serial.c:1456:12: warning: 'gs_closed' defined but not used [-Wunused-function] [ 269s] static int gs_closed(struct gs_port *port) [ 269s] ^ [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 269s] 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 [ 269s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 269s] rm -f libvideo.o; ar rcs libvideo.o [ 269s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 269s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 269s] from dwc_os.h:220, [ 269s] from dwc_otg_cil_intr.c:42: [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 269s] #define CONFIG_MMC 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_MMC [ 269s] ^ [ 269s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 269s] make -C drivers/video/sprdfb/dsi_1_21a/ [ 269s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 269s] #define CONFIG_EFI_PARTITION 1 [ 269s] ^ [ 269s] /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 [ 269s] #define CONFIG_EFI_PARTITION [ 269s] ^ [ 270s] dwc_otg_cil_intr.c: In function 'dwc_otg_handle_usb_suspend_intr': [ 270s] dwc_otg_cil_intr.c:651:14: warning: variable 'dsts' set but not used [-Wunused-but-set-variable] [ 270s] dsts_data_t dsts; [ 270s] ^ [ 270s] make -C drivers/video/sprdfb/lcd/ [ 270s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 270s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 270s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 270s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 270s] ld -r -o libusb_gadget.o epautoconf.o config.o usbstring.o serial.o [ 270s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 270s] 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 \ [ 270s] -o mipi_dsih_api.o mipi_dsih_api.c -c [ 270s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 270s] 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 [ 270s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 270s] 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 \ [ 270s] -o lcd_s6e8aa5x01_mipi.o lcd_s6e8aa5x01_mipi.c -c [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 270s] from mipi_dsih_local.h:44, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 270s] #define CONFIG_MMC 1 [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 270s] from dwc_otg_pcd_linux.c:60: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 270s] #define CONFIG_MMC 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_MMC [ 270s] ^ [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 270s] #define CONFIG_EFI_PARTITION 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_EFI_PARTITION [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_MMC [ 270s] ^ [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 270s] #define CONFIG_EFI_PARTITION 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_EFI_PARTITION [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 270s] from ../sprdfb_chip_common.h:18, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 270s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 270s] ^ [ 270s] /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 [ 270s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 270s] from ../sprdfb_chip_common.h:19, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 270s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] In file included from mipi_dsih_local.h:44:0, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 270s] #define MAX(x, y) max(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 270s] from ../sprdfb_chip_common.h:19, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 270s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] In file included from mipi_dsih_local.h:44:0, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 270s] #define MIN(x, y) min(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 270s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 270s] ^ [ 270s] In file included from ../sprdfb_chip_common.h:19:0, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /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 [ 270s] #define SPRD_PWM_BASE 0x88000000 [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 270s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 270s] from ../sprdfb_chip_common.h:18, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /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 [ 270s] #define ADC_BASE 0x40038300 //Aux ADC [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /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 [ 270s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_api.h:40, [ 270s] from mipi_dsih_api.c:9: [ 270s] /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 [ 270s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20, [ 270s] from lcd_s6e8aa5x01_mipi.c:16: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 270s] #define CONFIG_MMC 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_MMC [ 270s] ^ [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 270s] #define CONFIG_EFI_PARTITION 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_EFI_PARTITION [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:23:0, [ 270s] from lcd_s6e8aa5x01_mipi.c:16: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 270s] #define MIN(x, y) min(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 270s] from lcd_s6e8aa5x01_mipi.c:16: [ 270s] /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 [ 270s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:23:0, [ 270s] from lcd_s6e8aa5x01_mipi.c:16: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 270s] #define MAX(x, y) max(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 270s] from lcd_s6e8aa5x01_mipi.c:16: [ 270s] /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 [ 270s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_readid': [ 270s] lcd_s6e8aa5x01_mipi.c:134:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 270s] int32_t read_rtn = 0; [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_mtp': [ 270s] lcd_s6e8aa5x01_mipi.c:296:2: warning: implicit declaration of function 'save_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 270s] save_mtp_offset_to_kernel(mtp_offset); [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c:261:19: warning: unused va[ 250.316015] serial8250: too much work for irq4 [ 270s] riable 'mipi_dcs_write' [-Wunused-variable] [ 270s] mipi_dcs_write_t mipi_dcs_write = [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c:256:10: warning: unused variable 'size' [-Wunused-variable] [ 270s] int32_t size = 0; [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c:254:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 270s] int32_t read_rtn = 0; [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c:251:17: warning: unused variable 'g_para' [-Wunused-variable] [ 270s] LCM_Init_Code *g_para = NULL; [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_elvss': [ 270s] lcd_s6e8aa5x01_mipi.c:347:2: warning: implicit declaration of function 'save_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 270s] save_elvss_offset_to_kernel(elvss_offset); [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c:309:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 270s] int32_t size = 0; [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c:304:17: warning: unused variable 'hbm' [-Wunused-variable] [ 270s] LCM_Init_Code *hbm = NULL; [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_hbm': [ 270s] lcd_s6e8aa5x01_mipi.c:398:2: warning: implicit declaration of function 'save_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 270s] save_hbm_offset_to_kernel(hbm_g); [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c:360:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 270s] int32_t size = 0; [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c:355:17: warning: unused variable 'hbm' [-Wunused-variable] [ 270s] LCM_Init_Code *hbm = NULL; [ 270s] ^ [ 270s] lcd_s6e8aa5x01_mipi.c: At top level: [ 270s] lcd_s6e8aa5x01_mipi.c:72:22: warning: 'disp_on' defined but not used [-Wunused-variable] [ 270s] static LCM_Init_Code disp_on = {LCM_SEND(1), {0x29}}; [ 270s] ^ [ 270s] 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 [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 270s] from dwc_otg_pcd_linux.c:63: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 270s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] In file included from dwc_otg_pcd_linux.c:60:0: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 270s] #define MAX(x, y) max(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 270s] from dwc_otg_pcd_linux.c:63: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 270s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] In file included from dwc_otg_pcd_linux.c:60:0: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 270s] #define MIN(x, y) min(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 270s] from dwc_otg_pcd_linux.c:525: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 270s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 270s] ^ [ 270s] /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 [ 270s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 270s] ^ [ 270s] In file included from dwc_otg_pcd_linux.c:527:0: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: warning: "GREG_BASE" redefined [ 270s] #define GREG_BASE 0x4B000000 [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 270s] from dwc_otg_pcd_linux.c:525: [ 270s] /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 [ 270s] #define GREG_BASE CTL_BASE_GLB_REG [ 270s] ^ [ 270s] dwc_otg_pcd_linux.c: In function 'alloc_wrapper': [ 270s] dwc_otg_pcd_linux.c:1015:6: warning: unused variable 'retval' [-Wunused-variable] [ 270s] int retval; [ 270s] ^ [ 270s] dwc_otg_pcd_linux.c: In function 'pcd_init': [ 270s] dwc_otg_pcd_linux.c:1076:6: warning: unused variable 'irq' [-Wunused-variable] [ 270s] int irq; [ 270s] ^ [ 270s] dwc_otg_pcd_linux.c: In function 'pcd_remove': [ 270s] dwc_otg_pcd_linux.c:1128:17: warning: unused variable 'pcd' [-Wunused-variable] [ 270s] dwc_otg_pcd_t *pcd = otg_dev->pcd; [ 270s] ^ [ 270s] dwc_otg_pcd_linux.c: At top level: [ 270s] dwc_otg_pcd_linux.c:1002:13: warning: 'dwc_otg_pcd_gadget_release' defined but not used [-Wunused-function] [ 270s] static void dwc_otg_pcd_gadget_release(struct device *dev) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 270s] from dwc_os.h:220, [ 270s] from usb.h:44, [ 270s] from dwc_otg_pcd.h:37, [ 270s] from dwc_otg_pcd.c:51: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 270s] #define CONFIG_MMC 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_MMC [ 270s] ^ [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 270s] #define CONFIG_EFI_PARTITION 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_EFI_PARTITION [ 270s] ^ [ 270s] ld -r -o liblcd.o lcd_s6e8aa5x01_mipi.o [ 270s] dwc_otg_pcd.c: In function 'start_xfer_tasklet_func': [ 270s] dwc_otg_pcd.c:1064:17: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 270s] depctl_data_t diepctl; [ 270s] ^ [ 270s] dwc_otg_pcd.c:1051:16: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 270s] depctl_data_t diepctl; [ 270s] ^ [ 270s] dwc_otg_pcd.c: In function 'dwc_otg_pcd_ep_queue': [ 270s] dwc_otg_pcd.c:1534:6: warning: unused variable 'prevented' [-Wunused-variable] [ 270s] int prevented = 0; [ 270s] ^ [ 270s] dwc_otg_pcd.c: At top level: [ 270s] dwc_otg_pcd.c:77:13: warning: 'dump_log' defined but not used [-Wunused-function] [ 270s] static void dump_log(unsigned char * buf, int len, int direction) [ 270s] ^ [ 270s] dwc_otg_pcd.c:996:13: warning: 'srp_timeout' defined but not used [-Wunused-function] [ 270s] static void srp_timeout(void *ptr) [ 270s] ^ [ 270s] dwc_otg_pcd.c:1045:13: warning: 'start_xfer_tasklet_func' defined but not used [-Wunused-function] [ 270s] static void start_xfer_tasklet_func(void *data) [ 270s] ^ [ 270s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 270s] 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 [ 270s] make -C drivers/video/sprdfb/ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 270s] from dwc_os.h:220, [ 270s] from usb.h:44, [ 270s] from dwc_otg_pcd.h:37, [ 270s] from dwc_otg_pcd_intr.c:34: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 270s] #define CONFIG_MMC 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_MMC [ 270s] ^ [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 270s] #define CONFIG_EFI_PARTITION 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_EFI_PARTITION [ 270s] ^ [ 270s] 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 \ [ 270s] -o mipi_dsih_hal.o mipi_dsih_hal.c -c [ 270s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_np_tx_fifo_empty_intr': [ 270s] dwc_otg_pcd_intr.c:456:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 270s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 270s] ^ [ 270s] dwc_otg_pcd_intr.c: In function 'write_empty_tx_fifo': [ 270s] dwc_otg_pcd_intr.c:520:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 270s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 270s] ^ [ 270s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_in_ep_intr': [ 270s] dwc_otg_pcd_intr.c:3290:13: warning: variable 'empty_msk' set but not used [-Wunused-but-set-variable] [ 270s] uint32_t empty_msk; [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 270s] from mipi_dsih_local.h:44, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 270s] #define CONFIG_MMC 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_MMC [ 270s] ^ [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 270s] #define CONFIG_EFI_PARTITION 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_EFI_PARTITION [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 270s] from ../sprdfb_chip_common.h:18, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 270s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 270s] ^ [ 270s] /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 [ 270s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 270s] from ../sprdfb_chip_common.h:19, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 270s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] In file included from mipi_dsih_local.h:44:0, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 270s] #define MAX(x, y) max(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 270s] from ../sprdfb_chip_common.h:19, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 270s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] In file included from mipi_dsih_local.h:44:0, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 270s] #define MIN(x, y) min(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 270s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 270s] ^ [ 270s] In file included from ../sprdfb_chip_common.h:19:0, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /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 [ 270s] #define SPRD_PWM_BASE 0x88000000 [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 270s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 270s] from ../sprdfb_chip_common.h:18, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /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 [ 270s] #define ADC_BASE 0x40038300 //Aux ADC [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /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 [ 270s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_hal.h:41, [ 270s] from mipi_dsih_hal.c:8: [ 270s] /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 [ 270s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 270s] ^ [ 270s] 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 \ [ 270s] -o mipi_dsih_dphy.o mipi_dsih_dphy.c -c [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 270s] from mipi_dsih_local.h:44, [ 270s] from mipi_dsih_dphy.h:11, [ 270s] from mipi_dsih_dphy.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 270s] #define CONFIG_MMC 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_MMC [ 270s] ^ [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 270s] #define CONFIG_EFI_PARTITION 1 [ 270s] ^ [ 270s] /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 [ 270s] #define CONFIG_EFI_PARTITION [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 270s] from ../sprdfb_chip_common.h:18, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_dphy.h:11, [ 270s] from mipi_dsih_dphy.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 270s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 270s] ^ [ 270s] /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 [ 270s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 270s] from ../sprdfb_chip_common.h:19, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_dphy.h:11, [ 270s] from mipi_dsih_dphy.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 270s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] In file included from mipi_dsih_local.h:44:0, [ 270s] from mipi_dsih_dphy.h:11, [ 270s] from mipi_dsih_dphy.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 270s] #define MAX(x, y) max(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 270s] from ../sprdfb_chip_common.h:19, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_dphy.h:11, [ 270s] from mipi_dsih_dphy.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 270s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 270s] ^ [ 270s] In file included from mipi_dsih_local.h:44:0, [ 270s] from mipi_dsih_dphy.h:11, [ 270s] from mipi_dsih_dphy.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 270s] #define MIN(x, y) min(x, y) [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_dphy.h:11, [ 270s] from mipi_dsih_dphy.c:8: [ 270s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 270s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 270s] ^ [ 270s] In file included from ../sprdfb_chip_common.h:19:0, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_dphy.h:11, [ 270s] from mipi_dsih_dphy.c:8: [ 270s] /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 [ 270s] #define SPRD_PWM_BASE 0x88000000 [ 270s] ^ [ 270s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 270s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 270s] from ../sprdfb_chip_8830.h:18, [ 270s] from ../sprdfb_chip_common.h:30, [ 270s] from mipi_dsih_local.h:45, [ 270s] from mipi_dsih_dphy.h:11, [ 271s] from mipi_dsih_dphy.c:8: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 271s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 271s] from ../sprdfb_chip_common.h:18, [ 271s] from mipi_dsih_local.h:45, [ 271s] from mipi_dsih_dphy.h:11, [ 271s] from mipi_dsih_dphy.c:8: [ 271s] /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 [ 271s] #define ADC_BASE 0x40038300 //Aux ADC [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 271s] from ../sprdfb_chip_8830.h:18, [ 271s] from ../sprdfb_chip_common.h:30, [ 271s] from mipi_dsih_local.h:45, [ 271s] from mipi_dsih_dphy.h:11, [ 271s] from mipi_dsih_dphy.c:8: [ 271s] /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 [ 271s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 271s] from ../sprdfb_chip_8830.h:18, [ 271s] from ../sprdfb_chip_common.h:30, [ 271s] from mipi_dsih_local.h:45, [ 271s] from mipi_dsih_dphy.h:11, [ 271s] from mipi_dsih_dphy.c:8: [ 271s] /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 [ 271s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 271s] ^ [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 271s] make -C drivers/watchdog/ [ 271s] mipi_dsih_dphy.c: In function 'mipi_dsih_dphy_calibration': [ 271s] mipi_dsih_dphy.c:98:28: warning: 'sv_data[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 271s] sv_data[1] =(sv_data[1]&0x1c) >>2; [ 271s] ^ [ 271s] mipi_dsih_dphy.c:97:28: warning: 'sv_data[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 271s] sv_data[0] =(sv_data[0]&0x1c) >>2; [ 271s] ^ [ 271s] ld -r -o libsprdfb_dsi.o mipi_dsih_api.o mipi_dsih_hal.o mipi_dsih_dphy.o [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 271s] 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 [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 271s] from dwc_common_linux.c:4: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 271s] #define CONFIG_MMC 1 [ 271s] ^ [ 271s] /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 [ 271s] #define CONFIG_MMC [ 271s] ^ [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 271s] #define CONFIG_EFI_PARTITION 1 [ 271s] ^ [ 271s] /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 [ 271s] #define CONFIG_EFI_PARTITION [ 271s] ^ [ 271s] make -C fs/cramfs/ [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 271s] 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 [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 271s] rm -f libwatchdog.o; ar rcs libwatchdog.o [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 271s] make -C fs/ext2/ [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 271s] make -C fs/ext4/ [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 271s] rm -f libcramfs.o; ar rcs libcramfs.o [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 271s] make -C fs/fat/ [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 271s] 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 \ [ 271s] -o sprdfb_main.o sprdfb_main.c -c [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 271s] rm -f libext2fs.o; ar rcs libext2fs.o [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 271s] from sprdfb_main.c:15: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 271s] #define CONFIG_MMC 1 [ 271s] ^ [ 271s] /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 [ 271s] #define CONFIG_MMC [ 271s] ^ [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 271s] #define CONFIG_EFI_PARTITION 1 [ 271s] ^ [ 271s] /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 [ 271s] #define CONFIG_EFI_PARTITION [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 271s] from sprdfb_main.c:19: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 271s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 271s] ^ [ 271s] In file included from sprdfb_main.c:15:0: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 271s] #define MAX(x, y) max(x, y) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 271s] from sprdfb_main.c:19: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 271s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 271s] ^ [ 271s] In file included from sprdfb_main.c:15:0: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 271s] #define MIN(x, y) min(x, y) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 271s] from sprdfb_main.c:28: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 271s] #define KPD_NUM (0x31 << 16) [ 271s] ^ [ 271s] /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 [ 271s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 271s] from sprdfb_main.c:28: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 271s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 271s] ^ [ 271s] /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 [ 271s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 271s] ^ [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: warning: "GREG_BASE" redefined [ 271s] #define GREG_BASE CTL_BASE_GLB_REG [ 271s] ^ [ 271s] In file included from sprdfb_main.c:27:0: [ 271s] /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 [ 271s] #define GREG_BASE 0x4B000000 [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 271s] from sprdfb_main.c:29: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 271s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 271s] ^ [ 271s] In file included from sprdfb_main.c:19:0: [ 271s] /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 [ 271s] #define SPRD_PWM_BASE 0x88000000 [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 271s] from sprdfb_main.c:29: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 271s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 271s] from sprdfb_main.c:28: [ 271s] /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 [ 271s] #define ADC_BASE 0x40038300 //Aux ADC [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 271s] from sprdfb_main.c:29: [ 271s] /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 [ 271s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 271s] from sprdfb_main.c:29: [ 271s] /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 [ 271s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 271s] ^ [ 271s] sprdfb_main.c: In function 'set_backlight': [ 271s] sprdfb_main.c:268:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 271s] sprd_gpio_request(NULL, BACKLIGHT_GPIO); [ 271s] ^ [ 271s] sprdfb_main.c:269:3: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 271s] sprd_gpio_direction_output(NULL, BACKLIGHT_GPIO, 0); [ 271s] ^ [ 271s] sprdfb_main.c:282:3: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 271s] sprd_gpio_set(NULL, BACKLIGHT_GPIO, 0); [ 271s] ^ [ 271s] sprdfb_main.c: In function 'save_mtp_offset_to_kernel': [ 271s] sprdfb_main.c:411:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 271s] hex_encoder((unsigned char *)mtp, mtp_offset, (MTP_LEN + 6)); [ 271s] ^ [ 271s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 271s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 271s] ^ [ 271s] sprdfb_main.c: In function 'save_hbm_offset_to_kernel': [ 271s] sprdfb_main.c:432:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 271s] hex_encoder((unsigned char *)hbm, hbm_g, 15); [ 271s] ^ [ 271s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 271s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 271s] ^ [ 271s] sprdfb_main.c: At top level: [ 271s] sprdfb_main.c:67:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 271s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 271s] ^ [ 271s] sprdfb_main.c:108:15: warning: 'get_adie_chipid' defined but not used [-Wunused-function] [ 271s] static uint32 get_adie_chipid(void) [ 271s] ^ [ 271s] sprdfb_main.c: In function 'byte2hex': [ 271s] sprdfb_main.c:395:1: warning: control reaches end of non-void function [-Wreturn-type] [ 271s] } [ 271s] ^ [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 271s] 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 \ [ 271s] -o sprdfb_panel.o sprdfb_panel.c -c [ 271s] make -C fs/fdos/ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 271s] from sprdfb_panel.c:6: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 271s] #define CONFIG_MMC 1 [ 271s] ^ [ 271s] /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 [ 271s] #define CONFIG_MMC [ 271s] ^ [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 271s] #define CONFIG_EFI_PARTITION 1 [ 271s] ^ [ 271s] /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 [ 271s] #define CONFIG_EFI_PARTITION [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 271s] from sprdfb_panel.c:8: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 271s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 271s] ^ [ 271s] In file included from sprdfb_panel.c:6:0: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 271s] #define MAX(x, y) max(x, y) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 271s] from sprdfb_panel.c:8: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 271s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 271s] ^ [ 271s] In file included from sprdfb_panel.c:6:0: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 271s] #define MIN(x, y) min(x, y) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 271s] from sprdfb_panel.c:9: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 271s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 271s] ^ [ 271s] /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 [ 271s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 271s] ^ [ 271s] sprdfb_panel.c: In function 'panel_reset_dispc': [ 271s] sprdfb_panel.c:438:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 271s] sprd_gpio_request(NULL, 103); [ 271s] ^ [ 271s] sprdfb_panel.c:439:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 271s] sprd_gpio_direction_output(NULL, 103, 0); [ 271s] ^ [ 271s] sprdfb_panel.c:440:2: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 271s] sprd_gpio_set(NULL, 103, 1); [ 271s] ^ [ 271s] sprdfb_panel.c: In function 'adapt_panel_from_readid': [ 271s] sprdfb_panel.c:573:4: warning: implicit declaration of function 'save_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 271s] save_lcd_id_to_kernel(id); [ 271s] ^ [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 271s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 271s] 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 \ [ 271s] -o sprdfb_dispc.o sprdfb_dispc.c -c [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 271s] from sprdfb_dispc.c:15: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 271s] #define CONFIG_MMC 1 [ 271s] ^ [ 271s] /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 [ 271s] #define CONFIG_MMC [ 271s] ^ [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 271s] #define CONFIG_EFI_PARTITION 1 [ 271s] ^ [ 271s] /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 [ 271s] #define CONFIG_EFI_PARTITION [ 271s] ^ [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 271s] 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 \ [ 271s] -o fat_write.o fat_write.c -c [ 271s] In file included from sprdfb_dispc.c:17:0: [ 271s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list [ 271s] int32_t (*panel_if_check)(struct panel_spec *self); [ 271s] ^ [ 271s] sprdfb.h:45:35: warning: its scope is only this definition or declaration, which is probably not what you want [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 271s] from sprdfb_chip_common.h:18, [ 271s] from sprdfb_dispc.c:18: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 271s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 271s] ^ [ 271s] /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 [ 271s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 271s] from sprdfb_chip_common.h:19, [ 271s] from sprdfb_dispc.c:18: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 271s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 271s] ^ [ 271s] In file included from sprdfb_dispc.c:15:0: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 271s] #define MAX(x, y) max(x, y) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 271s] from sprdfb_chip_common.h:19, [ 271s] from sprdfb_dispc.c:18: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 271s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 271s] ^ [ 271s] In file included from sprdfb_dispc.c:15:0: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 271s] #define MIN(x, y) min(x, y) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 271s] from sprdfb_chip_8830.h:18, [ 271s] from sprdfb_chip_common.h:30, [ 271s] from sprdfb_dispc.c:18: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 271s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 271s] ^ [ 271s] In file included from sprdfb_chip_common.h:19:0, [ 271s] from sprdfb_dispc.c:18: [ 271s] /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 [ 271s] #define SPRD_PWM_BASE 0x88000000 [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 271s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 271s] from sprdfb_chip_8830.h:18, [ 271s] from sprdfb_chip_common.h:30, [ 271s] from sprdfb_dispc.c:18: [ 271s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 271s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 271s] from sprdfb_chip_common.h:18, [ 271s] from sprdfb_dispc.c:18: [ 271s] /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 [ 271s] #define ADC_BASE 0x40038300 //Aux ADC [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 271s] from sprdfb_chip_8830.h:18, [ 271s] from sprdfb_chip_common.h:30, [ 271s] from sprdfb_dispc.c:18: [ 271s] /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 [ 271s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 271s] ^ [ 271s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 271s] from sprdfb_chip_8830.h:18, [ 271s] from sprdfb_chip_common.h:30, [ 271s] from sprdfb_dispc.c:18: [ 271s] /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 [ 271s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 271s] ^ [ 271s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 271s] 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 \ [ 271s] -o ext4fs.o ext4fs.c -c [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from fat_write.c:25: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] 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 \ [ 272s] -o sprdfb_mcu.o sprdfb_mcu.c -c [ 272s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from ext4fs.c:36: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] fat_write.c: In function 'delete_long_file_name': [ 272s] fat_write.c:482:15: warning: unused variable 'cur_position' [-Wunused-variable] [ 272s] int idx = 0, cur_position = 0; [ 272s] ^ [ 272s] fat_write.c:482:6: warning: unused variable 'idx' [-Wunused-variable] [ 272s] int idx = 0, cur_position = 0; [ 272s] ^ [ 272s] fat_write.c: In function 'delete_directory_entry': [ 272s] fat_write.c:1207:7: warning: unused variable 'mark_cnt' [-Wunused-variable] [ 272s] int mark_cnt; [ 272s] ^ [ 272s] fat_write.c: In function 'do_fat_rm': [ 272s] fat_write.c:1386:6: warning: unused variable 'i' [-Wunused-variable] [ 272s] int i; [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from sprdfb_mcu.c:6: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_mcu.c:8: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 272s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_mcu.c:6:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 272s] #define MAX(x, y) max(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_mcu.c:8: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 272s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_mcu.c:6:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 272s] #define MIN(x, y) min(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 272s] from sprdfb_mcu.c:9: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 272s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 272s] ^ [ 272s] /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 [ 272s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 272s] ^ [ 272s] 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 \ [ 272s] -o ext4_common.o ext4_common.c -c [ 272s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 272s] rm -f libfdos.o; ar rcs libfdos.o [ 272s] 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 \ [ 272s] -o sprdfb_rgb.o sprdfb_rgb.c -c [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from ext4_common.c:34: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 272s] 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 \ [ 272s] -o dev.o dev.c -c [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from sprdfb_rgb.c:4: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_rgb.c:6: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 272s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_rgb.c:4:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 272s] #define MAX(x, y) max(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_rgb.c:6: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 272s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_rgb.c:4:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 272s] #define MIN(x, y) min(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 272s] from sprdfb_rgb.c:7: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 272s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 272s] ^ [ 272s] /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 [ 272s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_rgb.c:9: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 272s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 272s] ^ [ 272s] In file included from sprdfb_rgb.c:6:0: [ 272s] /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 [ 272s] #define SPRD_PWM_BASE 0x88000000 [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_rgb.c:9: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 272s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 272s] from sprdfb_rgb.c:7: [ 272s] /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 [ 272s] #define ADC_BASE 0x40038300 //Aux ADC [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_rgb.c:9: [ 272s] /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 [ 272s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_rgb.c:9: [ 272s] /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 [ 272s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 272s] ^ [ 272s] sprdfb_rgb.c: In function 'rgb_readid': [ 272s] sprdfb_rgb.c:28:85: warning: passing argument 4 of 'rgb->bus_info.i2c->ops->i2c_read_16bits' from incompatible pointer type [ 272s] rgb->bus_info.i2c->ops->i2c_read_16bits(rgb->bus_info.i2c->i2c_addr , 0x0, FALSE, &id, FALSE); [ 272s] ^ [ 272s] sprdfb_rgb.c:28:85: note: expected 'uint16_t *' but argument is of type 'uint32_t *' [ 272s] 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 \ [ 272s] -o sprdfb_mipi.o sprdfb_mipi.c -c [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from dev.c:39: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] 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 \ [ 272s] -o ext4_write.o ext4_write.c -c [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from sprdfb_mipi.c:4: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_mipi.c:6: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 272s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_mipi.c:4:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 272s] #define MAX(x, y) max(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_mipi.c:6: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 272s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_mipi.c:4:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 272s] #define MIN(x, y) min(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 272s] from sprdfb_mipi.c:7: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 272s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 272s] ^ [ 272s] /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 [ 272s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 272s] ^ [ 272s] 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 \ [ 272s] -o sprdfb_i2c.o sprdfb_i2c.c -c [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from ext4_write.c:37: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from sprdfb_i2c.c:5: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_i2c.c:7: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 272s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_i2c.c:5:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 272s] #define MAX(x, y) max(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_i2c.c:7: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 272s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_i2c.c:5:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 272s] #define MIN(x, y) min(x, y) [ 272s] ^ [ 272s] sprdfb_i2c.c: In function 'sprdfb_i2c_read_8bits': [ 272s] sprdfb_i2c.c:79:27: warning: passing argument 2 of 'I2C_ReadCmd' makes pointer from integer without a cast [ 272s] ret = I2C_ReadCmd(addr, *val, TRUE); [ 272s] ^ [ 272s] In file included from sprdfb_i2c.c:8:0: [ 272s] /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' [ 272s] PUBLIC ERR_I2C_E I2C_ReadCmd(uint8 addr,uint8 *pCmd,BOOLEAN ack_en); [ 272s] ^ [ 272s] ld -r -o libfat.o fat_write.o [ 272s] 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 \ [ 272s] -o sprdfb_spi.o sprdfb_spi.c -c [ 272s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 272s] 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 \ [ 272s] -o ext4_journal.o ext4_journal.c -c [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from sprdfb_spi.c:5: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from ext4_journal.c:32: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] In file included from sprdfb_spi.c:6:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 272s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_spi.c:5:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 272s] #define MAX(x, y) max(x, y) [ 272s] ^ [ 272s] In file included from sprdfb_spi.c:6:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 272s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_spi.c:5:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 272s] #define MIN(x, y) min(x, y) [ 272s] ^ [ 272s] In file included from sprdfb_spi.c:8:0: [ 272s] /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] [ 272s] PUBLIC void SPI_WaitTxFinish(); [ 272s] ^ [ 272s] make -C fs/jffs2/ [ 272s] 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 \ [ 272s] -o crc16.o crc16.c -c [ 272s] 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 \ [ 272s] -o sprdfb_dsi.o sprdfb_dsi.c -c [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from crc16.c:8: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from sprdfb_dsi.c:5: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] make -C fs/reiserfs/ [ 272s] In file included from sprdfb_dsi.c:10:0: [ 272s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list [ 272s] int32_t (*panel_if_check)(struct panel_spec *self); [ 272s] ^ [ 272s] sprdfb.h:45:35: warning: its scope is only this definition or declaration, which is probably not what you want [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 272s] from sprdfb_chip_common.h:18, [ 272s] from sprdfb_dsi.c:11: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 272s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 272s] ^ [ 272s] /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 [ 272s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_chip_common.h:19, [ 272s] from sprdfb_dsi.c:11: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 272s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_dsi.c:5:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 272s] #define MAX(x, y) max(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_chip_common.h:19, [ 272s] from sprdfb_dsi.c:11: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 272s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_dsi.c:5:0: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 272s] #define MIN(x, y) min(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_dsi.c:11: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 272s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 272s] ^ [ 272s] In file included from sprdfb_chip_common.h:19:0, [ 272s] from sprdfb_dsi.c:11: [ 272s] /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 [ 272s] #define SPRD_PWM_BASE 0x88000000 [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_dsi.c:11: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 272s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 272s] from sprdfb_chip_common.h:18, [ 272s] from sprdfb_dsi.c:11: [ 272s] /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 [ 272s] #define ADC_BASE 0x40038300 //Aux ADC [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_dsi.c:11: [ 272s] /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 [ 272s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_dsi.c:11: [ 272s] /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 [ 272s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 272s] ^ [ 272s] sprdfb_dsi.c: In function 'sprdfb_dsi_set_lp_mode': [ 272s] sprdfb_dsi.c:374:11: warning: unused variable 'reg_val' [-Wunused-variable] [ 272s] uint32_t reg_val; [ 272s] ^ [ 272s] sprdfb_dsi.c: At top level: [ 272s] sprdfb_dsi.c:448:1: warning: data definition has no type or storage class [ 272s] EXPORT_SYMBOL(backlight_control); [ 272s] ^ [ 272s] sprdfb_dsi.c:448:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] [ 272s] sprdfb_dsi.c:448:1: warning: parameter names (without types) in function declaration [ 272s] sprdfb_dsi.c:38:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 272s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 272s] ^ [ 272s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 272s] 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 \ [ 272s] -o ext4_rw.o ext4_rw.c -c [ 272s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from ext4_rw.c:2: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] 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 \ [ 272s] -o sprdfb_chip_common.o sprdfb_chip_common.c -c [ 272s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 272s] ld -r -o libext4fs.o ext4fs.o ext4_common.o dev.o ext4_write.o ext4_journal.o crc16.o ext4_rw.o [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from sprdfb_chip_common.h:17, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 272s] #define CONFIG_EFI_PARTITION 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_EFI_PARTITION [ 272s] ^ [ 272s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 272s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 272s] 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 \ [ 272s] -o sprdfb_chip_8830.o sprdfb_chip_8830.c -c [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 272s] from sprdfb_chip_common.h:18, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 272s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 272s] ^ [ 272s] /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 [ 272s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_chip_common.h:19, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 272s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_chip_common.h:17:0, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 272s] #define MAX(x, y) max(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 272s] from sprdfb_chip_common.h:19, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 272s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 272s] ^ [ 272s] In file included from sprdfb_chip_common.h:17:0, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 272s] #define MIN(x, y) min(x, y) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 272s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 272s] ^ [ 272s] In file included from sprdfb_chip_common.h:19:0, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /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 [ 272s] #define SPRD_PWM_BASE 0x88000000 [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 272s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 272s] from sprdfb_chip_common.h:18, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /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 [ 272s] #define ADC_BASE 0x40038300 //Aux ADC [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /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 [ 272s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 272s] ^ [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 272s] from sprdfb_chip_8830.h:18, [ 272s] from sprdfb_chip_common.h:30, [ 272s] from sprdfb_chip_common.c:17: [ 272s] /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 [ 272s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 272s] ^ [ 272s] make -C fs/ubifs/ [ 272s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 272s] rm -f libjffs2.o; ar rcs libjffs2.o [ 272s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 272s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 272s] from sprdfb_chip_common.h:17, [ 272s] from sprdfb_chip_8830.c:15: [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 272s] #define CONFIG_MMC 1 [ 272s] ^ [ 272s] /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 [ 272s] #define CONFIG_MMC [ 272s] ^ [ 272s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 273s] #define CONFIG_EFI_PARTITION 1 [ 273s] ^ [ 273s] /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 [ 273s] #define CONFIG_EFI_PARTITION [ 273s] ^ [ 273s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 273s] from sprdfb_chip_common.h:18, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 273s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 273s] ^ [ 273s] /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 [ 273s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 273s] ^ [ 273s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 273s] from sprdfb_chip_common.h:19, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 273s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 273s] ^ [ 273s] In file included from sprdfb_chip_common.h:17:0, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 273s] #define MAX(x, y) max(x, y) [ 273s] ^ [ 273s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 273s] from sprdfb_chip_common.h:19, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 273s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 273s] ^ [ 273s] In file included from sprdfb_chip_common.h:17:0, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 273s] #define MIN(x, y) min(x, y) [ 273s] ^ [ 273s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 273s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 273s] from sprdfb_chip_8830.h:18, [ 273s] from sprdfb_chip_common.h:30, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 273s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 273s] ^ [ 273s] In file included from sprdfb_chip_common.h:19:0, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /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 [ 273s] #define SPRD_PWM_BASE 0x88000000 [ 273s] ^ [ 273s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 273s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 273s] from sprdfb_chip_8830.h:18, [ 273s] from sprdfb_chip_common.h:30, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 273s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 273s] ^ [ 273s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 273s] from sprdfb_chip_common.h:18, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /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 [ 273s] #define ADC_BASE 0x40038300 //Aux ADC [ 273s] ^ [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 273s] rm -f libreiserfs.o; ar rcs libreiserfs.o [ 273s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 273s] from sprdfb_chip_8830.h:18, [ 273s] from sprdfb_chip_common.h:30, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /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 [ 273s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 273s] ^ [ 273s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 273s] from sprdfb_chip_8830.h:18, [ 273s] from sprdfb_chip_common.h:30, [ 273s] from sprdfb_chip_8830.c:15: [ 273s] /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 [ 273s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 273s] ^ [ 273s] sprdfb_chip_8830.c: In function 'dsi_enable': [ 273s] sprdfb_chip_8830.c:25:2: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 273s] __raw_bits_and(~BIT_DSI_PHY_PD, REG_AON_APB_PWR_CTRL); [ 273s] ^ [ 273s] 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 [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 273s] make -C fs/yaffs2/ [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 273s] make -C lib/libfdt/ [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 273s] make -C lib/ [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 273s] rm -f libubifs.o; ar rcs libubifs.o [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 273s] make -C lib/lzma/ [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 273s] rm -f libyaffs2.o; ar rcs libyaffs2.o [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 273s] make -C lib/lzo/ [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 273s] 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 \ [ 273s] -o fdt.o fdt.c -c [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 273s] rm -f liblzma.o; ar rcs liblzma.o [ 273s] 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 \ [ 273s] -o fdt_ro.o fdt_ro.c -c [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 273s] 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 \ [ 273s] -o fdt_rw.o fdt_rw.c -c [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 273s] rm -f liblzo.o; ar rcs liblzo.o [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 273s] make -C nand_fdl/common/src/ [ 273s] 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 \ [ 273s] -o fdt_strerror.o fdt_strerror.c -c [ 273s] 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 \ [ 273s] -o fdt_sw.o fdt_sw.c -c [ 273s] make -C net/ [ 273s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 273s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 274s] 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 \ [ 274s] -o fdt_wip.o fdt_wip.c -c [ 274s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 274s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 274s] 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 \ [ 274s] -o crc16.o crc16.c -c [ 274s] ld -r -o libfdt.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o [ 274s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 274s] 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 \ [ 274s] -o crc32.o crc32.c -c [ 274s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 274s] make -C post/ [ 274s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 274s] from crc32.c:12: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 274s] rm -f libnet.o; ar rcs libnet.o [ 274s] 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 \ [ 274s] -o crc32b.o crc32b.c -c [ 274s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 274s] make -C property/ [ 274s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 274s] 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 \ [ 274s] -o dl_engine.o dl_engine.c -c [ 274s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 274s] 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 \ [ 274s] -o ctype.o ctype.c -c [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 274s] from dl_engine.c:1: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] dl_engine.c:19:1: warning: missing braces around initializer [-Wmissing-braces] [ 274s] CMDPROC_TAB g_proctab[BSL_CMD_TYPE_MAX - BSL_CMD_TYPE_MIN] = {0, 0}; [ 274s] ^ [ 274s] dl_engine.c:19:1: warning: (near initialization for 'g_proctab[0]') [-Wmissing-braces] [ 274s] 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 \ [ 274s] -o fdl_crc.o fdl_crc.c -c [ 274s] 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 \ [ 274s] -o display_options.o display_options.c -c [ 274s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 274s] from fdl_crc.c:1: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from display_options.c:24: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] 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 \ [ 274s] -o packet.o packet.c -c [ 274s] 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 \ [ 274s] -o div64.o div64.c -c [ 274s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 274s] rm -f libpost.o; ar rcs libpost.o [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 274s] from packet.c:2: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 274s] from packet.c:7: [ 274s] /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] [ 274s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 274s] from packet.c:7: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 274s] #define KPD_NUM (0x31 << 16) [ 274s] ^ [ 274s] /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 [ 274s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 274s] from packet.c:7: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 274s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 274s] ^ [ 274s] /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 [ 274s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 274s] ^ [ 274s] packet.c: In function 'FDL_PacketDoIdle': [ 274s] packet.c:97:5: warning: implicit declaration of function 'FDL_GetBootMode' [-Wimplicit-function-declaration] [ 274s] uint32 boot_mode = FDL_GetBootMode(); [ 274s] ^ [ 274s] packet.c:143:13: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 274s] sio_trace ("data_size error : datasize = %d MAX_PKT_SIZE = %d\n", packet_ptr->data_size, MAX_PKT_SIZE); [ 274s] ^ [ 274s] packet.c:183:41: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [ 274s] crc = crc_16_l_calc((unsigned short *)&packet_ptr->packet_body, packet_ptr->data_size); [ 274s] ^ [ 274s] In file included from packet.c:6:0: [ 274s] /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 *' [ 274s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 274s] ^ [ 274s] packet.c: In function 'FDL_DataProcess': [ 274s] packet.c:277:27: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [ 274s] crc = crc_16_l_calc ( (const unsigned short *) (& (packet_ptr_src->packet_body)), size + PACKET_HEADER_SIZE); [ 274s] ^ [ 274s] In file included from packet.c:6:0: [ 274s] /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 *' [ 274s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 274s] ^ [ 274s] 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 \ [ 274s] -o errno.o errno.c -c [ 274s] 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 \ [ 274s] -o fdl_channel.o fdl_channel.c -c [ 274s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 274s] 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 \ [ 274s] -o gunzip.o gunzip.c -c [ 274s] In file included from fdl_channel.c:1:0: [ 274s] /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] [ 274s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 274s] from fdl_channel.c:2: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 274s] from fdl_channel.c:3: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 274s] #define KPD_NUM (0x31 << 16) [ 274s] ^ [ 274s] /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 [ 274s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 274s] from fdl_channel.c:3: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 274s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 274s] ^ [ 274s] /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 [ 274s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 274s] ^ [ 274s] fdl_channel.c:19:35: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 274s] PUBLIC struct FDL_ChannelHandler *FDL_ChannelGet() [ 274s] ^ [ 274s] fdl_channel.c: In function 'FDL_ChannelGet': [ 274s] fdl_channel.c:22:10: warning: unused variable 'ch' [-Wunused-variable] [ 274s] char ch; [ 274s] ^ [ 274s] 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 \ [ 274s] -o fdl_stdio.o fdl_stdio.c -c [ 274s] 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 \ [ 274s] -o usb_boot.o usb_boot.c -c [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 274s] from fdl_stdio.c:1: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] fdl_stdio.c: In function 'FDL_memcpy': [ 274s] fdl_stdio.c:8:18: warning: unused variable 'value' [-Wunused-variable] [ 274s] unsigned int value; [ 274s] ^ [ 274s] fdl_stdio.c:7:28: warning: unused variable 'i' [-Wunused-variable] [ 274s] unsigned int word_num, i; [ 274s] ^ [ 274s] fdl_stdio.c:7:18: warning: unused variable 'word_num' [-Wunused-variable] [ 274s] unsigned int word_num, i; [ 274s] ^ [ 274s] fdl_stdio.c:6:19: warning: unused variable 'tmp_dst' [-Wunused-variable] [ 274s] unsigned int *tmp_dst = (unsigned int *) dst; [ 274s] ^ [ 274s] 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 \ [ 274s] -o hashtable.o hashtable.c -c [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 274s] from gunzip.c:24: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] 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 \ [ 274s] -o drv_usb.o drv_usb.c -c [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb_boot.h:19, [ 274s] from usb_boot.c:17: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 274s] from usb_boot.c:18: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 274s] #define KPD_NUM (0x31 << 16) [ 274s] ^ [ 274s] /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 [ 274s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 274s] from usb_boot.c:18: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 274s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 274s] ^ [ 274s] /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 [ 274s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 274s] ^ [ 274s] In file included from usb_boot.c:21:0: [ 274s] /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] [ 274s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 274s] ^ [ 274s] usb_boot.c: In function 'usb_init': [ 274s] usb_boot.c:97:5: warning: implicit declaration of function 'usb_core_init' [-Wimplicit-function-declaration] [ 274s] usb_core_init(); [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 274s] from hashtable.c:44: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] 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 \ [ 274s] -o lmb.o lmb.c -c [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 274s] from lmb.c:13: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23, [ 274s] from drv_usb.c:12: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 274s] from drv_usb.c:12: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 274s] #define KPD_NUM (0x31 << 16) [ 274s] ^ [ 274s] /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 [ 274s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 274s] from drv_usb.c:12: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 274s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 274s] ^ [ 274s] /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 [ 274s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 274s] ^ [ 274s] drv_usb.c: In function 'usb_get_descriptor': [ 274s] drv_usb.c:211:13: warning: implicit declaration of function 'UCOM_Get_DevDesc' [-Wimplicit-function-declaration] [ 274s] send_data = (uint8 *) UCOM_Get_DevDesc();//lint !e718 [ 274s] ^ [ 274s] drv_usb.c:218:13: warning: implicit declaration of function 'UCOM_Get_CfgDesc' [-Wimplicit-function-declaration] [ 274s] send_data = (uint8 *) UCOM_Get_CfgDesc();//lint !e718 [ 274s] ^ [ 274s] drv_usb.c: In function 'VCOM_Read': [ 274s] drv_usb.c:703:33: warning: initialization discards 'const' qualifier from pointer target type [ 274s] unsigned char *src, *dest = buf; [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] 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 \ [ 274s] -o virtual_com.o virtual_com.c -c [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 274s] from virtual_com.c:17: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 274s] #define CONFIG_MMC 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_MMC [ 274s] ^ [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 274s] #define CONFIG_EFI_PARTITION 1 [ 274s] ^ [ 274s] /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 [ 274s] #define CONFIG_EFI_PARTITION [ 274s] ^ [ 274s] 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 \ [ 274s] -o ldiv.o ldiv.c -c [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 274s] from virtual_com.c:18: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 274s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 274s] ^ [ 274s] In file included from virtual_com.c:17:0: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 274s] #define MAX(x, y) max(x, y) [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 274s] from virtual_com.c:18: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 274s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 274s] ^ [ 274s] In file included from virtual_com.c:17:0: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 274s] #define MIN(x, y) min(x, y) [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 274s] from virtual_com.c:18: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 274s] #define KPD_NUM (0x31 << 16) [ 274s] ^ [ 274s] /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 [ 274s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 274s] ^ [ 274s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 274s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 274s] from virtual_com.c:18: [ 274s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 274s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 274s] ^ [ 274s] /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 [ 274s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 274s] ^ [ 274s] virtual_com.c:55:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 274s] uint8 *UCOM_Get_DevDesc() [ 274s] ^ [ 274s] virtual_com.c:66:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 274s] uint8 *UCOM_Get_CfgDesc() [ 274s] ^ [ 274s] 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 [ 274s] 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 \ [ 274s] -o net_utils.o net_utils.c -c [ 275s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 275s] 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 \ [ 275s] -o qsort.o qsort.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 275s] from net_utils.c:29: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] 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 \ [ 275s] -o string.o string.c -c [ 275s] 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 \ [ 275s] -o strmhz.o strmhz.c -c [ 275s] 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 \ [ 275s] -o time.o time.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 275s] from strmhz.c:23: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] 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 \ [ 275s] -o vsprintf.o vsprintf.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 275s] from time.c:24: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] 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 \ [ 275s] -o zlib.o zlib.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 275s] from vsprintf.c:17: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 275s] 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 \ [ 275s] -o rbtree.o rbtree.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 275s] from zlib.c:29: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 275s] from rbtree.c:23: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 275s] 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 \ [ 275s] -o alarm_mode.o alarm_mode.c -c [ 275s] 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 \ [ 275s] -o android_boot.o android_boot.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from alarm_mode.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 275s] from alarm_mode.c:13: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 275s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from alarm_mode.c:2:0: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 275s] #define MAX(x, y) max(x, y) [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 275s] from alarm_mode.c:13: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 275s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from alarm_mode.c:2:0: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 275s] #define MIN(x, y) min(x, y) [ 275s] ^ [ 275s] alarm_mode.c: In function 'alarm_file_check': [ 275s] alarm_mode.c:27:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 275s] if(!do_fs_file_read(PROD_PART, "/alarm_flag", time_buf,200)){ [ 275s] ^ [ 275s] alarm_mode.c: In function 'alarm_flag_check': [ 275s] alarm_mode.c:114:2: warning: implicit declaration of function 'get_alarm_lead_set' [-Wimplicit-function-declaration] [ 275s] time_lead = get_alarm_lead_set(); [ 275s] ^ [ 275s] 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 \ [ 275s] -o autodloader_mode.o autodloader_mode.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 275s] from android_boot.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] android_boot.c: In function 'creat_atags': [ 275s] android_boot.c:8:11: warning: unused variable 'pcount' [-Wunused-variable] [ 275s] unsigned pcount; [ 275s] ^ [ 275s] 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 \ [ 275s] -o backupnvitem.o backupnvitem.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from autodloader_mode.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 275s] from autodloader_mode.c:8: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 275s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from autodloader_mode.c:5:0: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 275s] #define MAX(x, y) max(x, y) [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 275s] from autodloader_mode.c:8: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 275s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from autodloader_mode.c:5:0: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 275s] #define MIN(x, y) min(x, y) [ 275s] ^ [ 275s] In file included from autodloader_mode.c:10:0: [ 275s] /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] [ 275s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 275s] from autodloader_mode.c:12: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 275s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 275s] ^ [ 275s] /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 [ 275s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 275s] from autodloader_mode.c:15: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 275s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 275s] from autodloader_mode.c:12: [ 275s] /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 [ 275s] #define ADC_BASE 0x40038300 //Aux ADC [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 275s] from autodloader_mode.c:15: [ 275s] /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 [ 275s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 275s] from autodloader_mode.c:15: [ 275s] /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 [ 275s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 275s] ^ [ 275s] autodloader_mode.c: In function 'autodloader_mode': [ 275s] autodloader_mode.c:208:6: warning: unused variable 'i' [-Wunused-variable] [ 275s] int i = 0; [ 275s] ^ [ 275s] 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 \ [ 275s] -o boot_mode_regist.o boot_mode_regist.c -c [ 275s] backupnvitem.c: In function 'XCheckNVStructEx': [ 275s] backupnvitem.c:416:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 275s] printf("%s %d\n", __FUNCTION__, __LINE__); [ 275s] ^ [ 275s] backupnvitem.c: In function 'XPreserveNVItem': [ 275s] backupnvitem.c:906:3: warning: missing braces around initializer [-Wmissing-braces] [ 275s] BT_CONFIG para = {0}; [ 275s] ^ [ 275s] backupnvitem.c:906:3: warning: (near initialization for 'para.bt_addr') [-Wmissing-braces] [ 275s] 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 \ [ 275s] -o calibration_detect.o calibration_detect.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 275s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3, [ 275s] from boot_mode_regist.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] 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 \ [ 275s] -o charge_mode.o charge_mode.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from calibration_detect.h:3, [ 275s] from calibration_detect.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] 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 [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 275s] from calibration_detect.h:15, [ 275s] from calibration_detect.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 275s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from calibration_detect.h:4:0, [ 275s] from calibration_detect.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 275s] #define MAX(x, y) max(x, y) [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 275s] from calibration_detect.h:15, [ 275s] from calibration_detect.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 275s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from calibration_detect.h:4:0, [ 275s] from calibration_detect.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 275s] #define MIN(x, y) min(x, y) [ 275s] ^ [ 275s] calibration_detect.c:47:8: warning: type defaults to 'int' in declaration of 'caliberate_device' [-Wimplicit-int] [ 275s] static caliberate_device = CALIBERATE_DEVICE_NULL; [ 275s] ^ [ 275s] calibration_detect.c: In function 'pctool_mode_detect_uart': [ 275s] calibration_detect.c:141:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=] [ 275s] printf("uart calibrate configuration start_time=%d\n", start_time); [ 275s] ^ [ 275s] calibration_detect.c:164:9: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 275s] calibration_cmd_buf=malloc(1024); [ 275s] ^ [ 275s] calibration_detect.c:164:28: warning: assignment makes pointer from integer without a cast [ 275s] calibration_cmd_buf=malloc(1024); [ 275s] ^ [ 275s] calibration_detect.c:133:9: warning: unused variable 'off' [-Wunused-variable] [ 275s] loff_t off = 0; [ 275s] ^ [ 275s] calibration_detect.c:126:6: warning: unused variable 'ret' [-Wunused-variable] [ 275s] int ret; [ 275s] ^ [ 275s] calibration_detect.c: In function 'cali_usb_debug': [ 275s] calibration_detect.c:286:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 275s] { int ret; [ 275s] ^ [ 275s] calibration_detect.c: At top level: [ 275s] calibration_detect.c:320:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 275s] int cali_usb_prepare() [ 275s] ^ [ 275s] calibration_detect.c: In function 'cali_usb_prepare': [ 275s] calibration_detect.c:322:6: warning: unused variable 'ret' [-Wunused-variable] [ 275s] int ret = 0; [ 275s] ^ [ 275s] calibration_detect.c: At top level: [ 275s] calibration_detect.c:336:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 275s] int cali_usb_enum() [ 275s] ^ [ 275s] calibration_detect.c: In function 'prepare_reply_buf': [ 275s] calibration_detect.c:477:34: warning: pointer targets in passing argument 1 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 275s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 275s] ^ [ 275s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 275s] int translate_packet(char *dest,char *src,int size) [ 275s] ^ [ 275s] calibration_detect.c:477:65: warning: pointer targets in passing argument 2 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 275s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 275s] ^ [ 275s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 275s] int translate_packet(char *dest,char *src,int size) [ 275s] ^ [ 275s] calibration_detect.c:478:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 275s] free(rsp_ptr); [ 275s] ^ [ 275s] calibration_detect.c:452:9: warning: unused variable 'ret' [-Wunused-variable] [ 275s] int ret = 0; [ 275s] ^ [ 275s] calibration_detect.c: In function 'pctool_mode_detect': [ 275s] calibration_detect.c:489:9: warning: implicit declaration of function 'get_mode_from_gpio' [-Wimplicit-function-declaration] [ 275s] if(get_mode_from_gpio()) [ 275s] ^ [ 275s] calibration_detect.c:567:21: warning: assignment makes pointer from integer without a cast [ 275s] calibration_cmd_buf=malloc(1024); [ 275s] ^ [ 275s] calibration_detect.c:487:9: warning: unused variable 'off' [-Wunused-variable] [ 275s] loff_t off = 0; [ 275s] ^ [ 275s] calibration_detect.c:486:15: warning: unused variable 'caliberate_mode' [-Wunused-variable] [ 275s] unsigned int caliberate_mode; [ 275s] ^ [ 275s] calibration_detect.c: In function 'cali_file_check': [ 275s] calibration_detect.c:602:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 275s] if(do_fs_file_read("prodnv", "/adc.bin", (char *)nv_buffer,sizeof(nv_buffer))) [ 275s] ^ [ 275s] calibration_detect.c: At top level: [ 275s] calibration_detect.c:255:12: warning: 'recheck_power_button' defined but not used [-Wunused-function] [ 275s] static int recheck_power_button(void) [ 275s] ^ [ 275s] 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 \ [ 275s] -o cmd_cboot.o cmd_cboot.c -c [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from charge_mode.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 275s] from charge_mode.c:13: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 275s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from charge_mode.c:2:0: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 275s] #define MAX(x, y) max(x, y) [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 275s] from charge_mode.c:13: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 275s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from charge_mode.c:2:0: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 275s] #define MIN(x, y) min(x, y) [ 275s] ^ [ 275s] 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 \ [ 275s] -o dev_tree.o dev_tree.c -c [ 275s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 275s] from cmd_cboot.c:1: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 275s] #define CONFIG_MMC 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_MMC [ 275s] ^ [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 275s] #define CONFIG_EFI_PARTITION 1 [ 275s] ^ [ 275s] /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 [ 275s] #define CONFIG_EFI_PARTITION [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 275s] from cmd_cboot.c:7: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 275s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from cmd_cboot.c:2:0: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 275s] #define MAX(x, y) max(x, y) [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 275s] from cmd_cboot.c:7: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 275s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 275s] ^ [ 275s] In file included from cmd_cboot.c:2:0: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 275s] #define MIN(x, y) min(x, y) [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 275s] from cmd_cboot.c:9: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 275s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 275s] ^ [ 275s] /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 [ 275s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 275s] from cmd_cboot.c:9: [ 275s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 275s] struct gpio_chip *chip); [ 275s] ^ [ 275s] /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 [ 275s] cmd_cboot.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 275s] extern int get_mode_from_gpio(); [ 275s] ^ [ 275s] cmd_cboot.c: In function 'get_mode_from_pctool': [ 275s] cmd_cboot.c:60:3: warning: implicit declaration of function 'pctool_mode_detect' [-Wimplicit-function-declaration] [ 275s] ret = pctool_mode_detect(); [ 275s] ^ [ 275s] cmd_cboot.c: In function 'get_mode_from_keypad': [ 275s] cmd_cboot.c:184:5: warning: implicit declaration of function 'get_pwr_key_cnt' [-Wimplicit-function-declaration] [ 275s] if(boot_pwr_check() >= get_pwr_key_cnt()){ [ 275s] ^ [ 275s] cmd_cboot.c:189:4: warning: implicit declaration of function 'tizen_check_keypad' [-Wimplicit-function-declaration] [ 275s] key_code = tizen_check_keypad(); [ 275s] ^ [ 275s] cmd_cboot.c: In function 'do_cboot': [ 275s] cmd_cboot.c:290:3: warning: implicit declaration of function 'draw_image' [-Wimplicit-function-declaration] [ 275s] draw_image(1); [ 275s] ^ [ 275s] cmd_cboot.c:305:2: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 275s] lcd_display(); [ 275s] ^ [ 275s] cmd_cboot.c:306:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 275s] MMU_DisableIDCM(); [ 275s] ^ [ 275s] cmd_cboot.c:309:5: warning: implicit declaration of function 'cmd_mode_regist' [-Wimplicit-function-declaration] [ 275s] cmd_mode_regist(boot_mode_array); [ 275s] ^ [ 275s] cmd_cboot.c:315:9: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 275s] power_down_devices(); [ 275s] ^ [ 275s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 275s] from cmd_cboot.c:9: [ 275s] cmd_cboot.c: At top level: [ 275s] /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] [ 275s] static bool gpio_is_valid(int number) [ 275s] ^ [ 275s] cmd_cboot.c: In function 'get_mode_from_alarm_register': [ 275s] cmd_cboot.c:166:1: warning: control reaches end of non-void function [-Wreturn-type] [ 275s] } [ 275s] ^ [ 275s] 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 \ [ 275s] -o engtest_mode.o engtest_mode.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from dev_tree.c:30: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] dev_tree.c: In function 'dev_tree_get_entry_ptr': [ 276s] dev_tree.c:126:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 276s] debugf("magic=%x,ver=%d,num=%d\n",table->magic,table->version,table->num_entries); [ 276s] ^ [ 276s] 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 \ [ 276s] -o factorytest_mode.o factorytest_mode.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from engtest_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from engtest_mode.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from engtest_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from engtest_mode.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from engtest_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] 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 \ [ 276s] -o fs_common_rw.o fs_common_rw.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from factorytest_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from factorytest_mode.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from factorytest_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from factorytest_mode.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from factorytest_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] 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 \ [ 276s] -o modem_entry.o modem_entry.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 276s] from fs_common_rw.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 276s] from fs_common_rw.c:11: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from fs_common_rw.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 276s] from fs_common_rw.c:11: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from fs_common_rw.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] In file included from fs_common_rw.c:11:0: [ 276s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] PUBLIC void Emmc_DisSdClk(); [ 276s] ^ [ 276s] fs_common_rw.c: In function 'do_fs_file_read': [ 276s] fs_common_rw.c:21:2: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 276s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 276s] ^ [ 276s] fs_common_rw.c:21:7: warning: assignment makes pointer from integer without a cast [ 276s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 276s] ^ [ 276s] fs_common_rw.c:27:2: warning: implicit declaration of function 'ext4_read_content' [-Wimplicit-function-declaration] [ 276s] ret = ext4_read_content(mmc_dev, [ 276s] ^ [ 276s] fs_common_rw.c:33:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 276s] free(part); [ 276s] ^ [ 276s] fs_common_rw.c: In function 'do_raw_data_read': [ 276s] fs_common_rw.c:81:12: warning: assignment makes pointer from integer without a cast [ 276s] partition = malloc(sizeof(wchar_t)*(strlen(part)+1)); [ 276s] ^ [ 276s] fs_common_rw.c:97:10: warning: assignment makes pointer from integer without a cast [ 276s] sctbuf = malloc(EMMC_SECTOR_SIZE); [ 276s] ^ [ 276s] fs_common_rw.c:110:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 276s] ^ [ 276s] In file included from fs_common_rw.c:11:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] fs_common_rw.c:118:47: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] if(!Emmc_Read(PARTITION_USER, cursct, nsct, bufwp)) [ 276s] ^ [ 276s] In file included from fs_common_rw.c:11:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] fs_common_rw.c:125:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 276s] ^ [ 276s] In file included from fs_common_rw.c:11:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] fs_common_rw.c: In function 'do_raw_data_write': [ 276s] fs_common_rw.c:253:1: warning: label 'end' defined but not used [-Wunused-label] [ 276s] end: [ 276s] ^ [ 276s] 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 \ [ 276s] -o normal_emc_mode.o normal_emc_mode.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 276s] from modem_entry.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 276s] from modem_entry.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 276s] from modem_entry.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 276s] from modem_entry.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 276s] from modem_entry.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 276s] from modem_entry.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 276s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 276s] ^ [ 276s] /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 [ 276s] #define VLR_INFO_OFF (512) [ 276s] ^ [ 276s] In file included from modem_entry.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 276s] ^ [ 276s] In file included from modem_entry.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] int read_spldata(); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void vlx_entry(); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 276s] from modem_entry.c:2: [ 276s] /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 [ 276s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 276s] from modem_entry.c:2: [ 276s] /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 [ 276s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 276s] ^ [ 276s] modem_entry.c:38:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void modem_entry() [ 276s] ^ [ 276s] 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 \ [ 276s] -o normal_mode.o normal_mode.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from normal_emc_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 276s] from normal_emc_mode.c:2: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 276s] from normal_emc_mode.c:2: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 276s] from normal_emc_mode.c:2: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 276s] from normal_emc_mode.c:2: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 276s] from normal_emc_mode.c:2: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 276s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 276s] ^ [ 276s] /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 [ 276s] #define VLR_INFO_OFF (512) [ 276s] ^ [ 276s] In file included from normal_emc_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 276s] ^ [ 276s] In file included from normal_emc_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] int read_spldata(); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void vlx_entry(); [ 276s] ^ [ 276s] In file included from normal_emc_mode.c:5:0: [ 276s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] PUBLIC void Emmc_DisSdClk(); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 276s] from normal_emc_mode.c:13: [ 276s] /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 [ 276s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 276s] from normal_emc_mode.c:13: [ 276s] /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 [ 276s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 276s] ^ [ 276s] normal_emc_mode.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [ 276s] s_boot_image_COMMON_table, [ 276s] ^ [ 276s] normal_emc_mode.c: In function 'read_logoimg': [ 276s] normal_emc_mode.c:163:78: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] if (TRUE != Emmc_Read(PARTITION_USER, info.start, size / EMMC_SECTOR_SIZE, bmp_img)) { [ 276s] ^ [ 276s] In file included from normal_emc_mode.c:5:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] normal_emc_mode.c: At top level: [ 276s] normal_emc_mode.c:171:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] int read_spldata() [ 276s] ^ [ 276s] normal_emc_mode.c: In function 'w2c': [ 276s] normal_emc_mode.c:227:15: warning: comparison between pointer and integer [ 276s] while ((NULL != wchar[i]) && (i < 72)) { [ 276s] ^ [ 276s] normal_emc_mode.c: In function '_boot_partition_read': [ 276s] normal_emc_mode.c:300:79: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] if (TRUE == Emmc_Read(PARTITION_USER, info.start + offsetsector + nsct, 1, sctbuf)) { [ 276s] ^ [ 276s] In file included from normal_emc_mode.c:5:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] normal_emc_mode.c: In function 'blk_data_read': [ 276s] normal_emc_mode.c:338:56: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] if (!Emmc_Read(PARTITION_USER, start_sec + nsct, 1, sctbuf)) { [ 276s] ^ [ 276s] In file included from normal_emc_mode.c:5:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] normal_emc_mode.c: In function '_boot_read_partition_with_backup': [ 276s] normal_emc_mode.c:421:11: warning: assignment from incompatible pointer type [ 276s] header_p = header; [ 276s] ^ [ 276s] normal_emc_mode.c:437:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 276s] debugf("_boot_read_partition_with_backup origin checksum 0x%x\n", checksum); [ 276s] ^ [ 276s] normal_emc_mode.c:438:3: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 276s] if (_chkNVEcc(oribuf + EMMC_SECTOR_SIZE, info.size, checksum)) { [ 276s] ^ [ 276s] normal_emc_mode.c:439:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(info.mem_addr, oribuf + EMMC_SECTOR_SIZE, info.size); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from normal_emc_mode.c:2: [ 276s] /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' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] normal_emc_mode.c:447:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 276s] debugf("_boot_read_partition_with_backup backup checksum 0x%x\n", checksum); [ 276s] ^ [ 276s] normal_emc_mode.c:455:13: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 276s] memset(info.mem_addr, 0, info.size); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from normal_emc_mode.c:2: [ 276s] /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' [ 276s] void* memset(void*, int, size_t); [ 276s] ^ [ 276s] normal_emc_mode.c:465:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(info.mem_addr, bakbuf + EMMC_SECTOR_SIZE, info.size); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from normal_emc_mode.c:2: [ 276s] /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' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] normal_emc_mode.c: In function '_boot_load_required_image': [ 276s] normal_emc_mode.c:490:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 276s] debugf("%s: load %s to addr 0x%08x\n", __FUNCTION__, w2c(img_info.partition), img_info.mem_addr); [ 276s] ^ [ 276s] normal_emc_mode.c:488:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 276s] uint32 secure_boot_offset = 0; [ 276s] ^ [ 276s] normal_emc_mode.c: In function '_boot_load_kernel_ramdisk_image': [ 276s] normal_emc_mode.c:527:13: warning: assignment from incompatible pointer type [ 276s] partition = BOOT_PART; [ 276s] ^ [ 276s] normal_emc_mode.c:528:3: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'wchar_t *' [-Wformat=] [ 276s] debugf("Enter boot mode (partition name: %s)\n", partition); [ 276s] ^ [ 276s] normal_emc_mode.c:531:46: warning: passing argument 3 of 'blk_data_read' from incompatible pointer type [ 276s] if (!blk_data_read(0x2C00000, sizeof(*hdr), hdr)) { [ 276s] ^ [ 276s] normal_emc_mode.c:315:12: note: expected 'u8 *' but argument is of type 'struct boot_img_hdr *' [ 276s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 276s] ^ [ 276s] normal_emc_mode.c:548:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 276s] debugf("bzImage size: %x\n", size); [ 276s] ^ [ 276s] In file included from normal_emc_mode.c:2:0: [ 276s] /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 [ 276s] #define KERNEL_ADR 0x80008000 [ 276s] ^ [ 276s] normal_emc_mode.c:550:38: note: in expansion of macro 'KERNEL_ADR' [ 276s] if (!blk_data_read(0x2C00000, size, KERNEL_ADR - roundup(sizeof(*hdr), ALIGN_SIZE))) { [ 276s] ^ [ 276s] normal_emc_mode.c:315:12: note: expected 'u8 *' but argument is of type 'unsigned int' [ 276s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 276s] ^ [ 276s] normal_emc_mode.c:557:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 276s] debugf("dt_img_adr: %u\n", dt_img_adr); [ 276s] ^ [ 276s] normal_emc_mode.c:558:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 276s] debugf("dt_img_adr: %x\n", dt_img_adr); [ 276s] ^ [ 276s] normal_emc_mode.c:521:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 276s] uint32 secure_boot_offset = 0; [ 276s] ^ [ 276s] normal_emc_mode.c:519:15: warning: unused variable 'offset' [-Wunused-variable] [ 276s] uint32 size, offset; [ 276s] ^ [ 276s] normal_emc_mode.c: In function 'vlx_nand_boot': [ 276s] normal_emc_mode.c:636:2: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 276s] performance_debug("8:"); [ 276s] ^ [ 276s] normal_emc_mode.c:636:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 276s] normal_emc_mode.c:650:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 276s] performance_debug("9:"); [ 276s] ^ [ 276s] normal_emc_mode.c:661:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 276s] sipc_addr_reset(); [ 276s] ^ [ 276s] normal_emc_mode.c:604:11: warning: unused variable 'partition' [-Wunused-variable] [ 276s] wchar_t *partition = NULL; [ 276s] ^ [ 276s] normal_emc_mode.c: At top level: [ 276s] normal_emc_mode.c:236:12: warning: '_boot_secure_check' defined but not used [-Wunused-function] [ 276s] LOCAL void _boot_secure_check(void) [ 276s] ^ [ 276s] 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 \ [ 276s] -o reboot_mode.o reboot_mode.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 276s] from normal_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 276s] from normal_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 276s] from normal_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 276s] from normal_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 276s] from normal_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 276s] from normal_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 276s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 276s] ^ [ 276s] /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 [ 276s] #define VLR_INFO_OFF (512) [ 276s] ^ [ 276s] In file included from normal_mode.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 276s] ^ [ 276s] In file included from normal_mode.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] int read_spldata(); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void vlx_entry(); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 276s] from normal_mode.c:5: [ 276s] /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 [ 276s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 276s] from normal_mode.c:5: [ 276s] /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 [ 276s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 276s] ^ [ 276s] normal_mode.c:25:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] unsigned spl_data_buf[0x2000] __attribute__ ((align(4))) = { [ 276s] ^ [ 276s] normal_mode.c:28:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] unsigned harsh_data_buf[8] __attribute__ ((align(4))) = { [ 276s] ^ [ 276s] normal_mode.c: In function '_chkNVEcc': [ 276s] normal_mode.c:110:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 276s] debugf("_chkNVEcc calcout 0x%lx, org 0x%llx\n", crc, checksum); [ 276s] ^ [ 276s] normal_mode.c:110:2: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] [ 276s] normal_mode.c: In function 'fdt_fixup_for_tizen': [ 276s] normal_mode.c:173:2: warning: zero-length gnu_printf format string [-Wformat-zero-length] [ 276s] ptr += sprintf(ptr, CMDLINE_DEFAULT_TIZEN); [ 276s] ^ [ 276s] normal_mode.c:178:2: warning: implicit declaration of function 'load_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 276s] ptr += sprintf(ptr, " lcd_id=ID%06x", load_lcd_id_to_kernel()); [ 276s] ^ [ 276s] normal_mode.c:184:2: warning: implicit declaration of function 'load_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 276s] ptr += sprintf(ptr, " mtp_offset=%s", load_mtp_offset_to_kernel()); [ 276s] ^ [ 276s] normal_mode.c:184:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 276s] normal_mode.c:185:2: warning: implicit declaration of function 'load_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 276s] ptr += sprintf(ptr, " elvss_offset=0x%x", load_elvss_offset_to_kernel()); [ 276s] ^ [ 276s] normal_mode.c:186:2: warning: implicit declaration of function 'load_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 276s] ptr += sprintf(ptr, " hbm_offset=%s", load_hbm_offset_to_kernel()); [ 276s] ^ [ 276s] normal_mode.c:186:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 276s] normal_mode.c:196:3: warning: implicit declaration of function 'sprdchg_start_charge' [-Wimplicit-function-declaration] [ 276s] sprdchg_start_charge(); [ 276s] ^ [ 276s] normal_mode.c:202:2: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 276s] thor_save_env("normal"); [ 276s] ^ [ 276s] normal_mode.c:245:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 276s] if (s = getenv("sec_log_addr")) { [ 276s] ^ [ 276s] normal_mode.c:261:2: warning: implicit declaration of function 'get_dram_cs_number' [-Wimplicit-function-declaration] [ 276s] ptr += sprintf(ptr, " mem_cs=%d, mem_cs0_sz=%08x",get_dram_cs_number(), get_dram_cs0_size()); [ 276s] ^ [ 276s] normal_mode.c:261:2: warning: implicit declaration of function 'get_dram_cs0_size' [-Wimplicit-function-declaration] [ 276s] normal_mode.c:270:2: warning: implicit declaration of function 'tizen_get_emmc_serial_number' [-Wimplicit-function-declaration] [ 276s] tizen_get_emmc_serial_number((unsigned int *)uid); [ 276s] ^ [ 276s] normal_mode.c:275:2: warning: implicit declaration of function 'is_calibration_by_uart' [-Wimplicit-function-declaration] [ 276s] if (is_calibration_by_uart()) [ 276s] ^ [ 276s] normal_mode.c:281:2: warning: implicit declaration of function 'get_fgu_vol' [-Wimplicit-function-declaration] [ 276s] ptr += sprintf(ptr, " fgu_init=%d,%d", get_fgu_vol(), get_fgu_cur()); [ 276s] ^ [ 276s] normal_mode.c:281:2: warning: implicit declaration of function 'get_fgu_cur' [-Wimplicit-function-declaration] [ 276s] normal_mode.c:170:14: warning: unused variable 'mmc' [-Wunused-variable] [ 276s] struct mmc *mmc; [ 276s] ^ [ 276s] normal_mode.c: At top level: [ 276s] normal_mode.c:295:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] static int start_linux() [ 276s] ^ [ 276s] normal_mode.c: In function 'start_linux': [ 276s] normal_mode.c:303:22: warning: initialization from incompatible pointer type [ 276s] boot_img_hdr *hdr = raw_header; [ 276s] ^ [ 276s] normal_mode.c:328:2: warning: implicit declaration of function 'load_nvitem' [-Wimplicit-function-declaration] [ 276s] load_nvitem(); [ 276s] ^ [ 276s] normal_mode.c:329:2: warning: implicit declaration of function 'load_modem_data' [-Wimplicit-function-declaration] [ 276s] load_modem_data(); [ 276s] ^ [ 276s] normal_mode.c:330:2: warning: implicit declaration of function 'load_dsp_data' [-Wimplicit-function-declaration] [ 276s] load_dsp_data(); [ 276s] ^ [ 276s] normal_mode.c:332:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 276s] sipc_addr_reset(); [ 276s] ^ [ 276s] normal_mode.c:333:2: warning: implicit declaration of function 'modem_entry' [-Wimplicit-function-declaration] [ 276s] modem_entry(); [ 276s] ^ [ 276s] normal_mode.c:337:2: warning: implicit declaration of function 'Emmc_DisSdClk' [-Wimplicit-function-declaration] [ 276s] Emmc_DisSdClk(); [ 276s] ^ [ 276s] normal_mode.c:350:2: warning: implicit declaration of function 'fdt_[ 256.220008] serial8250: too much work for irq4 [ 276s] fixup_adc_calibration_data' [-Wimplicit-function-declaration] [ 276s] fdt_fixup_adc_calibration_data(fdt_blob); [ 276s] ^ [ 276s] normal_mode.c:361:2: warning: implicit declaration of function 'fdt_fixup_boot_ram_log' [-Wimplicit-function-declaration] [ 276s] fdt_fixup_boot_ram_log(fdt_blob); [ 276s] ^ [ 276s] normal_mode.c:362:2: warning: implicit declaration of function 'fdt_fixup_chosen_bootargs_board_private' [-Wimplicit-function-declaration] [ 276s] fdt_fixup_chosen_bootargs_board_private(fdt_blob, boot_cmd); [ 276s] ^ [ 276s] normal_mode.c:303:16: warning: unused variable 'hdr' [-Wunused-variable] [ 276s] boot_img_hdr *hdr = raw_header; [ 276s] ^ [ 276s] normal_mode.c:299:6: warning: unused variable 'parm_at' [-Wunused-variable] [ 276s] u32 parm_at = (u32) - 1; [ 276s] ^ [ 276s] normal_mode.c:298:6: warning: unused variable 'exec_at' [-Wunused-variable] [ 276s] u32 exec_at = (u32) - 1; [ 276s] ^ [ 276s] normal_mode.c: In function 'lcd_display_logo': [ 276s] normal_mode.c:387:0: warning: "mdelay" redefined [ 276s] #define mdelay(t) ({unsigned long msec=(t); while (msec--) { udelay(1000);}}) //LiWei add [ 276s] ^ [ 276s] In file included from normal_mode.c:2:0: [ 276s] calibration_detect.h:51:0: note: this is the location of the previous definition [ 276s] #define mdelay(_ms) udelay(_ms*1000) [ 276s] ^ [ 276s] normal_mode.c:406:10: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 276s] memset((unsigned int)lcd_base, 0, size); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from normal_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memset(void*, int, size_t); [ 276s] ^ [ 276s] normal_mode.c: At top level: [ 276s] normal_mode.c:415:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] int is_factorymode() [ 276s] ^ [ 276s] normal_mode.c: In function 'is_factorymode': [ 276s] normal_mode.c:420:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 276s] if (do_fs_file_read(FACTORY_PART, "/factorymode.file", factorymode_falg, 8)) [ 276s] ^ [ 276s] normal_mode.c: In function 'get_product_sn': [ 276s] normal_mode.c:438:2: warning: implicit declaration of function 'do_raw_data_read' [-Wimplicit-function-declaration] [ 276s] if (do_raw_data_read(PRODUCTINFO_FILE_PATITION, sizeof(phase_check), 0, (char *)&phase_check)) { [ 276s] ^ [ 276s] normal_mode.c: In function 'cmdline_set_cp_cmdline': [ 276s] normal_mode.c:638:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'char *' [-Wformat=] [ 276s] debugf("nv_info:[%08x]%s \n", nv_info, nv_info); [ 276s] ^ [ 276s] normal_mode.c: In function 'creat_cmdline': [ 276s] normal_mode.c:658:6: warning: unused variable 'ret' [-Wunused-variable] [ 276s] int ret = 0; [ 276s] ^ [ 276s] normal_mode.c: At top level: [ 276s] normal_mode.c:740:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void vlx_entry() [ 276s] ^ [ 276s] normal_mode.c: In function 'vlx_entry': [ 276s] normal_mode.c:745:3: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 276s] power_down_devices(); [ 276s] ^ [ 276s] normal_mode.c:753:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 276s] MMU_DisableIDCM(); [ 276s] ^ [ 276s] normal_mode.c: At top level: [ 276s] normal_mode.c:868:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void sipc_addr_reset() [ 276s] ^ [ 276s] normal_mode.c:868:6: warning: conflicting types for 'sipc_addr_reset' [ 276s] normal_mode.c:332:2: note: previous implicit declaration of 'sipc_addr_reset' was here [ 276s] sipc_addr_reset(); [ 276s] ^ [ 276s] 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 \ [ 276s] -o recv_emc_mode.o recv_emc_mode.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from reboot_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 276s] from reboot_mode.c:6: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from reboot_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 276s] from reboot_mode.c:6: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from reboot_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] In file included from reboot_mode.c:9:0: [ 276s] /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] [ 276s] PUBLIC void BOOT_ResetHWFlag (); [ 276s] ^ [ 276s] reboot_mode.c: In function 'ResetMCU': [ 276s] reboot_mode.c:15:5: warning: implicit declaration of function 'CHIP_PHY_ResetHWFlag' [-Wimplicit-function-declaration] [ 276s] CHIP_PHY_ResetHWFlag(0x1FFF); [ 276s] ^ [ 276s] reboot_mode.c:16:5: warning: implicit declaration of function 'CHIP_PHY_SetWDGHWFlag' [-Wimplicit-function-declaration] [ 276s] CHIP_PHY_SetWDGHWFlag(TYPE_RESET, AUTO_TEST_MODE); [ 276s] ^ [ 276s] reboot_mode.c:18:5: warning: implicit declaration of function 'CHIP_ResetMCU' [-Wimplicit-function-declaration] [ 276s] CHIP_ResetMCU(); [ 276s] ^ [ 276s] 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 \ [ 276s] -o recv_mode.o recv_mode.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 276s] from recv_emc_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 276s] from recv_emc_mode.c:3: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from recv_emc_mode.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 276s] from recv_emc_mode.c:3: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from recv_emc_mode.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] In file included from recv_emc_mode.c:3:0: [ 276s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] PUBLIC void Emmc_DisSdClk(); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 276s] from recv_emc_mode.c:5: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 276s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 276s] ^ [ 276s] /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 [ 276s] #define VLR_INFO_OFF (512) [ 276s] ^ [ 276s] In file included from recv_emc_mode.c:5:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 276s] ^ [ 276s] In file included from recv_emc_mode.c:5:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] int read_spldata(); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void vlx_entry(); [ 276s] ^ [ 276s] 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 \ [ 276s] -o thor_mode.o thor_mode.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from recv_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from recv_mode.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from recv_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from recv_mode.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from recv_mode.c:2:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] recv_mode.c: In function 'get_mode_from_file': [ 276s] recv_mode.c:123:2: warning: implicit declaration of function 'reboot_devices' [-Wimplicit-function-declaration] [ 276s] reboot_devices(0); [ 276s] ^ [ 276s] 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 \ [ 276s] -o tizen_misc.o tizen_misc.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3, [ 276s] from thor_mode.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from thor_mode.c:3:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from thor_mode.c:1: [ 276s] /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 [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from thor_mode.c:3:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from thor_mode.c:1: [ 276s] /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 [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from thor_mode.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] PUBLIC void Emmc_DisSdClk(); [ 276s] ^ [ 276s] thor_mode.c: In function 'send_rsp': [ 276s] thor_mode.c:48:2: warning: implicit declaration of function 'USB_WriteEx' [-Wimplicit-function-declaration] [ 276s] USB_WriteEx(thor_tx_data_buf, sizeof(struct rsp_box)); [ 276s] ^ [ 276s] thor_mode.c: In function 'download_file_start': [ 276s] thor_mode.c:84:3: warning: implicit declaration of function 'USB_ReadEx' [-Wimplicit-function-declaration] [ 276s] ret = USB_ReadEx((char *) dn_addr, THOR_PACKET_SIZE); [ 276s] ^ [ 276s] thor_mode.c:99:3: warning: implicit declaration of function 'draw_progress' [-Wimplicit-function-declaration] [ 276s] draw_progress(per); [ 276s] ^ [ 276s] thor_mode.c:121:74: warning: passing argument 4 of 'Emmc_Write' makes pointer from integer without a cast [ 276s] ret = Emmc_Write(PARTITION_USER, part_info.offset + write_ofs, count, download_addr); [ 276s] ^ [ 276s] In file included from thor_mode.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'u32' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] thor_mode.c:75:6: warning: unused variable 'count' [-Wunused-variable] [ 276s] int count = 0; [ 276s] ^ [ 276s] thor_mode.c: In function 'process_rqt_download': [ 276s] thor_mode.c:174:3: warning: implicit declaration of function 'thor_get_part_info' [-Wimplicit-function-declaration] [ 276s] ret = thor_get_part_info(&part_info, f_name); [ 276s] ^ [ 276s] thor_mode.c:139:29: warning: unused variable 'ret_head' [-Wunused-variable] [ 276s] static long long int left, ret_head; [ 276s] ^ [ 276s] thor_mode.c:139:23: warning: unused variable 'left' [-Wunused-variable] [ 276s] static long long int left, ret_head; [ 276s] ^ [ 276s] thor_mode.c: In function 'process_rqt_cmd': [ 276s] thor_mode.c:248:3: warning: implicit declaration of function 'udc_power_off' [-Wimplicit-function-declaration] [ 276s] udc_power_off(); [ 276s] ^ [ 276s] thor_mode.c:249:3: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 276s] thor_save_env("thor"); [ 276s] ^ [ 276s] thor_mode.c: In function 'thor_handle': [ 276s] thor_mode.c:299:3: warning: implicit declaration of function 'thor_usb_is_connected' [-Wimplicit-function-declaration] [ 276s] if (thor_usb_is_connected()) { [ 276s] ^ [ 276s] thor_mode.c:301:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 276s] if (!strncmp(thor_rx_data_buf, "THOR", strlen("THOR"))) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 276s] from thor_mode.c:3: [ 276s] /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 *' [ 276s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 276s] ^ [ 276s] thor_mode.c: In function 'thor_mode': [ 276s] thor_mode.c:332:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 276s] MMU_DisableIDCM(); [ 276s] ^ [ 276s] thor_mode.c:333:2: warning: implicit declaration of function 'thor_USB_Init' [-Wimplicit-function-declaration] [ 276s] thor_USB_Init(); [ 276s] ^ [ 276s] 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 \ [ 276s] -o usb/cdc_descriptor.o usb/cdc_descriptor.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 276s] from tizen_misc.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from tizen_misc.c:4: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from tizen_misc.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 276s] from tizen_misc.c:4: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from tizen_misc.c:1:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 276s] from tizen_misc.c:6: [ 276s] /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 [ 276s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 276s] from tizen_misc.c:6: [ 276s] /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 [ 276s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] PUBLIC void Emmc_DisSdClk(); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 276s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 276s] ^ [ 276s] /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 [ 276s] #define VLR_INFO_OFF (512) [ 276s] ^ [ 276s] In file included from tizen_misc.c:12:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 276s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 276s] ^ [ 276s] In file included from tizen_misc.c:12:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] int read_spldata(); [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void vlx_entry(); [ 276s] ^ [ 276s] tizen_misc.c: In function 'convert_to_string': [ 276s] tizen_misc.c:18:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 276s] while (*buf++ = (char)*crap++); [ 276s] ^ [ 276s] tizen_misc.c: In function 'thor_save_env': [ 276s] tizen_misc.c:62:55: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] ret = Emmc_Write(PARTITION_USER, part_info.start, 1, str); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c: In function 'thor_get_env': [ 276s] tizen_misc.c:82:54: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] ret = Emmc_Read(PARTITION_USER, part_info.start, 1, str); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:86:2: warning: function returns address of local variable [-Wreturn-local-addr] [ 276s] return str; [ 276s] ^ [ 276s] tizen_misc.c: In function 'check_pm_status': [ 276s] tizen_misc.c:103:2: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 276s] if (charger_connected()) { [ 276s] ^ [ 276s] tizen_misc.c: In function 'thor_get_part_info': [ 276s] tizen_misc.c:178:33: warning: passing argument 1 of 'strtok' discards 'const' qualifier from pointer target type [ 276s] const char *file_name = strtok(name, "."); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 276s] from tizen_misc.c:1: [ 276s] /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 *' [ 276s] extern char * strtok(char *,const char *); [ 276s] ^ [ 276s] tizen_misc.c: In function 'tizen_get_emmc_serial_number': [ 276s] tizen_misc.c:189:2: warning: implicit declaration of function 'get_global_cid' [-Wimplicit-function-declaration] [ 276s] unsigned char *regCID = get_global_cid(); [ 276s] ^ [ 276s] tizen_misc.c:189:26: warning: initialization makes pointer from integer without a cast [ 276s] unsigned char *regCID = get_global_cid(); [ 276s] ^ [ 276s] tizen_misc.c: In function 'tizen_board_key_scan': [ 276s] tizen_misc.c:212:2: warning: implicit declaration of function 'get_volumn_down_status2' [-Wimplicit-function-declaration] [ 276s] if(get_volumn_down_status2()) [ 276s] ^ [ 276s] tizen_misc.c:206:15: warning: unused variable 'key_code' [-Wunused-variable] [ 276s] unsigned int key_code = 0; [ 276s] ^ [ 276s] tizen_misc.c: At top level: [ 276s] tizen_misc.c:257:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void (*update)(); [ 276s] ^ [ 276s] tizen_misc.c: In function 'runtimenv_read_with_backup': [ 276s] tizen_misc.c:337:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, oribuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:346:2: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 276s] if (_chkNVEcc(oribuf + SECTOR_SIZE, RUNTIMENV_SIZE, checksum)) { [ 276s] ^ [ 276s] tizen_misc.c:347:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(runtimenv_adr,oribuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] tizen_misc.c:356:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, bakbuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:367:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(runtimenv_adr,bakbuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] tizen_misc.c:380:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:384:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(runtimenv_adr, bakbuf + SECTOR_SIZE, RUNTIMENV_SIZE); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] tizen_misc.c:390:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 276s] tizen_misc.c:435:93: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] ret = Emmc_Read(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, tmpbuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:444:3: warning: implicit declaration of function 'calc_checksum' [-Wimplicit-function-declaration] [ 276s] tmp_header_p->checksum = (unsigned long)calc_checksum(tmpbuf, FIXNV_SIZE); [ 276s] ^ [ 276s] tizen_misc.c:452:50: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start, 1, tmp_header); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:453:77: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, tmpbuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:478:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong' [-Wformat=] [ 276s] printf("loading fixnv1 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 276s] ^ [ 276s] tizen_misc.c:481:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, oribuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:491:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(fixnv_adr, oribuf + SECTOR_SIZE, FIXNV_SIZE); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] tizen_misc.c:504:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong' [-Wformat=] [ 276s] printf("loading fixnv2 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 276s] ^ [ 276s] tizen_misc.c:506:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, bakbuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:572:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:573:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:581:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:582:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:584:11: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 276s] memset(fixnv_adr, 0xff, FIXNV_SIZE); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memset(void*, int, size_t); [ 276s] ^ [ 276s] tizen_misc.c:585:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] tizen_misc.c:596:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:597:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] tizen_misc.c:606:12: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(fixnv_adr, bakbuf + SECTOR_SIZE,FIXNV_SIZE); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] tizen_misc.c:619:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c:624:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 276s] memcpy(fixnv_adr, bakbuf+SECTOR_SIZE, FIXNV_SIZE); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 276s] from tizen_misc.c:12: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 276s] void* memcpy(void*, const void*, size_t); [ 276s] ^ [ 276s] tizen_misc.c:630:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 276s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 276s] from tizen_misc.c:1: [ 276s] tizen_misc.c: In function 'load_modem_data': [ 276s] /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 [ 276s] #define WMODEM_ADR 0x88300000 [ 276s] ^ [ 276s] tizen_misc.c:666:23: note: in expansion of macro 'WMODEM_ADR' [ 276s] unsigned char *buf = WMODEM_ADR; [ 276s] ^ [ 276s] tizen_misc.c:671:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 276s] printf("load modem to addr 0x%08x\n", buf); [ 276s] ^ [ 276s] tizen_misc.c:693:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 276s] from tizen_misc.c:1: [ 276s] tizen_misc.c: In function 'load_dsp_data': [ 276s] /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 [ 276s] #define WDSP_ADR 0x88020000 [ 276s] ^ [ 276s] tizen_misc.c:712:23: note: in expansion of macro 'WDSP_ADR' [ 276s] unsigned char *buf = WDSP_ADR; [ 276s] ^ [ 276s] tizen_misc.c:717:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 276s] printf("load dsp to addr 0x%08x\n", buf); [ 276s] ^ [ 276s] tizen_misc.c:739:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 276s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c: In function 'load_binary_to_addr': [ 276s] tizen_misc.c:771:66: warning: passing argument 4 of 'Emmc_Read' makes pointer from integer without a cast [ 276s] ret = Emmc_Read(PARTITION_USER, info.offset, size / info.blksz, addr); [ 276s] ^ [ 276s] In file included from tizen_misc.c:9:0: [ 276s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'unsigned int' [ 276s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 276s] ^ [ 276s] tizen_misc.c: In function 'check_board_signature': [ 276s] tizen_misc.c:790:40: warning: passing argument 2 of 'load_binary_to_addr' makes integer from pointer without a cast [ 276s] ret = load_binary_to_addr(PARTS_BOOT, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 276s] ^ [ 276s] tizen_misc.c:762:12: note: expected 'unsigned int' but argument is of type 'char *' [ 276s] static int load_binary_to_addr(char *name, unsigned int addr, unsigned int size) [ 276s] ^ [ 276s] tizen_misc.c:794:40: warning: passing argument 2 of 'get_image_signature' makes integer from pointer without a cast [ 276s] ret = get_image_signature(&bh_target, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 276s] ^ [ 276s] tizen_misc.c:750:5: note: expected 'unsigned int' but argument is of type 'char *' [ 276s] int get_image_signature(struct sig_header *hdr, unsigned int base_addr, [ 276s] ^ [ 276s] 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 \ [ 276s] -o usb/drv_cdc.o usb/drv_cdc.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 276s] from usb/cdc_descriptor.c:1: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] usb/cdc_descriptor.c: In function 'thor_get_config_desc': [ 276s] usb/cdc_descriptor.c:265:2: warning: implicit declaration of function 'usb_gadget_config_buf' [-Wimplicit-function-declaration] [ 276s] usb_gadget_config_buf(&thor_config_desc, &function_desc_buf, 256, thor_function_high); [ 276s] ^ [ 276s] usb/cdc_descriptor.c: In function 'str2wide': [ 276s] usb/cdc_descriptor.c:278:2: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] [ 276s] for (i = 0; i < strlen (str) && str[i]; i++){ [ 276s] ^ [ 276s] usb/cdc_descriptor.c: At top level: [ 276s] usb/cdc_descriptor.c:236:13: warning: 'thor_device_qualifer_desc_buf' defined but not used [-Wunused-variable] [ 276s] static char thor_device_qualifer_desc_buf[sizeof(struct usb_qualifier_descriptor)] __align(32); [ 276s] ^ [ 276s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 276s] tizen_misc.c:550:3: warning: 'nv_backup_status' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 276s] printf("nv_backup_status = %d \n", nv_backup_status); [ 276s] ^ [ 276s] 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 \ [ 276s] -o usb/usb_hw.o usb/usb_hw.c -c [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 276s] from usb/drv_cdc.c:11: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 276s] #define CONFIG_MMC 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_MMC [ 276s] ^ [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 276s] #define CONFIG_EFI_PARTITION 1 [ 276s] ^ [ 276s] /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 [ 276s] #define CONFIG_EFI_PARTITION [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 276s] from usb/drv_cdc.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 276s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from usb/drv_cdc.c:12:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 276s] #define MAX(x, y) max(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 276s] from usb/drv_cdc.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 276s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 276s] ^ [ 276s] In file included from usb/drv_cdc.c:12:0: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 276s] #define MIN(x, y) min(x, y) [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 276s] from usb/drv_cdc.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 276s] #define KPD_NUM (0x31 << 16) [ 276s] ^ [ 276s] /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 [ 276s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 276s] ^ [ 276s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 276s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 276s] from usb/drv_cdc.c:14: [ 276s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 276s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 276s] ^ [ 276s] /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 [ 276s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 276s] ^ [ 276s] usb/drv_cdc.c: In function 'usb_get_descriptor': [ 276s] usb/drv_cdc.c:254:4: warning: implicit declaration of function 'thor_get_device_desc' [-Wimplicit-function-declaration] [ 276s] send_data = (uint8 *) thor_get_device_desc(enum_speed); [ 276s] ^ [ 276s] usb/drv_cdc.c:260:4: warning: implicit declaration of function 'thor_get_config_desc' [-Wimplicit-function-declaration] [ 276s] send_data = (uint8 *) thor_get_config_desc(enum_speed); [ 276s] ^ [ 276s] usb/drv_cdc.c:278:4: warning: implicit declaration of function 'thor_get_string_desc' [-Wimplicit-function-declaration] [ 276s] send_data = thor_get_string_desc(str_index); [ 276s] ^ [ 276s] usb/drv_cdc.c:278:14: warning: assignment makes pointer from integer without a cast [ 276s] send_data = thor_get_string_desc(str_index); [ 276s] ^ [ 276s] usb/drv_cdc.c:292:4: warning: implicit declaration of function 'thor_get_qualifer_desc' [-Wimplicit-function-declaration] [ 276s] send_data = (uint8 *) thor_get_qualifer_desc(); [ 276s] ^ [ 276s] usb/drv_cdc.c:305:4: warning: implicit declaration of function 'thor_get_other_speed_config_desc' [-Wimplicit-function-declaration] [ 276s] send_data = (uint8 *) thor_get_other_speed_config_desc(); [ 276s] ^ [ 276s] usb/drv_cdc.c: In function 'usb_set_feature': [ 276s] usb/drv_cdc.c:389:21: warning: variable 'request1' set but not used [-Wunused-but-set-variable] [ 276s] USB_REQUEST_1_U *request1; [ 276s] ^ [ 276s] usb/drv_cdc.c:387:23: warning: unused variable 'dcfg_ptr' [-Wunused-variable] [ 276s] volatile USB_DCFG_U *dcfg_ptr = (volatile USB_DCFG_U *) USB_DCFG; [ 276s] ^ [ 276s] usb/drv_cdc.c: In function 'usb_handler': [ 276s] usb/drv_cdc.c:790:15: warning: unused variable 'string' [-Wunused-variable] [ 276s] char string[64] ={0,}; [ 276s] ^ [ 276s] usb/drv_cdc.c:789:9: warning: unused variable 'i' [-Wunused-variable] [ 276s] uint32 i=0; [ 276s] ^ [ 276s] usb/drv_cdc.c: In function 'USB_ReadEx_Internal': [ 276s] usb/drv_cdc.c:837:9: warning: unused variable 'i' [-Wunused-variable] [ 276s] int i; [ 276s] ^ [ 276s] usb/drv_cdc.c: In function 'thor_USB_Init': [ 276s] usb/drv_cdc.c:1034:2: warning: implicit declaration of function 'sprd_usb_thor_start' [-Wimplicit-function-declaration] [ 276s] sprd_usb_thor_start(); [ 276s] ^ [ 276s] usb/drv_cdc.c:1024:15: warning: unused variable 'len' [-Wunused-variable] [ 276s] unsigned int len = 0; [ 276s] ^ [ 276s] usb/drv_cdc.c: In function 'USB_DeInit': [ 276s] usb/drv_cdc.c:1045:2: warning: implicit declaration of function 'usb_power_off' [-Wimplicit-function-declaration] [ 276s] usb_power_off(); [ 276s] ^ [ 276s] usb/drv_cdc.c: At top level: [ 276s] usb/drv_cdc.c:1069:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 276s] void sprd_usb_thor_start() [ 276s] ^ [ 276s] usb/drv_cdc.c:1069:6: warning: conflicting types for 'sprd_usb_thor_start' [ 276s] usb/drv_cdc.c:1034:2: note: previous implicit declaration of 'sprd_usb_thor_start' was here [ 276s] sprd_usb_thor_start(); [ 276s] ^ [ 277s] usb/drv_cdc.c: In function 'sprd_usb_thor_start': [ 277s] usb/drv_cdc.c:1078:5: warning: 'return' with a value, in function returning void [ 277s] return -1; [ 277s] ^ [ 277s] usb/drv_cdc.c:1080:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 277s] if (!strncmp(sprd_thor_setup_buf, "THOR", strlen("THOR"))) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 277s] from usb/drv_cdc.c:12: [ 277s] /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 *' [ 277s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 277s] ^ [ 277s] usb/drv_cdc.c:1083:17: warning: pointer targets in passing argument 1 of 'USB_WriteEx' differ in signedness [-Wpointer-sign] [ 277s] USB_WriteEx("ROHT", strlen("ROHT")); [ 277s] ^ [ 277s] usb/drv_cdc.c:906:14: note: expected 'uint8 *' but argument is of type 'char *' [ 277s] PUBLIC int32 USB_WriteEx(uint8 *pBuf,uint32 len) [ 277s] ^ [ 277s] usb/drv_cdc.c:1097:2: warning: 'return' with a value, in function returning void [ 277s] return 0; [ 277s] ^ [ 277s] 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 \ [ 277s] -o vbat_check.o vbat_check.c -c [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 277s] from usb/usb_hw.c:1: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 277s] #define CONFIG_MMC 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_MMC [ 277s] ^ [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 277s] #define CONFIG_EFI_PARTITION 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_EFI_PARTITION [ 277s] ^ [ 277s] In file included from usb/usb_hw.c:3:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 277s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 277s] ^ [ 277s] In file included from usb/usb_hw.c:2:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 277s] #define MAX(x, y) max(x, y) [ 277s] ^ [ 277s] In file included from usb/usb_hw.c:3:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 277s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 277s] ^ [ 277s] In file included from usb/usb_hw.c:2:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 277s] #define MIN(x, y) min(x, y) [ 277s] ^ [ 277s] usb/usb_hw.c: In function 'usb_power_on': [ 277s] usb/usb_hw.c:132:6: warning: unused variable 'ret' [-Wunused-variable] [ 277s] int ret =0; [ 277s] ^ [ 277s] usb/usb_hw.c: At top level: [ 277s] usb/usb_hw.c:54:13: warning: 'ADIConfig' defined but not used [-Wunused-function] [ 277s] static void ADIConfig(void) [ 277s] ^ [ 277s] usb/usb_hw.c:67:21: warning: 'ADIAnalogdieRegRead' defined but not used [-Wunused-function] [ 277s] static unsigned int ADIAnalogdieRegRead(unsigned long addr) [ 277s] ^ [ 277s] usb/usb_hw.c:84:21: warning: 'ADIAnalogdieRegWrite' defined but not used [-Wunused-function] [ 277s] static unsigned int ADIAnalogdieRegWrite(unsigned long addr,uint16 data) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 277s] from vbat_check.c:1: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 277s] #define CONFIG_MMC 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_MMC [ 277s] ^ [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 277s] #define CONFIG_EFI_PARTITION 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_EFI_PARTITION [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 277s] from vbat_check.c:3: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 277s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 277s] ^ [ 277s] In file included from vbat_check.c:1:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 277s] #define MAX(x, y) max(x, y) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 277s] from vbat_check.c:3: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 277s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 277s] ^ [ 277s] In file included from vbat_check.c:1:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 277s] #define MIN(x, y) min(x, y) [ 277s] ^ [ 277s] vbat_check.c: In function 'is_bat_low': [ 277s] vbat_check.c:65:5: warning: implicit declaration of function 'sprdbat_auxadc2vbatvol' [-Wimplicit-function-declaration] [ 277s] if(sprdbat_auxadc2vbatvol (adc_value) < comp_vbat) [ 277s] ^ [ 277s] 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 [ 277s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 277s] make -C board/spreadtrum/tizen_tm1/ [ 277s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 277s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 277s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 277s] 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 \ [ 277s] -o openphone.o openphone.c -c [ 277s] 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 \ [ 277s] -o sprd_kp.o sprd_kp.c -c [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 277s] from openphone.c:1: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 277s] #define CONFIG_MMC 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_MMC [ 277s] ^ [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 277s] #define CONFIG_EFI_PARTITION 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_EFI_PARTITION [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 277s] from openphone.c:3: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 277s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 277s] ^ [ 277s] In file included from openphone.c:1:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 277s] #define MAX(x, y) max(x, y) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 277s] from openphone.c:3: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 277s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 277s] ^ [ 277s] In file included from openphone.c:1:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 277s] #define MIN(x, y) min(x, y) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 277s] from openphone.c:5: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 277s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 277s] ^ [ 277s] /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 [ 277s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 277s] ^ [ 277s] In file included from openphone.c:5:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 277s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 277s] ^ [ 277s] In file included from openphone.c:4:0: [ 277s] /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 [ 277s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 277s] ^ [ 277s] In file included from openphone.c:5:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 277s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 277s] ^ [ 277s] In file included from openphone.c:4:0: [ 277s] /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 [ 277s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 277s] from openphone.c:6: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 277s] #define KPD_NUM (0x31 << 16) [ 277s] ^ [ 277s] /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 [ 277s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 277s] from openphone.c:12: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 277s] struct gpio_chip *chip); [ 277s] ^ [ 277s] /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 [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 277s] from openphone.c:14: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 277s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 277s] from openphone.c:5: [ 277s] /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 [ 277s] #define ADC_BASE 0x40038300 //Aux ADC [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 277s] from openphone.c:14: [ 277s] /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 [ 277s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 277s] from openphone.c:14: [ 277s] /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 [ 277s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 277s] ^ [ 277s] openphone.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 277s] int mmc_sdcard_init(); [ 277s] ^ [ 277s] openphone.c:42:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 277s] void aon_26M_timer2_enable() [ 277s] ^ [ 277s] openphone.c: In function 'get_hw_rev': [ 277s] openphone.c:58:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 277s] sprd_gpio_request(NULL, hw_rev_gpio[i]); [ 277s] ^ [ 277s] openphone.c:59:3: warning: implicit declaration of function 'sprd_gpio_direction_input' [-Wimplicit-function-declaration] [ 277s] sprd_gpio_direction_input(NULL, hw_rev_gpio[i]); [ 277s] ^ [ 277s] openphone.c:60:3: warning: implicit declaration of function 'sprd_gpio_get' [-Wimplicit-function-declaration] [ 277s] hw_revision = (hw_revision << 1) | sprd_gpio_get(NULL, hw_rev_gpio[i]); [ 277s] ^ [ 277s] openphone.c:61:3: warning: implicit declaration of function 'sprd_gpio_free' [-Wimplicit-function-declaration] [ 277s] sprd_gpio_free(NULL, hw_rev_gpio[i]); [ 277s] ^ [ 277s] openphone.c: In function 'board_init': [ 277s] openphone.c:73:2: warning: implicit declaration of function 'misc_init' [-Wimplicit-function-declaration] [ 277s] misc_init(); [ 277s] ^ [ 277s] openphone.c:76:2: warning: implicit declaration of function 'sprd_eic_init' [-Wimplicit-function-declaration] [ 277s] sprd_eic_init(); [ 277s] ^ [ 277s] openphone.c:78:2: warning: implicit declaration of function 'init_ldo_sleep_gr' [-Wimplicit-function-declaration] [ 277s] init_ldo_sleep_gr(); [ 277s] ^ [ 277s] openphone.c:85:2: warning: implicit declaration of function 'check_smpl' [-Wimplicit-function-declaration] [ 277s] check_smpl(); [ 277s] ^ [ 277s] openphone.c: At top level: [ 277s] openphone.c:91:6: warning: conflicting types for 'check_smpl' [ 277s] void check_smpl(void) [ 277s] ^ [ 277s] openphone.c:85:2: note: previous implicit declaration of 'check_smpl' was here [ 277s] check_smpl(); [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 277s] from openphone.c:12: [ 277s] /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] [ 277s] static bool gpio_is_valid(int number) [ 277s] ^ [ 277s] 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 \ [ 277s] -o pinmap-sp7730.o pinmap-sp7730.c -c [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 277s] from sprd_kp.c:1: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 277s] #define CONFIG_MMC 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_MMC [ 277s] ^ [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 277s] #define CONFIG_EFI_PARTITION 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_EFI_PARTITION [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 277s] from sprd_kp.c:4: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 277s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 277s] ^ [ 277s] In file included from sprd_kp.c:1:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 277s] #define MAX(x, y) max(x, y) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 277s] from sprd_kp.c:4: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 277s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 277s] ^ [ 277s] In file included from sprd_kp.c:1:0: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 277s] #define MIN(x, y) min(x, y) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 277s] from sprd_kp.c:6: [ 277s] /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 [ 277s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 277s] from sprd_kp.c:6: [ 277s] /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 [ 277s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 277s] ^ [ 277s] sprd_kp.c: In function 'board_keypad_init': [ 277s] sprd_kp.c:14:18: warning: unused variable 'key_type' [-Wunused-variable] [ 277s] unsigned int key_type; [ 277s] ^ [ 277s] sprd_kp.c: In function 'board_key_scan': [ 277s] sprd_kp.c:104:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 277s] sprd_eic_request(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 277s] ^ [ 277s] sprd_kp.c:106:2: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 277s] volumeup = sprd_eic_get(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 277s] ^ [ 277s] 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 \ [ 277s] -o ldo_sleep.o ldo_sleep.c -c [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:19, [ 277s] from pinmap-sp7730.c:5: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 277s] #define CONFIG_MMC 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_MMC [ 277s] ^ [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 277s] #define CONFIG_EFI_PARTITION 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_EFI_PARTITION [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 277s] from pinmap-sp7730.c:5: [ 277s] /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 [ 277s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 277s] from pinmap-sp7730.c:5: [ 277s] /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 [ 277s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 277s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 277s] from ldo_sleep.c:1: [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 277s] #define CONFIG_MMC 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_MMC [ 277s] ^ [ 277s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 277s] #define CONFIG_EFI_PARTITION 1 [ 277s] ^ [ 277s] /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 [ 277s] #define CONFIG_EFI_PARTITION [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 277s] from ldo_sleep.c:4: [ 277s] /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 [ 277s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 277s] ^ [ 277s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 277s] from ldo_sleep.c:4: [ 277s] /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 [ 277s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 277s] ^ [ 277s] ldo_sleep.c: In function 'init_ldo_sleep_gr': [ 277s] ldo_sleep.c:774:2: warning: implicit declaration of function 'CSP_Init' [-Wimplicit-function-declaration] [ 277s] CSP_Init(0); [ 277s] ^ [ 278s] ar crv libtizen_tm1.o openphone.o sprd_kp.o pinmap-sp7730.o ldo_sleep.o [ 278s] a - openphone.o [ 278s] a - sprd_kp.o [ 278s] a - pinmap-sp7730.o [ 278s] a - ldo_sleep.o [ 278s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 278s] 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 [ 278s] objcopy -O srec u-boot u-boot.srec [ 278s] objcopy --gap-fill 0xff -O binary u-boot u-boot.bin [ 278s] + chmod 755 tools/mkimage_signed.sh [ 278s] + mkimage_signed.sh u-boot.bin tizen_tm1 [ 278s] ##################################### [ 278s] Running script: tools/mkimage_signed.sh [ 278s] Config: tizen_tm1 [ 278s] Input binary: u-boot.bin [ 278s] Input bytes: 616620 (Max size: 1048064 B) [ 278s] [ 278s] Header info: [ 278s] HDR length: 512 Bytes [ 278s] SIG magic: "BoOt" [ 278s] SIG size: 0 [ 278s] SIG valid: 0 [ 278s] SIG date: "2015102904" (YYMMDDHH) [ 278s] SIG version: "none" [ 278s] SIG board: "tizen_tm1" [ 278s] [ 278s] Output signed binary: u-boot-mmc.bin [ 278s] ##################################### [ 278s] + exit 0 [ 278s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Zn9vqZ [ 278s] + umask 022 [ 278s] + cd /home/abuild/rpmbuild/BUILD [ 278s] + cd u-boot-sprd-2010.12 [ 278s] + LANG=C [ 278s] + export LANG [ 278s] + unset DISPLAY [ 278s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm [ 278s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm [ 278s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm [ 278s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm/var/tmp/u-boot [ 278s] + install -d /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm/var/tmp/u-boot [ 278s] + install -m 755 u-boot.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm/var/tmp/u-boot [ 278s] + install -m 755 u-boot-mmc.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm/var/tmp/u-boot [ 278s] + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12 [ 278s] + /usr/lib/rpm/check-buildroot [ 278s] + /usr/lib/rpm//brp-compress [ 278s] + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip [ 278s] + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump [ 278s] + /usr/lib/rpm/brp-python-hardlink [ 278s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm [ 278s] Processing files: u-boot-sprd-debuginfo-2010.12-1.1.armv7l [ 278s] Processing files: u-boot-sprd-debugsource-2010.12-1.1.armv7l [ 278s] Processing files: u-boot-tm1-2010.12-1.1.armv7l [ 278s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 278s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 278s] [ 278s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 278s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm [ 279s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-1.1.src.rpm [ 279s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debuginfo-2010.12-1.1.armv7l.rpm [ 279s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-1.1.armv7l.rpm [ 279s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-1.1.armv7l.rpm [ 279s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.B9Soty [ 279s] + umask 022 [ 279s] + cd /home/abuild/rpmbuild/BUILD [ 279s] + cd u-boot-sprd-2010.12 [ 279s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.1.arm [ 279s] + exit 0 [ 279s] ... checking for files with abuild user/group [ 279s] ... creating baselibs [ 280s] ... saving built statistics [ 280s] ... saving built packages [ 280s] /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debuginfo-2010.12-1.1.armv7l.rpm [ 280s] /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-1.1.armv7l.rpm [ 280s] /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-1.1.armv7l.rpm [ 280s] /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-1.1.src.rpm [ 280s] /home/abuild/rpmbuild/OTHER/_statistics [ 280s] [ 280s] w12 finished "build u-boot-tm1.spec" at Thu Oct 29 04:54:33 UTC 2015. [ 280s] [ 282s] /.build/build: line 368: 213 Killed background_monitor_process [ 284s] [ 264.688004] SysRq : Power Off [ 285s] [ 264.796475] Power down. [ 285s] build: extracting built packages... [ 285s] u-boot-sprd-debuginfo-2010.12-1.1.armv7l.rpm [ 285s] u-boot-sprd-debugsource-2010.12-1.1.armv7l.rpm [ 285s] u-boot-tm1-2010.12-1.1.armv7l.rpm [ 285s] u-boot-sprd-2010.12-1.1.src.rpm [ 285s] _statistics