[ 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] w11 started "build _service:gbs:u-boot-tm1.spec" at Thu Jan 5 03:12:51 UTC 2017. [ 0s] [ 0s] Building u-boot-tm1 for project 'Tizen:3.0.M2:Mobile' repository 'target-TM1' arch 'armv7l' srcmd5 'b52df62c1b8ee75dc7906816b2e9cc2d' [ 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 ... [ 0s] registering binfmt handlers for VM [ 0s] /.build/qemu-reg: No such file or directory [ 0s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 0s] write: Invalid argument [ 0s] /proc/sys/fs/binfmt_misc/register: write failed [ 0s] /usr/lib/build/qemu-reg: line 7: write failed. Content: :arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-binfmt:P [ 0s] [ 0s] /usr/lib/build/qemu-reg: binfmt registration failed [ 0s] Copying qemu-fix-build-hang.sh [ 0s] cycle: libsoftokn3 -> nss [ 0s] breaking dependency nss -> libsoftokn3 [ 0s] [1/40] preinstalling libmagic-data... [ 0s] [2/40] preinstalling setup... [ 0s] [3/40] preinstalling filesystem... [ 0s] [4/40] preinstalling glibc... [ 0s] [5/40] preinstalling libgcc... [ 0s] [6/40] preinstalling bash... [ 0s] [7/40] preinstalling diffutils... [ 0s] [8/40] preinstalling grep... [ 0s] [9/40] preinstalling libattr... [ 0s] [10/40] preinstalling libbz2... [ 0s] [11/40] preinstalling libcap... [ 0s] [12/40] preinstalling libelf... [ 0s] [13/40] preinstalling libfreebl3... [ 0s] [14/40] preinstalling liblua... [ 0s] [15/40] preinstalling liblzma... [ 0s] [16/40] preinstalling libncurses... [ 1s] [17/40] preinstalling libpopt... [ 1s] [18/40] preinstalling libsmack... [ 1s] [19/40] preinstalling libsqlite... [ 1s] [20/40] preinstalling libuuid... [ 1s] [21/40] preinstalling nspr... [ 1s] [22/40] preinstalling sed... [ 1s] [23/40] preinstalling zlib... [ 1s] [24/40] preinstalling qemu-accel-x86_64-armv7l... [ 4s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 4s] [26/40] preinstalling coreutils... [ 4s] [27/40] preinstalling libacl... [ 5s] [28/40] preinstalling libblkid... [ 5s] [29/40] preinstalling libreadline... [ 5s] [30/40] preinstalling smack... [ 5s] [31/40] preinstalling bzip2... [ 5s] [32/40] preinstalling libmagic... [ 5s] [33/40] preinstalling libxml2... [ 5s] [34/40] preinstalling libmount... [ 5s] [35/40] preinstalling tar... [ 5s] [36/40] preinstalling util-linux... [ 5s] [37/40] preinstalling util-linux-su... [ 5s] [38/40] preinstalling nss... [ 5s] [39/40] preinstalling libsoftokn3... [ 5s] [40/40] preinstalling rpm... [ 5s] [ 5s] [1/9] preinstalling libext2fs... [ 5s] [2/9] preinstalling libpcre... [ 5s] [3/9] preinstalling libsmartcols... [ 5s] [4/9] preinstalling libuuid... [ 5s] [5/9] preinstalling perl... [ 6s] [6/9] preinstalling grep... [ 6s] [7/9] preinstalling libblkid... [ 6s] [8/9] preinstalling libmount... [ 6s] [9/9] preinstalling util-linux... [ 6s] copying packages... [ 6s] reordering...cycle: libsoftokn3 -> nss [ 6s] breaking dependency nss -> libsoftokn3 [ 6s] done [ 8s] booting kvm ... [ 8s] /usr/bin/qemu-kvm -no-reboot -nographic -vga none -net none -cpu host -kernel /srv/obsw/vmlinuz -initrd /srv/obsw/initrd -append root=/dev/vda panic=1 quiet no-kvmclock nmi_watchdog=0 rw elevator=noop console=ttyS0 init=/.build/initvm.x86_64 -m 16000 -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 8 [ 12s] doing fast boot [ 12s] Creating device nodes with udev [ 13s] Waiting for device /dev/vda to appear: ok [ 13s] fsck from util-linux 2.21.2 [ 13s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 13s] /dev/vda: clean, 4996/4194304 files, 379932/16777216 blocks [ 13s] fsck succeeded. Mounting root device read-write. [ 13s] Mounting root /dev/vda [ 13s] mount -o rw -t ext4 /dev/vda /root [ 13s] replacing /etc/mtab with symlink to /proc/self/mounts [ 13s] 2nd stage started in virtual machine [ 13s] machine type: armv7l [ 13s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap] [ 13s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 13s] swapon /dev/vdb [ 13s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 13s] mount: none is already mounted or /proc busy [ 13s] mount: none is already mounted or /dev/pts busy [ 13s] logging output to //.build.log... [ 13s] processing specfile /.build-srcdir/_service:gbs:u-boot-tm1.spec ... [ 14s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:u-boot-tm1.spec build rpmlint-Factory ... [ 14s] running qemu-linux-user-x86_64-cross postinstall script [ 15s] running qemu-accel-x86_64-armv7l postinstall script [ 15s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/liblto_plugin.so': No such file or directory [ 15s] running setup postinstall script [ 15s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 15s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 15s] initializing rpm db... [ 22s] [1/89] installing libmagic-data-5.28-1.1 [ 22s] [2/89] installing setup-0.9-1.1 [ 23s] [3/89] installing terminfo-base-5.9-1.1 [ 23s] [4/89] installing filesystem-3.1-1.1 [ 24s] [5/89] installing glibc-2.20-1.1 [ 26s] [6/89] installing libatomic-4.9.2-1.2 [ 26s] [7/89] installing libgcc-4.9.2-1.2 [ 26s] [8/89] installing libgomp-4.9.2-1.2 [ 26s] [9/89] installing bash-3.2.57-1.1 [ 28s] [10/89] installing cpio-2.11-1.1 [ 29s] [11/89] installing diffutils-3.3-1.1 [ 32s] [12/89] installing findutils-4.3.8-1.1 [ 32s] [13/89] installing hostname-3.12-1.1 [ 32s] [14/89] installing libattr-2.4.47-1.1 [ 32s] [15/89] installing libbz2-1.0.6-1.5 [ 32s] [16/89] installing libcap-2.24-1.1 [ 33s] [17/89] installing libelf-0.153-1.5 [ 33s] [18/89] installing libext2fs-1.42.13-1.1 [ 33s] [19/89] installing libfreebl3-3.23-1.5 [ 33s] [20/89] installing libitm-4.9.2-1.2 [ 33s] [21/89] installing libltdl-2.4.2-1.1 [ 33s] [22/89] installing liblua-5.1.4-1.1 [ 33s] [23/89] installing liblzma-5.1.3-1.1 [ 33s] [24/89] installing libpcre-8.39-1.1 [ 33s] [25/89] installing libpopt-1.16-1.1 [ 34s] [26/89] installing libsmack-1.3.0-1.1 [ 34s] [27/89] installing libsmartcols-2.28-1.1 [ 34s] [28/89] installing libsqlite-3.8.10.2-1.1 [ 34s] [29/89] installing libstdc++-4.9.2-1.2 [ 34s] [30/89] installing libuuid-2.28-1.1 [ 34s] [31/89] installing m4-1.4.17-1.1 [ 35s] [32/89] installing net-tools-2.0_20121208git-1.1 [ 35s] [33/89] installing nspr-4.12-1.1 [ 35s] [34/89] installing patch-2.7-1.1 [ 35s] [35/89] installing pkg-config-0.28-1.1 [ 36s] [36/89] installing sed-4.1c-1.1 [ 37s] [37/89] installing update-alternatives-1.16.3-1.1 [ 37s] [38/89] installing which-2.20-1.1 [ 37s] [39/89] installing zlib-1.2.8-1.1 [ 37s] [40/89] installing libncurses-5.9-1.1 [ 38s] [41/89] installing build-compare-2015.04.28-1.4 [ 38s] [42/89] installing libstdc++-devel-4.9.2-1.2 [ 39s] [43/89] installing qemu-linux-user-x86_64-cross-2.7.0-1.2.1 [ 42s] [44/89] installing cpp-4.9.2-1.2 [ 44s] [45/89] installing gcc-c++-4.9.2-1.2 [ 46s] [46/89] installing binutils-2.25-1.2 [ 46s] [47/89] installing coreutils-6.9-1.1 [ 46s] [48/89] installing db4-4.8.30.NC-1.1 [ 47s] [49/89] installing gawk-3.1.5-1.1 [ 47s] [50/89] installing grep-2.5.2-1.1 [ 47s] [51/89] installing less-466-1.1 [ 48s] [52/89] installing libacl-2.2.52-1.1 [ 48s] [53/89] installing libasm-0.153-1.5 [ 48s] [54/89] installing libblkid-2.28-1.1 [ 48s] [55/89] installing libreadline-5.2-1.1 [ 48s] [56/89] installing libubsan-4.9.2-1.2 [ 49s] [57/89] installing make-4.0-1.1 [ 49s] [58/89] installing nss-certs-3.23-1.5 [ 49s] [59/89] installing smack-1.3.0-1.1 [ 49s] [60/89] installing bzip2-1.0.6-1.5 [ 50s] [61/89] installing libmagic-5.28-1.1 [ 50s] [62/89] installing libxml2-2.9.4-1.1 [ 50s] [63/89] installing xz-5.1.3-1.1 [ 50s] [64/89] installing libdw-0.153-1.5 [ 51s] [65/89] installing linux-glibc-devel-3.10-1.1 [ 51s] [66/89] installing file-5.28-1.1 [ 51s] [67/89] installing glibc-locale-2.20-1.1 [ 52s] [68/89] installing libmount-2.28-1.1 [ 52s] [69/89] installing tar-1.17-1.1 [ 52s] [70/89] installing gzip-1.3.12-1.1 [ 52s] [71/89] installing libfdisk1-2.28-1.1 [ 53s] [72/89] installing pam-1.1.6-1.1 [ 54s] [73/89] installing perl-5.20.0-1.5 [ 60s] [74/89] installing tzdata-2016i-1.1 [ 61s] [75/89] installing elfutils-0.153-1.5 [ 61s] [76/89] installing gcc-4.9.2-1.2 [ 61s] [77/89] installing build-mkbaselibs-20120927-1.1 [ 61s] [78/89] installing glibc-devel-2.20-1.1 [ 61s] [79/89] installing qemu-accel-x86_64-armv7l-0.4-1.2 [ 65s] [80/89] installing autoconf-2.69-1.1 [ 66s] [81/89] installing util-linux-2.28-1.1 [ 66s] [82/89] installing automake-1.14.1-1.1 [ 67s] [83/89] installing util-linux-su-2.28-1.1 [ 67s] [84/89] installing build-20120927-1.1 [ 67s] [85/89] installing libtool-2.4.2-1.1 [ 67s] [86/89] installing nss-3.23-1.5 [ 67s] [87/89] installing libsoftokn3-3.23-1.5 [ 67s] [88/89] installing rpm-4.11.0.1-1.1 [ 67s] [89/89] installing rpm-build-4.11.0.1-1.1 [ 67s] removing nis flags from //etc/nsswitch.conf... [ 68s] now finalizing build dir... [ 74s] build target is armv7l-tizen-linux [ 74s] ----------------------------------------------------------------- [ 74s] I have the following modifications for u-boot-tm1.spec: [ 74s] 5c5 [ 74s] < Release: 0 [ 74s] --- [ 74s] > Release: 1.2 [ 74s] ----------------------------------------------------------------- [ 74s] ----- building u-boot-tm1.spec (user abuild) [ 74s] ----------------------------------------------------------------- [ 74s] ----------------------------------------------------------------- [ 74s] Running qemu build hang workaround... [ 74s] /bin/ps command not found [ 74s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:3.0.M2:Mobile/target-TM1/b52df62c1b8ee75dc7906816b2e9cc2d-u-boot-tm1' /home/abuild/rpmbuild/SOURCES/u-boot-tm1.spec [ 74s] Building target platforms: armv7l-tizen-linux [ 74s] Building for target armv7l-tizen-linux [ 74s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RCSagq [ 74s] + umask 022 [ 74s] + cd /home/abuild/rpmbuild/BUILD [ 74s] + cd /home/abuild/rpmbuild/BUILD [ 74s] + rm -rf u-boot-sprd-2010.12 [ 74s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-sprd-2010.12.tar.bz2 [ 74s] + /bin/tar -xf - [ 76s] + STATUS=0 [ 76s] + '[' 0 -ne 0 ']' [ 76s] + cd u-boot-sprd-2010.12 [ 76s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 76s] + exit 0 [ 76s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YwgyEa [ 76s] + umask 022 [ 76s] + cd /home/abuild/rpmbuild/BUILD [ 76s] + cd u-boot-sprd-2010.12 [ 76s] ++ uname -m [ 76s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 76s] + LANG=C [ 76s] + export LANG [ 76s] + unset DISPLAY [ 76s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 76s] + export CFLAGS [ 76s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 76s] + export CXXFLAGS [ 76s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -I%_fmoddir' [ 76s] + export FFLAGS [ 76s] + LDFLAGS= [ 76s] + export LDFLAGS [ 76s] + LD_AS_NEEDED=1 [ 76s] + export LD_AS_NEEDED [ 76s] + cp /home/abuild/rpmbuild/SOURCES/u-boot-tm1.manifest . [ 76s] + make distclean [ 76s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 76s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 76s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 76s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 76s] + make tizen_tm1_config [ 76s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 76s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 76s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 76s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 76s] Configuring for tizen_tm1 board... [ 76s] + make -j8 'HOSTCC=gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' HOSTSTRIP=/bin/true tools [ 77s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 77s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 77s] Generating include/autoconf.mk [ 77s] Generating include/autoconf.mk.dep [ 77s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 77s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 77s] gcc -DDO_DEPS_ONLY \ [ 77s] -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 77s] -o lib/asm-offsets.s lib/asm-offsets.c -c -S [ 77s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 77s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 77s] from lib/asm-offsets.c:18: [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 77s] #define CONFIG_MMC 1 [ 77s] ^ [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 77s] #define CONFIG_MMC [ 77s] ^ [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 77s] #define CONFIG_EFI_PARTITION 1 [ 77s] ^ [ 77s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 77s] #define CONFIG_EFI_PARTITION [ 77s] ^ [ 77s] Generating include/generated/generic-asm-offsets.h [ 77s] tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h [ 77s] 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 \ [ 77s] make -C $dir _depend ; done [ 77s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 78s] make[1]: Nothing to be done for '_depend'. [ 78s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 78s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 79s] make[1]: Nothing to be done for '_depend'. [ 79s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 79s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 79s] make[1]: Nothing to be done for '_depend'. [ 79s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 79s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 79s] make[1]: Nothing to be done for '_depend'. [ 79s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 79s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] make[1]: Nothing to be done for '_depend'. [ 80s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 80s] make -C tools all [ 80s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -o bmp_logo.o bmp_logo.c -c [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -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 [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -o default_image.o default_image.c -c [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -o fit_image.o fit_image.c -c [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -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 [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -o imximage.o imximage.c -c [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -o kwbimage.o kwbimage.c -c [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -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 [ 80s] kwbimage.c: In function 'kwbimage_verify_header': [ 80s] kwbimage.c:351:10: warning: variable 'calc_exthdrcsum' set but not used [-Wunused-but-set-variable] [ 80s] uint8_t calc_exthdrcsum; [ 80s] ^ [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -o mkimage.o mkimage.c -c [ 80s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/md5.c: In function 'MD5Final': [ 80s] /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] [ 80s] ((__u32 *) ctx->in)[14] = ctx->bits[0]; [ 80s] ^ [ 80s] /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] [ 80s] ((__u32 *) ctx->in)[15] = ctx->bits[1]; [ 80s] ^ [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -o os_support.o os_support.c -c [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -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 [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -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 [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -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 [ 80s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -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 [ 81s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -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 [ 81s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -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 [ 81s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -o bmp_logo bmp_logo.o [ 81s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -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 [ 81s] /bin/true bmp_logo [ 81s] ./bmp_logo logos/denx.bmp >/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/bmp_logo.h [ 81s] /bin/true mkimage [ 81s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 81s] + make -j8 'HOSTCC=gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' CONFIG_ENV_IS_IN_MMC=y env [ 81s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 81s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 81s] make -C tools/env all MTD_VERSION= [ 81s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 81s] ln -s ../../lib/crc32.c crc32.c [ 82s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -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 -DUSE_HOSTCC -o fw_printenv crc32.c fw_env.c fw_env_main.c [ 82s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 82s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 82s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 82s] ++ echo profile/mobile/platform/kernel/u-boot-tm1#fb28f066b01b8d5ca66251fce1415611ee23279c [ 82s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 82s] + make -j8 EXTRAVERSION=-gfb28f066b-TIZEN.org [ 82s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 82s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 83s] 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 \ [ 83s] make -C $dir _depend ; done [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 83s] make[1]: Nothing to be done for '_depend'. [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 83s] make[1]: Nothing to be done for '_depend'. [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 83s] make[1]: Nothing to be done for '_depend'. [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 83s] make[1]: Nothing to be done for '_depend'. [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 83s] make[1]: Nothing to be done for '_depend'. [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 83s] make -C tools all [ 83s] make -C examples/standalone all [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 83s] make -C examples/api all [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 84s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 84s] make -C arch/arm/cpu/armv7 start.o [ 84s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 84s] make -C /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ u-boot.lds [ 84s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 \ [ 84s] -o hello_world.o hello_world.c -c [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 \ [ 84s] -o stubs.o stubs.c -c [ 84s] make[1]: Nothing to be done for 'all'. [ 84s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from hello_world.c:24: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 84s] 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.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a \ [ 84s] -o start.o start.S -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/exports.h:6, [ 84s] from stubs.c:1: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] ld -r -o libstubs.o stubs.o [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from start.S:33: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 84s] make[1]: Nothing to be done for 'u-boot.lds'. [ 84s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 84s] 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.2/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 [ 84s] ld -g -Ttext 0xc100000 \ [ 84s] -o hello_world -e hello_world hello_world.o libstubs.o \ [ 84s] -L/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2 -lgcc [ 84s] objcopy -O srec hello_world hello_world.srec 2>/dev/null [ 84s] objcopy -O binary hello_world hello_world.bin 2>/dev/null [ 84s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 84s] make -C api/ [ 84s] make -C arch/arm/cpu/armv7/ [ 84s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 84s] make -C arch/arm/cpu/armv7/sc8830/ [ 84s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 84s] make -C arch/arm/lib/ [ 84s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o cpu.o cpu.c -c [ 84s] make -C common/ [ 84s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 84s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 84s] -o syslib.o syslib.c -c [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from cpu.c:34: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] make -C disk/ [ 84s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 84s] rm -f libapi.o; ar rcs libapi.o [ 84s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 84s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 84s] from syslib.c:24: [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 84s] #define CONFIG_MMC 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 84s] #define CONFIG_MMC [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 84s] #define CONFIG_EFI_PARTITION 1 [ 84s] ^ [ 84s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 84s] #define CONFIG_EFI_PARTITION [ 84s] ^ [ 84s] ld -r -o libarmv7.o cpu.o syslib.o [ 84s] make -C drivers/bios_emulator/ [ 84s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 84s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 84s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 85s] make -C drivers/block/ [ 85s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 85s] make -C drivers/clk/ [ 85s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 85s] make -C drivers/dma/ [ 85s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 85s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 85s] rm -f libatibiosemu.o; ar rcs libatibiosemu.o [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o part.o part.c -c [ 85s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 85s] make -C drivers/fpga/ [ 85s] rm -f libblock.o; ar rcs libblock.o [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from part.c:24: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] part.c: In function 'get_partition_info_with_partnum': [ 85s] part.c:397:3: warning: implicit declaration of function 'get_partition_info_efi_with_partnum' [-Wimplicit-function-declaration] [ 85s] if (get_partition_info_efi_with_partnum(dev_desc,part,info, total, sdidx, sdpart, sdinfo) == 0) { [ 85s] ^ [ 85s] part.c: In function 'get_all_partition_info': [ 85s] part.c:414:3: warning: implicit declaration of function 'get_all_partition_info_efi' [-Wimplicit-function-declaration] [ 85s] if (get_all_partition_info_efi(dev_desc,info,total_partition_num) == 0) { [ 85s] ^ [ 85s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o part_dos.o part_dos.c -c [ 85s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 85s] rm -f libclk.o; ar rcs libclk.o [ 85s] make -C drivers/gpio/ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from part_dos.c:33: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o part_efi.o part_efi.c -c [ 85s] rm -f libdma.o; ar rcs libdma.o [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o board.o board.c -c [ 85s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 85s] make -C drivers/hwmon/ [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from part_efi.c:34: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 85s] part_efi.c:600:12: warning: 'format_gpt_valid' defined but not used [-Wunused-function] [ 85s] static int format_gpt_valid(block_dev_desc_t * dev_desc, unsigned long long lba, [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o bootm.o bootm.c -c [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from board.c:41: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] board.c: In function 'board_init_r': [ 85s] board.c:468:2: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 85s] performance_debug("1:"); [ 85s] ^ [ 85s] board.c:468:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 85s] board.c:493:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 85s] performance_debug("2:"); [ 85s] ^ [ 85s] board.c:548:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 85s] performance_debug("3:"); [ 85s] ^ [ 85s] board.c:557:2: warning: implicit declaration of function 'mmc_legacy_init' [-Wimplicit-function-declaration] [ 85s] mmc_legacy_init(1); [ 85s] ^ [ 85s] board.c:574:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 85s] performance_debug("4:"); [ 85s] ^ [ 85s] board.c:683:5: warning: implicit declaration of function 'MMU_Init' [-Wimplicit-function-declaration] [ 85s] MMU_Init(CONFIG_MMU_TABLE_ADDR); [ 85s] ^ [ 85s] board.c:699:13: warning: implicit declaration of function 'DCDC_Cal_ArmCore' [-Wimplicit-function-declaration] [ 85s] DCDC_Cal_ArmCore(); [ 85s] ^ [ 85s] board.c:700:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 85s] performance_debug("6:"); [ 85s] ^ [ 85s] board.c:706:5: warning: implicit declaration of function 'board_keypad_init' [-Wimplicit-function-declaration] [ 85s] board_keypad_init(); [ 85s] ^ [ 85s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from bootm.c:24: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o cache.o cache.c -c [ 85s] ld -r -o libdisk.o part.o part_dos.o part_efi.o [ 85s] bootm.c: In function 'bootm_linux_fdt': [ 85s] bootm.c:186:8: warning: unused variable 'of_size' [-Wunused-variable] [ 85s] ulong of_size = images->ft_len; [ 85s] ^ [ 85s] bootm.c:185:8: warning: unused variable 'bootmap_base' [-Wunused-variable] [ 85s] ulong bootmap_base = getenv_bootm_low(); [ 85s] ^ [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o cache-cp15.o cache-cp15.c -c [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from cache.c:26: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 85s] make -C drivers/i2c/ [ 85s] rm -f libfpga.o; ar rcs libfpga.o [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o interrupts.o interrupts.c -c [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from cache-cp15.c:24: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 85s] make -C drivers/input/ [ 85s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 85s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 85s] -o reset.o reset.c -c [ 85s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 85s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 85s] from interrupts.c:38: [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 85s] #define CONFIG_MMC 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 85s] #define CONFIG_MMC [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 85s] #define CONFIG_EFI_PARTITION 1 [ 85s] ^ [ 85s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 85s] #define CONFIG_EFI_PARTITION [ 85s] ^ [ 85s] rm -f libgpio.o; ar rcs libgpio.o [ 86s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 86s] make -C drivers/misc/ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from reset.c:40: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o eabi_compat.o eabi_compat.c -c [ 86s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 86s] rm -f libhwmon.o; ar rcs libhwmon.o [ 86s] make -C drivers/mmc/ [ 86s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from eabi_compat.c:12: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] gcc -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.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a \ [ 86s] -o mmu_asm.o mmu_asm.S -c [ 86s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 86s] ld -r -o libarm.o board.o bootm.o cache.o cache-cp15.o interrupts.o reset.o [ 86s] make -C drivers/mtd/ [ 86s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from mmu_asm.S:13: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o generic.o generic.c -c [ 86s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 86s] make -C drivers/mtd/nand/ [ 86s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from generic.c:25: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o timer.o timer.c -c [ 86s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 86s] rm -f libinput.o; ar rcs libinput.o [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o sprd_i2c.o sprd_i2c.c -c [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from timer.c:39: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o reset.o reset.c -c [ 86s] In file included from timer.c:44:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 86s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from timer.c:39:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 86s] #define MAX(x, y) max(x, y) [ 86s] ^ [ 86s] In file included from timer.c:44:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 86s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from timer.c:39:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 86s] #define MIN(x, y) min(x, y) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 86s] from timer.c:46: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 86s] from timer.c:46: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 86s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 86s] ^ [ 86s] rm -f libmisc.o; ar rcs libmisc.o [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 86s] from sprd_i2c.c:25: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o i2c_hal.o i2c_hal.c -c [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:34:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 86s] #define KPD_NUM (0x31 << 16) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 86s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 86s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 86s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 86s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 86s] #define ADC_BASE 0x40038300 //Aux ADC [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 86s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:111:0: note: this is the location of the previous definition [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: note: this is the location of the previous definition [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: note: this is the location of the previous definition [ 86s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 86s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:220:0: note: this is the location of the previous definition [ 86s] #define RTC_BASE [ 75.048009] serial8250: too much work for irq4 [ 86s] 0x40038080 [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 86s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 86s] from sprd_i2c.c:30: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:298:0: note: this is the location of the previous definition [ 86s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 86s] ^ [ 86s] sprd_i2c.c:283:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 86s] PUBLIC uint32 I2C_GetSCLclk() [ 86s] ^ [ 86s] sprd_i2c.c: In function 'I2C_WriteCmdArr': [ 86s] sprd_i2c.c:470:21: warning: unused variable 'curtime' [-Wunused-variable] [ 86s] volatile uint32 curtime = 0; [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from reset.c:35: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 86s] In file included from reset.c:37:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 86s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from reset.c:35:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 86s] #define MAX(x, y) max(x, y) [ 86s] ^ [ 86s] In file included from reset.c:37:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 86s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from reset.c:35:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 86s] #define MIN(x, y) min(x, y) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 86s] from reset.c:38: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 86s] #define KPD_NUM (0x31 << 16) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 86s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 86s] ^ [ 86s] make -C drivers/mtd/onenand/ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 86s] from reset.c:38: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 86s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 86s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 86s] from reset.c:40: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 86s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 86s] from reset.c:38: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 86s] #define ADC_BASE 0x40038300 //Aux ADC [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 86s] from reset.c:40: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 86s] from reset.c:40: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 86s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 86s] ^ [ 86s] reset.c: In function 'reset_cpu': [ 86s] reset.c:46:2: warning: implicit declaration of function 'start_watchdog' [-Wimplicit-function-declaration] [ 86s] start_watchdog(5); [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o ldo.o ldo.c -c [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 86s] from i2c_hal.c:19: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] i2c_hal.c: In function 'I2C_Bus_Init': [ 86s] i2c_hal.c:120:15: warning: statement with no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Init"); [ 86s] ^ [ 86s] i2c_hal.c: In function 'I2C_Bus_Exit': [ 86s] i2c_hal.c:154:51: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 86s] ^ [ 86s] i2c_hal.c:154:15: warning: statement with no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 86s] ^ [ 86s] i2c_hal.c: In function 'I2C_HAL_Open': [ 86s] i2c_hal.c:222:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 86s] ^ [ 86s] i2c_hal.c:222:67: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 86s] ^ [ 86s] i2c_hal.c:222:15: warning: statement with no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 86s] ^ [ 86s] i2c_hal.c: In function 'I2C_HAL_Close': [ 86s] i2c_hal.c:268:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 86s] ^ [ 86s] i2c_hal.c:268:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 86s] ^ [ 86s] i2c_hal.c:268:15: warning: statement with no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o cmd_bdinfo.o cmd_bdinfo.c -c [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o sc8830_i2c_cfg.o sc8830_i2c_cfg.c -c [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o mfp_sprd.o mfp_sprd.c -c [ 86s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from ldo.c:19: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] rm -f libmtd.o; ar rcs libmtd.o [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 86s] from ldo.c:22: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 86s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from ldo.c:19:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 86s] #define MAX(x, y) max(x, y) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 86s] from ldo.c:22: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 86s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from ldo.c:19:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 86s] #define MIN(x, y) min(x, y) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 86s] from ldo.c:24: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 86s] from ldo.c:24: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 86s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 86s] ^ [ 86s] ldo.c: In function '__LDO_IDX': [ 86s] ldo.c:139:17: warning: comparison between 'LDO_ID_E' and 'SLP_LDO_E' [-Wenum-compare] [ 86s] if(ldo_id == s_ldo_ctl_data[i].id) [ 86s] ^ [ 86s] ldo.c: In function 'LDO_Init': [ 86s] ldo.c:157:2: warning: implicit declaration of function 'regulator_init' [-Wimplicit-function-declaration] [ 86s] return regulator_init(); [ 86s] ^ [ 86s] ldo.c: In function 'LDO_GetLdoCtl': [ 86s] ldo.c:217:28: warning: comparison between 'SLP_LDO_E' and 'LDO_ID_E' [-Wenum-compare] [ 86s] if (s_ldo_ctl_data[i].id == ldo_id) [ 86s] ^ [ 86s] ldo.c:219:8: warning: assignment from incompatible pointer type [ 86s] ctl = &s_ldo_ctl_data[i]; [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from cmd_bdinfo.c:27: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o mmu.o mmu.c -c [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 86s] from mfp_sprd.c:20: [ 86s] /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 [ 86s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 86s] from mfp_sprd.c:20: [ 86s] /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 [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from mfp_sprd.c:23: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o cmd_boot.o cmd_boot.c -c [ 86s] make -C drivers/mtd/spi/ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 86s] from sc8830_i2c_cfg.h:21, [ 86s] from sc8830_i2c_cfg.c:20: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] mfp_sprd.c:111:22: warning: 'spi_cs1_gpio_cfg' defined but not used [-Wunused-variable] [ 86s] static unsigned long spi_cs1_gpio_cfg = MFP_CFG_X(SPI_CSN0, GPIO, DS1, F_PULL_NONE, S_PULL_DOWN, IO_NONE); [ 86s] ^ [ 86s] mfp_sprd.c: In function 'mfp_to_gpio': [ 86s] mfp_sprd.c:44:1: warning: control reaches end of non-void function [-Wreturn-type] [ 86s] } [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o v0/i2c_phy_v0.o v0/i2c_phy_v0.c -c [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o adc.o adc.c -c [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 86s] from mmu.c:2: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] mmu.c: In function 'MMU_Init': [ 86s] mmu.c:55:22: warning: assignment makes pointer from integer without a cast [ 86s] g_mmu_page_table = const_MMUTableStartAddr; [ 86s] ^ [ 86s] mmu.c:77:5: warning: implicit declaration of function 'MMU_InvalideICACHEALL' [-Wimplicit-function-declaration] [ 86s] MMU_InvalideICACHEALL();//steve.zhan add. [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from cmd_boot.c:27: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o cmd_bootm.o cmd_bootm.c -c [ 86s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 86s] -o mmc.o mmc.c -c [ 86s] make -C drivers/mtd/ubi/ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 86s] from v0/i2c_reg_v0.h:28, [ 86s] from v0/i2c_phy_v0.c:22: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 86s] from v0/i2c_phy_v0.c:23: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 86s] from v0/i2c_phy_v0.c:23: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 86s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from adc.c:1: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] v0/i2c_phy_v0.c: In function 'I2C_PHY_ControlInit_V0': [ 86s] v0/i2c_phy_v0.c:250:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 86s] ^ [ 86s] v0/i2c_phy_v0.c:250:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 86s] ^ [ 86s] v0/i2c_phy_v0.c:250:15: warning: statement with no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 86s] ^ [ 86s] v0/i2c_phy_v0.c: In function 'I2C_PHY_StartBus_V0': [ 86s] v0/i2c_phy_v0.c:283:55: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 86s] ^ [ 86s] v0/i2c_phy_v0.c:283:15: warning: statement with no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 86s] ^ [ 86s] v0/i2c_phy_v0.c: In function 'I2C_PHY_WriteBytes_V0': [ 86s] v0/i2c_phy_v0.c:326:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 86s] ^ [ 86s] v0/i2c_phy_v0.c:326:19: warning: statement with no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 86s] ^ [ 86s] v0/i2c_phy_v0.c: In function 'I2C_PHY_ReadBytes_V0': [ 86s] v0/i2c_phy_v0.c:369:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 86s] ^ [ 86s] v0/i2c_phy_v0.c:369:19: warning: statement with no effect [-Wunused-value] [ 86s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 86s] from adc.c:3: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 86s] from adc.c:3: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 86s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from cmd_bootm.c:28: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 86s] from adc.c:5: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 86s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from adc.c:1:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 86s] #define MAX(x, y) max(x, y) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 86s] from adc.c:5: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 86s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from adc.c:1:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 86s] #define MIN(x, y) min(x, y) [ 86s] ^ [ 86s] rm -f libnand.o; ar rcs libnand.o [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from mmc.c:26: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] In file included from mmc.c:37:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 86s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 86s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 86s] from mmc.c:47: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 86s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from mmc.c:27:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 86s] #define MAX(x, y) max(x, y) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 86s] from mmc.c:47: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 86s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from mmc.c:27:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 86s] #define MIN(x, y) min(x, y) [ 86s] ^ [ 86s] In file included from mmc.c:52:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 86s] #define KPD_NUM (0x31 << 16) [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 86s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 86s] ^ [ 86s] mmc.c: In function 'mmc_bwrite': [ 86s] mmc.c:160:3: warning: implicit declaration of function 'Emmc_Write' [-Wimplicit-function-declaration] [ 86s] if(Emmc_Write(0, start, blkcnt, (uint8*)src)) [ 86s] ^ [ 86s] mmc.c: In function 'mmc_bread': [ 86s] mmc.c:240:3: warning: implicit declaration of function 'Emmc_Read' [-Wimplicit-function-declaration] [ 86s] if(Emmc_Read(0, start, blkcnt, (uint8*)dst)) [ 86s] ^ [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o rtc-sprd.o rtc-sprd.c -c [ 86s] mmc.c: In function 'mmc_register': [ 86s] mmc.c:915:3: warning: implicit declaration of function 'Emmc_GetCapacity' [-Wimplicit-function-declaration] [ 86s] mmc->block_dev.lba = Emmc_GetCapacity(0);; [ 86s] ^ [ 86s] mmc.c: In function 'mmc_legacy_init': [ 86s] mmc.c:1027:2: warning: implicit declaration of function 'Emmc_Init' [-Wimplicit-function-declaration] [ 86s] if(TRUE == Emmc_Init()) [ 86s] ^ [ 86s] mmc.c:1025:11: warning: unused variable 'rca' [-Wunused-variable] [ 86s] uint16_t rca = 0; [ 86s] ^ [ 86s] mmc.c:1024:12: warning: unused variable 'resp' [-Wunused-variable] [ 86s] uint32_t *resp; [ 86s] ^ [ 86s] mmc.c:1023:11: warning: unused variable 'cid_resp' [-Wunused-variable] [ 86s] uint32_t cid_resp[4]; [ 86s] ^ [ 86s] mmc.c:1022:6: warning: unused variable 'retries' [-Wunused-variable] [ 86s] int retries, rc = -ENODEV; [ 86s] ^ [ 86s] mmc.c: At top level: [ 86s] mmc.c:1053:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 86s] int mmc_sdcard_init() [ 86s] ^ [ 86s] mmc.c: In function 'mmc_sdcard_init': [ 86s] mmc.c:1056:2: warning: implicit declaration of function 'SDCARD_PowerOn' [-Wimplicit-function-declaration] [ 86s] if (TRUE == SDCARD_PowerOn()) { [ 86s] ^ [ 86s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 86s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 86s] -o mv_sdhci.o mv_sdhci.c -c [ 86s] ld -r -o libi2c.o sprd_i2c.o i2c_hal.o sc8830_i2c_cfg.o v0/i2c_phy_v0.o [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from rtc-sprd.c:11: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 86s] from rtc-sprd.c:13: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 86s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 86s] from rtc-sprd.c:13: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 86s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 86s] from rtc-sprd.c:14: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 86s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from rtc-sprd.c:11:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 86s] #define MAX(x, y) max(x, y) [ 86s] ^ [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 86s] from rtc-sprd.c:14: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 86s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 86s] ^ [ 86s] In file included from rtc-sprd.c:11:0: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 86s] #define MIN(x, y) min(x, y) [ 86s] ^ [ 86s] rtc-sprd.c: In function 'sprd_clean_rtc': [ 86s] rtc-sprd.c:183:6: warning: unused variable 'err' [-Wunused-variable] [ 86s] int err; [ 86s] ^ [ 86s] rm -f libonenand.o; ar rcs libonenand.o [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o cmd_console.o cmd_console.c -c [ 86s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 86s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 86s] from mv_sdhci.c:1: [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 86s] #define CONFIG_MMC 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 86s] #define CONFIG_MMC [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 86s] #define CONFIG_EFI_PARTITION 1 [ 86s] ^ [ 86s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 86s] #define CONFIG_EFI_PARTITION [ 86s] ^ [ 86s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/include/asm/arch-sc8810 -I /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch \ [ 86s] -o sdhci.o sdhci.c -c [ 86s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 86s] -o sec_boot.o sec_boot.c -c [ 86s] mv_sdhci.c: In function 'sdhci_dumpregs': [ 86s] mv_sdhci.c:18:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 86s] printf(KERN_DEBUG DRIVER_NAME ": address 0x%08x | value 0x%08x\n", host->ioaddr + i*4, sdhci_readl(host, i*4)); [ 86s] ^ [ 86s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 86s] make -C drivers/net/ [ 86s] mv_sdhci.c: In function 'sdhci_sprd_set_base_clock': [ 86s] mv_sdhci.c:65:16: warning: unused variable 'flags' [-Wunused-variable] [ 86s] unsigned long flags; [ 86s] ^ [ 86s] mv_sdhci.c: At top level: [ 86s] mv_sdhci.c:63:13: warning: 'sdhci_sprd_set_base_clock' defined but not used [-Wunused-function] [ 86s] static void sdhci_sprd_set_base_clock(unsigned int clock) [ 86s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_console.c:27: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 \ [ 87s] -o sdio_card_pal.o sdio_card_pal.c -c [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_echo.o cmd_echo.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from sdhci.c:27: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o glb.o glb.c -c [ 87s] rm -f libspi_flash.o; ar rcs libspi_flash.o [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from sec_boot.c:1: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] sdhci.c: In function 'sdhci_send_command': [ 87s] sdhci.c:198:3: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 87s] Dcache_CleanRegion(start_addr, trans_bytes); [ 87s] ^ [ 87s] sdhci.c:199:3: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 87s] Dcache_InvalRegion(start_addr, trans_bytes); [ 87s] ^ [ 87s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 87s] from sec_boot.c:3: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 87s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from sec_boot.c:1:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 87s] #define MAX(x, y) max(x, y) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 87s] from sec_boot.c:3: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 87s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from sec_boot.c:1:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 87s] #define MIN(x, y) min(x, y) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 87s] from sec_boot.c:3: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 87s] #define KPD_NUM (0x31 << 16) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 87s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 87s] from sec_boot.c:3: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 87s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 87s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 87s] from sec_boot.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 87s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 87s] from sec_boot.c:3: [ 87s] /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 [ 87s] #define ADC_BASE 0x40038300 //Aux ADC [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 87s] from sec_boot.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 87s] from sec_boot.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 87s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 87s] ^ [ 87s] In file included from sec_boot.c:5:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 87s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 87s] ^ [ 87s] /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 [ 87s] #define VLR_INFO_OFF (512) [ 87s] ^ [ 87s] sec_boot.c: In function 'harshVerify': [ 87s] sec_boot.c:298:22: warning: passing argument 2 of 'SHA1Result_32' from incompatible pointer type [ 87s] SHA1Result_32(&sha, soft_hash_data); [ 87s] ^ [ 87s] sec_boot.c:205:12: note: expected 'unsigned char *' but argument is of type 'unsigned int *' [ 87s] PUBLIC int SHA1Result_32(SHA1Context_32 * context, unsigned char *Message_Digest) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_echo.c:24: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 87s] from sdio_card_pal.c:2: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 87s] from sdio_card_pal.c:7: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 87s] #define KPD_NUM (0x31 << 16) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 87s] #define KPD_NUM ((0x01 << 16) | (0x03 [ 75.676009] serial8250: too much work for irq4 [ 87s] << 20))//KPDCTL_KPD ;// 5*5 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 87s] from sdio_card_pal.c:7: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 87s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 87s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 87s] ^ [ 87s] sdio_card_pal.c: In function 'SDIO_Card_Pal_Pwr': [ 87s] sdio_card_pal.c:524:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 87s] udelay(5000); [ 87s] ^ [ 87s] sdio_card_pal.c: In function 'SDIO_Card_Pal_SendCmd': [ 87s] sdio_card_pal.c:809:16: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 87s] Dcache_CleanRegion((unsigned int)(dataParam->databuf), bufferSize); [ 87s] ^ [ 87s] sdio_card_pal.c:810:16: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 87s] Dcache_InvalRegion((unsigned int)(dataParam->databuf), bufferSize); [ 87s] ^ [ 87s] sdio_card_pal.c:826:3: warning: implicit declaration of function '_SDHOST_IrqHandle' [-Wimplicit-function-declaration] [ 87s] _SDHOST_IrqHandle(handle->sdio_No); [ 87s] ^ [ 87s] sdio_card_pal.c:754:13: warning: unused variable 'isr_status' [-Wunused-variable] [ 87s] uint32 isr_status; [ 87s] ^ [ 87s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_ext4.o cmd_ext4.c -c [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 \ [ 87s] -o sdhost_phy.o sdhost_phy.c -c [ 87s] rm -f libubi.o; ar rcs libubi.o [ 87s] make -C drivers/net/phy/ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_fat.o cmd_fat.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_ext4.c:43: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from glb.c:16: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 87s] from sdhost_phy.c:19: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:34:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 87s] #define KPD_NUM (0x31 << 16) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 87s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 87s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 87s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 87s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /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 [ 87s] #define ADC_BASE 0x40038300 //Aux ADC [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 87s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 87s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 87s] ^ [ 87s] /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 [ 87s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 87s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 87s] ^ [ 87s] /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 [ 87s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 87s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 87s] ^ [ 87s] /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 [ 87s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 87s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010[ 75.796009] serial8250: too much work for irq4 [ 87s] .12/include/asm/arch/chip_drv_config.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /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 [ 87s] #define RTC_BASE 0x40038080 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 87s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /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 [ 87s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 87s] ^ [ 87s] In file included from sdhost_phy.c:34:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 87s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /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 [ 87s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 87s] ^ [ 87s] In file included from sdhost_phy.c:34:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:38:0: warning: "USB_PHY_CTRL" redefined [ 87s] #define USB_PHY_CTRL (AHB_REG_BASE + 0xA0) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:21:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /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 [ 87s] #define USB_PHY_CTRL (CTL_BASE_APB+0x10) [ 87s] ^ [ 87s] In file included from sdhost_phy.c:34:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 87s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /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 [ 87s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 87s] ^ [ 87s] In file included from sdhost_phy.c:39:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:21:0: warning: "REG_SETCLRBIT" redefined [ 87s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /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 [ 87s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 87s] ^ [ 87s] In file included from sdhost_phy.c:39:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:34:0: warning: "GET_LEVELBIT" redefined [ 87s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /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 [ 87s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 87s] ^ [ 87s] In file included from sdhost_phy.c:39:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:41:0: warning: "GET_LEVEL" redefined [ 87s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 87s] from sdhost_phy.c:21: [ 87s] /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 [ 87s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 87s] ^ [ 87s] sdhost_phy.c: In function '_GetIntSDHOSTSlotNum': [ 87s] sdhost_phy.c:2341:12: warning: unused variable 'tmpReg' [-Wunused-variable] [ 87s] uint32 tmpReg; [ 87s] ^ [ 87s] sdhost_phy.c: In function 'SdhostHisrFunc': [ 87s] sdhost_phy.c:2484:5: warning: implicit declaration of function 'threadReadBuffer' [-Wimplicit-function-declaration] [ 87s] while (!threadReadBuffer (&buffer)) [ 87s] ^ [ 87s] sdhost_phy.c: In function 'SDHOST_Register': [ 87s] sdhost_phy.c:2515:24: warning: unused variable 'i' [-Wunused-variable] [ 87s] uint32 status = 0, i = 0; [ 87s] ^ [ 87s] sdhost_phy.c:2515:12: warning: unused variable 'status' [-Wunused-variable] [ 87s] uint32 status = 0, i = 0; [ 87s] ^ [ 87s] sdhost_phy.c: At top level: [ 87s] sdhost_phy.c:2480:13: warning: 'SdhostHisrFunc' defined but not used [-Wunused-function] [ 87s] LOCAL void SdhostHisrFunc (uint32 cnt, void *pData) [ 87s] ^ [ 87s] sdhost_phy.c:115:15: warning: '_RegisterVerifyHOST' defined but not used [-Wunused-function] [ 87s] LOCAL BOOLEAN _RegisterVerifyHOST (SDHOST_HANDLE sdhost_handler) [ 87s] ^ [ 87s] sdhost_phy.c:1621:12: warning: '_GetSDHOSTCapbility' defined but not used [-Wunused-function] [ 87s] LOCAL void _GetSDHOSTCapbility (SDHOST_HANDLE sdhost_handler,SDHOST_CAPBILIT_T *capbility) [ 87s] ^ [ 87s] sdhost_phy.c:2339:22: warning: '_GetIntSDHOSTSlotNum' defined but not used [-Wunused-function] [ 87s] LOCAL SDHOST_SLOT_NO _GetIntSDHOSTSlotNum (uint32 port) [ 87s] ^ [ 87s] sdhost_phy.c:2490:12: warning: '_SDHOST_Pin_select' defined but not used [-Wunused-function] [ 87s] LOCAL void _SDHOST_Pin_select(SDHOST_SLOT_NO slot_NO) [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -W[ 75.840009] serial8250: too much work for irq4 [ 87s] strict-prototypes -fno-stack-protector \ [ 87s] -o adi.o adi.c -c [ 87s] glb.c: In function 'sci_glb_write': [ 87s] glb.c:40:23: warning: unused variable 'hw_flags' [-Wunused-variable] [ 87s] unsigned long flags, hw_flags; [ 87s] ^ [ 87s] glb.c:40:16: warning: unused variable 'flags' [-Wunused-variable] [ 87s] unsigned long flags, hw_flags; [ 87s] ^ [ 87s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_fdt.o cmd_fdt.c -c [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 \ [ 87s] -o card_sdio.o card_sdio.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_fat.c:27: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] make -C drivers/pci/ [ 87s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from adi.c:20: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_fdt.c:27: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 87s] from card_sdio.c:20: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from card_sdio.c:22:0: [ 87s] card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] PUBLIC void Emmc_DisSdClk(); [ 87s] ^ [ 87s] card_sdio.c:362:1: warning: missing braces around initializer [-Wmissing-braces] [ 87s] LOCAL CARD_PORT_T cardPort[CARD_SDIO_SLOT_MAX] = {0}; [ 87s] ^ [ 87s] card_sdio.c:362:1: warning: (near initialization for 'cardPort[0]') [-Wmissing-braces] [ 87s] card_sdio.c: In function 'CARD_SDIO_Select_CurPartition': [ 87s] card_sdio.c:1394:9: warning: unused variable 'RCA' [-Wunused-variable] [ 87s] uint16 RCA = cardHandle->RCA; [ 87s] ^ [ 87s] card_sdio.c: In function '_SetBusWidth': [ 87s] card_sdio.c:1442:9: warning: unused variable 'RCA' [-Wunused-variable] [ 87s] uint16 RCA = cardHandle->RCA; [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o gpio.o gpio.c -c [ 87s] card_sdio.c: In function 'CARD_SDIO_InitCard': [ 87s] card_sdio.c:1648:8: warning: variable 'extcsd_Part_Config' set but not used [-Wunused-but-set-variable] [ 87s] uint8 extcsd_Part_Config; [ 87s] ^ [ 87s] card_sdio.c:1646:24: warning: unused variable 'errCode' [-Wunused-variable] [ 87s] SDIO_CARD_PAL_ERROR_E errCode; [ 87s] ^ [ 87s] card_sdio.c:1645:10: warning: unused variable 'vertion_flag' [-Wunused-variable] [ 87s] BOOLEAN vertion_flag; //TRUE: SD2.0 FALSE: SD1.x [ 87s] ^ [ 87s] card_sdio.c: In function 'CARD_SDIO_getCID': [ 87s] card_sdio.c:1930:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 87s] 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]; [ 87s] ^ [ 87s] card_sdio.c:1930:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 87s] 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]; [ 87s] ^ [ 87s] card_sdio.c:1932:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 87s] 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; [ 87s] ^ [ 87s] card_sdio.c:1932:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 87s] 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; [ 87s] ^ [ 87s] card_sdio.c:1932:135: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 87s] 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; [ 87s] ^ [ 87s] card_sdio.c:1933:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 87s] 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; [ 87s] ^ [ 87s] card_sdio.c:1933:110: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 87s] 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; [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 87s] from card_sdio.c:1964: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h: In function 'SDCARD_SDIO_InitCard': [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 87s] from card_sdio.c:1964: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 87s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 87s] from adi.c:23: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 87s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from adi.c:20:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 87s] #define MAX(x, y) max(x, y) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 87s] from adi.c:23: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 87s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from adi.c:20:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 87s] #define MIN(x, y) min(x, y) [ 87s] ^ [ 87s] card_sdio.c:1968:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 87s] sprd_gpio_request(NULL, 100); [ 87s] ^ [ 87s] card_sdio.c:1969:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 87s] sprd_gpio_direction_output(NULL, 100, 1); [ 87s] ^ [ 87s] card_sdio.c:1976:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 87s] udelay(5000); [ 87s] ^ [ 87s] card_sdio.c:2165:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 87s] printf("SDCARD_SDIO_ReadRCA failed!\r\n"); [ 87s] ^ [ 87s] card_sdio.c:1953:19: warning: unused variable 'busWidth' [-Wunused-variable] [ 87s] CARD_BUS_WIDTH_E busWidth = CARD_WIDTH_1_BIT; [ 87s] ^ [ 87s] In file included from card_sdio.c:1964:0: [ 87s] /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] [ 87s] } pinmap_t; [ 87s] ^ [ 87s] card_sdio.c: At top level: [ 87s] card_sdio.c:2783:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] PUBLIC BOOLEAN SDCARD_Init() [ 87s] ^ [ 87s] card_sdio.c: In function 'SDCARD_Init': [ 87s] card_sdio.c:2785:9: warning: unused variable 'ret' [-Wunused-variable] [ 87s] uint32 ret = 0; [ 87s] ^ [ 87s] card_sdio.c: At top level: [ 87s] card_sdio.c:2797:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] PUBLIC BOOLEAN SDCARD_PowerOn() [ 87s] ^ [ 87s] card_sdio.c:2907:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] PUBLIC void Emmc_DisSdClk() [ 87s] ^ [ 87s] card_sdio.c:370:15: warning: '_IsCardHandleValid' defined but not used [-Wunused-function] [ 87s] LOCAL BOOLEAN _IsCardHandleValid(CARD_SDIO_HANDLE cardHandle) [ 87s] ^ [ 87s] card_sdio.c:457:12: warning: '_SD_CID_Analyze' defined but not used [-Wunused-function] [ 87s] LOCAL void _SD_CID_Analyze(uint8* CIDbuf,CARD_SD_CID_T *CID) [ 87s] ^ [ 87s] card_sdio.c:1580:12: warning: '_CMD6_Response_Analyze' defined but not used [-Wunused-function] [ 87s] LOCAL void _CMD6_Response_Analyze(uint8* resBuf,CARD_CMD6_STATUS_T* cmdStatus) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 87s] from adi.c:26: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 87s] from adi.c:26: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 87s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 87s] ^ [ 87s] adi.c: In function '__adi_read': [ 87s] adi.c:172:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 87s] printf("[0x%s]: ADI READ timeout!!! reg = 0x%x, value = 0x%x\n", __func__, regPddr, val); [ 87s] ^ [ 87s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_help.o cmd_help.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 87s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 87s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o gpio_phy.o gpio_phy.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 87s] struct gpio_chip *chip); [ 87s] ^ [ 87s] /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 [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 87s] from gpio.c:16: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 87s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 87s] #define MAX(x, y) max(x, y) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 87s] from gpio.c:16: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 87s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 87s] #define MIN(x, y) min(x, y) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 87s] from gpio.c:16: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 87s] #define KPD_NUM (0x31 << 16) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 87s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 87s] ^ [ 87s] In file included from gpio.c:16:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 87s] /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] [ 87s] __raw_bits_and(value, reg_addr); [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 87s] /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] [ 87s] __raw_bits_or(value, reg_addr); [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 87s] from gpio.c:17: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h: At top level: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 87s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 87s] from gpio.c:15: [ 87s] /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 [ 87s] #define ADC_BASE 0x40038300 //Aux ADC [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 87s] from gpio.c:17: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 87s] from gpio.c:17: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 87s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 87s] ^ [ 87s] In file included from gpio.c:18:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:32:0: warning: "ANA_GPIO_BASE" redefined [ 87s] #define ANA_GPIO_BASE SPRD_ANA_GPIO_PHYS [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 87s] from gpio.c:15: [ 87s] /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 [ 87s] #define ANA_GPIO_BASE 0x40038480 [ 87s] ^ [ 87s] In file included from gpio.c:18:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:33:0: warning: "GPIO_BASE" redefined [ 87s] #define GPIO_BASE SPRD_GPIO_PHYS [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 87s] from gpio.c:15: [ 87s] /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 [ 87s] #define GPIO_BASE CTL_BASE_GPIO [ 87s] ^ [ 87s] gpio.c:22:0: warning: "KERN_WARNING" redefined [ 87s] #define KERN_WARNING "" [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:145:0: note: this is the location of the previous definition [ 87s] #define KERN_WARNING [ 87s] ^ [ 87s] gpio.c:23:0: warning: "WARN" redefined [ 87s] #define WARN(nmu, fmt...) printf(fmt) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:275:0: note: this is the location of the previous definition [ 87s] #define WARN(condition, format...) ({ \ [ 87s] ^ [ 87s] gpio.c:24:0: warning: "WARN_ON" redefined [ 87s] #define WARN_ON(num) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:266:0: note: this is the location of the previous definition [ 87s] #define WARN_ON(condition) ({ \ [ 87s] ^ [ 87s] gpio.c:25:0: warning: "BUG_ON" redefined [ 87s] #define BUG_ON(__cond__) if(__cond__) printf("%s line: %d bug on\n", __FUNCTION__, __LINE__) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:148:0: note: this[ 76.012008] serial8250: too much work for irq4 [ 87s] is the location of the previous definition [ 87s] #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) [ 87s] ^ [ 87s] gpio.c:26:0: warning: "pr_err" redefined [ 87s] #define pr_err(fmt...) printf(fmt) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:241:0: note: this is the location of the previous definition [ 87s] #define pr_err(fmt, ...) \ [ 87s] ^ [ 87s] gpio.c:27:0: warning: "ARRAY_SIZE" redefined [ 87s] #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:753:0: note: this is the location of the previous definition [ 87s] #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) [ 87s] ^ [ 87s] gpio.c:28:0: warning: "pr_debug" redefined [ 87s] #define pr_debug(fmt...) printf(fmt) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 87s] from gpio.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 87s] #define pr_debug(fmt, ...) [ 87s] ^ [ 87s] gpio.c:36:0: warning: "GPIO_DBG" redefined [ 87s] #define GPIO_DBG(fmt...) [ 87s] ^ [ 87s] In file included from gpio.c:16:0: [ 87s] /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 [ 87s] #define GPIO_DBG(fmt...) printf(fmt) [ 87s] ^ [ 87s] gpio.c:60:0: warning: "GPIO_INVALID_ID" redefined [ 87s] #define GPIO_INVALID_ID 0xffff [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 87s] from gpio.c:16: [ 87s] /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 [ 87s] #define GPIO_INVALID_ID 0x0FF [ 87s] ^ [ 87s] gpio.c: In function '__gpio_set_dir': [ 87s] gpio.c:101:16: warning: unused variable 'flags' [-Wunused-variable] [ 87s] unsigned long flags; [ 87s] ^ [ 87s] gpio.c: In function '__gpio_set_pin_data': [ 87s] gpio.c:265:16: warning: unused variable 'flags' [-Wunused-variable] [ 87s] unsigned long flags; [ 87s] ^ [ 87s] gpio.c: In function '__gpio_set_data_mask': [ 87s] gpio.c:294:16: warning: unused variable 'flags' [-Wunused-variable] [ 87s] unsigned long flags; [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 87s] from gpio.c:15: [ 87s] gpio.c: At top level: [ 87s] /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] [ 87s] static bool gpio_is_valid(int number) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_help.c:24: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] make -C drivers/pcmcia/ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from gpio_phy.c:1: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_itest.o cmd_itest.c -c [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o clock.o clock.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 87s] from gpio_phy.c:3: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 87s] from gpio_phy.c:3: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 87s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 87s] from gpio_phy.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 87s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from gpio_phy.c:1:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 87s] #define MAX(x, y) max(x, y) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 87s] from gpio_phy.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 87s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 87s] ^ [ 87s] In file included from gpio_phy.c:1:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 87s] #define MIN(x, y) min(x, y) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 87s] from gpio_phy.c:5: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 87s] #define KPD_NUM (0x31 << 16) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 87s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 87s] ^ [ 87s] In file included from gpio_phy.c:5:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function '__get_gpio_die': [ 87s] /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] [ 87s] WARN(1, "wrong gpio %d\r\n", gpio); [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 87s] /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] [ 87s] __raw_bits_and(value, reg_addr); [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 87s] /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] [ 87s] __raw_bits_or(value, reg_addr); [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_load.o cmd_load.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_itest.c:31: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 87s] from clock.c:15: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] rm -f libnet.o; ar rcs libnet.o [ 87s] ld -r -o libmmc.o mmc.o mv_sdhci.o sdhci.o sdio_card_pal.o sdhost_phy.o card_sdio.o [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 87s] from clock.c:25: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 87s] from clock.c:25: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 87s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 87s] ^ [ 87s] rm -f libphy.o; ar rcs libphy.o [ 87s] clock.c: In function 'clk_set_rate': [ 87s] clock.c:138:16: warning: unused variable 'flags' [-Wunused-variable] [ 87s] unsigned long flags; [ 87s] ^ [ 87s] clock.c: In function 'clk_set_parent': [ 87s] clock.c:171:16: warning: unused variable 'flags' [-Wunused-variable] [ 87s] unsigned long flags; [ 87s] ^ [ 87s] clock.c: In function 'sci_clk_enable': [ 87s] make -C drivers/power/ [ 87s] clock.c:222:4: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 87s] sci_glb_set(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 87s] ^ [ 87s] clock.c:224:4: warning: implicit declaration of function 'sci_glb_clr' [-Wimplicit-function-declaration] [ 87s] sci_glb_clr(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 87s] ^ [ 87s] clock.c: In function 'sci_clk_is_enable': [ 87s] clock.c:240:7: warning: implicit declaration of function 'sci_glb_read' [-Wimplicit-function-declaration] [ 87s] ! !sci_glb_read(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 87s] ^ [ 87s] clock.c: In function 'sci_clk_set_rate': [ 87s] clock.c:258:2: warning: implicit declaration of function 'sci_glb_write' [-Wimplicit-function-declaration] [ 87s] sci_glb_write(c->regs->div.reg, div << div_shift, c->regs->div.mask); [ 87s] ^ [ 87s] clock.c: In function 'sci_clk_register': [ 87s] clock.c:444:2: warning: implicit declaration of function 'clkdev_add' [-Wimplicit-function-declaration] [ 87s] clkdev_add(cl); [ 87s] ^ [ 87s] clock.c: At top level: [ 87s] clock.c:480:19: warning: initialization from incompatible pointer type [ 87s] .notifier_call = __clk_cpufreq_notifier [ 87s] ^ [ 87s] clock.c:480:19: warning: (near initialization for '__clk_cpufreq_notifier_block.notifier_call') [ 87s] clock.c:518:1: warning: data definition has no type or storage class [ 87s] arch_initcall(sci_clock_init); [ 87s] ^ [ 87s] clock.c:518:1: warning: type defaults to 'int' in declaration of 'arch_initcall' [-Wimplicit-int] [ 87s] clock.c:518:1: warning: parameter names (without types) in function declaration [ 87s] clock.c:519:1: warning: data definition has no type or storage class [ 87s] late_initcall_sync(sci_clock_dump); [ 87s] ^ [ 87s] clock.c:519:1: warning: type defaults to 'int' in declaration of 'late_initcall_sync' [-Wimplicit-int] [ 87s] clock.c:519:1: warning: parameter names (without types) in function declaration [ 87s] clock.c:452:19: warning: 'sci_clock_dump' defined but not used [-Wunused-function] [ 87s] static int __init sci_clock_dump(void) [ 87s] ^ [ 87s] clock.c:479:30: warning: '__clk_cpufreq_notifier_block' defined but not used [-Wunused-variable] [ 87s] static struct notifier_block __clk_cpufreq_notifier_block = { [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_load.c:27: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_mem.o cmd_mem.c -c [ 87s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o clock_test.o clock_test.c -c [ 87s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 87s] make -C drivers/rtc/ [ 87s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_mem.c:30: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_misc.o cmd_misc.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 87s] from clock_test.c:1: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] cmd_mem.c: In function 'do_mem_loop': [ 87s] cmd_mem.c:477:25: warning: variable 'junk' set but not used [-Wunused-but-set-variable] [ 87s] ulong addr, length, i, junk; [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o check_reboot.o check_reboot.c -c [ 87s] clock_test.c: In function 'get_clock_rate': [ 87s] clock_test.c:13:2: warning: implicit declaration of function 'clk_get' [-Wimplicit-function-declaration] [ 87s] clk =clk_get(0, clk_name); [ 87s] ^ [ 87s] clock_test.c:13:6: warning: assignment makes pointer from integer without a cast [ 87s] clk =clk_get(0, clk_name); [ 87s] ^ [ 87s] clock_test.c:17:3: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 87s] printf("%s can't find!\r\n"); [ 87s] ^ [ 87s] clock_test.c: At top level: [ 87s] clock_test.c:33:46: warning: type defaults to 'int' in declaration of 'clk_name' [-Wimplicit-int] [ 87s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 87s] ^ [ 87s] clock_test.c: In function 'change_clock_rate': [ 87s] clock_test.c:37:6: warning: assignment makes pointer from integer without a cast [ 87s] clk =clk_get(0, clk_name); [ 87s] ^ [ 87s] clock_test.c:41:3: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 87s] printf("%s can't find!\r\n"); [ 87s] ^ [ 87s] clock_test.c:60:2: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'const int *' [-Wformat=] [ 87s] printf("%s ==> %d\r\n", clk_name, rate); [ 87s] ^ [ 87s] clock_test.c: At top level: [ 87s] clock_test.c:64:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] void clock_test() [ 87s] ^ [ 87s] clock_test.c: In function 'clock_test': [ 87s] clock_test.c:68:2: warning: implicit declaration of function 'sci_clock_init' [-Wimplicit-function-declaration] [ 87s] sci_clock_init(); [ 87s] ^ [ 87s] clock_test.c:71:3: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'const u32 *' [-Wformat=] [ 87s] &__clkinit_begin, __clkinit_begin, &__clkinit_end, __clkinit_end); [ 87s] ^ [ 87s] clock_test.c:71:3: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'const u32 *' [-Wformat=] [ 87s] clock_test.c:77:8: warning: assignment makes pointer from integer without a cast [ 87s] clk =clk_get(0, cl->con_id); [ 87s] ^ [ 87s] clock_test.c:82:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 87s] printf("1.clk: %s, rate: %d\r\n", cl->con_id, clk->ops->get_rate(clk)); [ 87s] ^ [ 87s] clock_test.c:86:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 87s] printf("2.clk: %s, rate: %d\r\n", cl->con_id, clk->rate); [ 87s] ^ [ 87s] clock_test.c:103:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 87s] change_clock_rate("clk_emmc", 192000000); [ 87s] ^ [ 87s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 87s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 87s] ^ [ 87s] clock_test.c:107:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 87s] change_clock_rate("clk_apb", 100000000); [ 87s] ^ [ 87s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 87s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 87s] ^ [ 87s] clock_test.c:112:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 87s] change_clock_rate("clk_emc", 100000000); [ 87s] ^ [ 87s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 87s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 87s] ^ [ 87s] clock_test.c:116:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 87s] change_clock_rate("clk_dbg", 200000000); [ 87s] ^ [ 87s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 87s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 87s] ^ [ 87s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 87s] rm -f libpci.o; ar rcs libpci.o [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_mmc.o cmd_mmc.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_misc.c:27: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 87s] from check_reboot.c:1: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 87s] from check_reboot.c:2: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 87s] #define KPD_NUM (0x31 << 16) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 87s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 87s] from check_reboot.c:2: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 87s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 87s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 87s] from check_reboot.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 87s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 87s] from check_reboot.c:2: [ 87s] /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 [ 87s] #define ADC_BASE 0x40038300 //Aux ADC [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 87s] from check_reboot.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 87s] from check_reboot.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 87s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 87s] ^ [ 87s] make -C drivers/serial/ [ 87s] In file included from check_reboot.c:6:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 87s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 87s] from check_reboot.c:2: [ 87s] /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 [ 87s] #define RTC_BASE 0x40038080 [ 87s] ^ [ 87s] In file included from check_reboot.c:7:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 87s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 87s] from check_reboot.c:4: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:176:0: note: this is the location of the previous definition [ 87s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 87s] ^ [ 87s] check_reboot.c: In function 'check_reboot_mode': [ 87s] check_reboot.c:47:11: warning: unused variable 'val' [-Wunused-variable] [ 87s] unsigned val, rst_mode= 0; [ 87s] ^ [ 87s] check_reboot.c: At top level: [ 87s] check_reboot.c:123:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] int get_mode_from_gpio() [ 87s] ^ [ 87s] check_reboot.c: In function 'get_mode_from_gpio': [ 87s] check_reboot.c:129:2: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 87s] ret = (hw_rst_mode & HW_PBINT2_STATUS) && !charger_connected(); [ 87s] ^ [ 87s] check_reboot.c: In function 'reboot_devices': [ 87s] check_reboot.c:150:2: warning: implicit declaration of function 'reset_cpu' [-Wimplicit-function-declaration] [ 87s] reset_cpu(0); [ 87s] ^ [ 87s] check_reboot.c: In function 'power_down_devices': [ 87s] check_reboot.c:154:2: warning: implicit declaration of function 'power_down_cpu' [-Wimplicit-function-declaration] [ 87s] power_down_cpu(0); [ 87s] ^ [ 87s] check_reboot.c: In function 'power_button_pressed': [ 87s] check_reboot.c:167:2: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 87s] sci_glb_set(REG_AON_APB_APB_EB0,BIT_AON_GPIO_EB | BIT_EIC_EB); [ 87s] ^ [ 87s] check_reboot.c:179:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 87s] udelay(3000); [ 87s] ^ [ 87s] check_reboot.c: In function 'charger_connected': [ 87s] check_reboot.c:192:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 87s] sprd_eic_request(EIC_CHG_INT); [ 87s] ^ [ 87s] check_reboot.c:201:2: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 87s] return !!sprd_eic_get(EIC_CHG_INT); [ 87s] ^ [ 87s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o eic.o eic.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_mmc.c:24: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_t[ 76.412009] serial8250: too much work for irq4 [ 87s] m1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_nvedit.o cmd_nvedit.c -c [ 87s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 87s] from eic.c:15: [ 87s] /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 [ 87s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 87s] from eic.c:15: [ 87s] /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 [ 87s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 87s] from eic.c:16: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from eic.c:20:0: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 87s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:34:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 87s] from eic.c:15: [ 87s] /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 [ 87s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 87s] ^ [ 87s] eic.c: In function '__get_eic_base_info': [ 87s] eic.c:81:24: warning: unused variable 'section_table' [-Wunused-variable] [ 87s] struct gpio_section *section_table; [ 87s] ^ [ 87s] eic.c:80:6: warning: unused variable 'table_size' [-Wunused-variable] [ 87s] u32 table_size = 0; [ 87s] ^ [ 87s] eic.c:79:6: warning: unused variable 'i' [-Wunused-variable] [ 87s] int i = 0; [ 87s] ^ [ 87s] eic.c: In function '__eic_get_pin_data': [ 87s] eic.c:108:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 87s] u32 offset_addr = 0; [ 87s] ^ [ 87s] eic.c: In function '__eic_get_data_mask': [ 87s] eic.c:129:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 87s] u32 offset_addr = 0; [ 87s] ^ [ 87s] eic.c: In function '__eic_set_data_mask': [ 87s] eic.c:153:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 87s] u32 offset_addr = 0; [ 87s] ^ [ 87s] eic.c: In function 'sprd_eic_get': [ 87s] eic.c:200:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 87s] WARN(1, "GPIO_%d data mask hasn't been opened!\n", eic_id); [ 87s] ^ [ 87s] eic.c: At top level: [ 87s] eic.c:244:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 87s] int get_volumn_down_status2() [ 87s] ^ [ 87s] eic.c: In function 'get_volumn_down_status2': [ 87s] eic.c:250:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 87s] udelay(3000); [ 87s] ^ [ 87s] eic.c: At top level: [ 87s] eic.c:226:13: warning: 'sprd_eic_free' defined but not used [-Wunused-function] [ 87s] static void sprd_eic_free(unsigned offset) [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o vibrator_sc2723.o vibrator_sc2723.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 87s] from cmd_nvedit.c:41: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o cmd_pcmcia.o cmd_pcmcia.c -c [ 87s] cmd_nvedit.c: In function 'do_env_edit': [ 87s] cmd_nvedit.c:427:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] [ 87s] int len; [ 87s] ^ [ 87s] make -C drivers/sound/codec/ [ 87s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 87s] -o rpx_pcmcia.o rpx_pcmcia.c -c [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 87s] from vibrator_sc2723.c:1: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 87s] #define CONFIG_MMC 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 87s] #define CONFIG_MMC [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 87s] #define CONFIG_EFI_PARTITION 1 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 87s] #define CONFIG_EFI_PARTITION [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 87s] from vibrator_sc2723.c:3: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 87s] #define KPD_NUM (0x31 << 16) [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 87s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 87s] from vibrator_sc2723.c:3: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 87s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 87s] ^ [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 87s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 87s] ^ [ 87s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 87s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 87s] from vibrator_sc2723.c:6: [ 87s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 87s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 87s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from vibrator_sc2723.c:3: [ 88s] /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 [ 88s] #define ADC_BASE 0x40038300 //Aux ADC [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 88s] from vibrator_sc2723.c:6: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 88s] from vibrator_sc2723.c:6: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 88s] ^ [ 88s] In file included from vibrator_sc2723.c:6:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 88s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 88s] from vibrator_sc2723.c:6: [ 88s] /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 [ 88s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o otp-helper.o otp-helper.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from cmd_pcmcia.c:56: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o cmd_source.o cmd_source.c -c [ 88s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from rpx_pcmcia.c:4: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from otp-helper.c:21: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o tqm8xx_pcmcia.o tqm8xx_pcmcia.c -c [ 88s] make -C drivers/sound/dai/ [ 88s] otp-helper.c: In function 'efuse_prog': [ 88s] otp-helper.c:44:2: warning: implicit declaration of function '__ddie_efuse_prog' [-Wimplicit-function-declaration] [ 88s] return __ddie_efuse_prog(blk_index,val); [ 88s] ^ [ 88s] otp-helper.c: In function 'sci_efuse_calibration_get': [ 88s] otp-helper.c:56:9: warning: implicit declaration of function '__adie_efuse_read' [-Wimplicit-function-declaration] [ 88s] adc_temp = (__adie_efuse_read(0) & (1 << 7)); [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o sprd_battery.o sprd_battery.c -c [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o efuse.o efuse.c -c [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o date.o date.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from cmd_source.c:34: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from tqm8xx_pcmcia.c:5: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 88s] ld -r -o libpcmcia.o rpx_pcmcia.o tqm8xx_pcmcia.o [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from sprd_battery.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from efuse.c:43: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 88s] from sprd_battery.c:4: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 88s] from sprd_battery.c:4: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 88s] ^ [ 88s] In file included from sprd_battery.c:4:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 88s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 88s] from sprd_battery.c:4: [ 88s] /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 [ 88s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 88s] from sprd_battery.c:5: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 88s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from sprd_battery.c:1:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 88s] #define MAX(x, y) max(x, y) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 88s] from sprd_battery.c:5: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 88s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from sprd_battery.c:1:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 88s] #define MIN(x, y) min(x, y) [ 88s] ^ [ 88s] sprd_battery.c:232:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] unsigned int get_fgu_vol() { [ 88s] ^ [ 88s] sprd_battery.c:236:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] unsigned int get_fgu_cur() { [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from date.c:28: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 88s] from efuse.c:48: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 88s] from efuse.c:48: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 88s] ^ [ 88s] ld -r -o librtc.o date.o [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o cmd_version.o cmd_version.c -c [ 88s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 88s] make -C drivers/sound/ [ 88s] ld -r -o libpower.o sprd_battery.o [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o ana_efuse.o ana_efuse.c -c [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o serial_sc8800x.o serial_sc8800x.c -c [ 88s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o cmd_ximg.o cmd_ximg.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from cmd_version.c:24: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 88s] make -C drivers/spi/ [ 88s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o watchdog.o watchdog.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from ana_efuse.c:20: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from serial_sc8800x.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 88s] from ana_efuse.c:25: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 88s] from ana_efuse.c:25: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 88s] ^ [ 88s] ana_efuse.c:85:13: warning: 'adie_efuse_reset' defined but not used [-Wunused-function] [ 88s] static void adie_efuse_reset(void) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 88s] from serial_sc8800x.c:6: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 88s] #define KPD_NUM (0x31 << 16) [ 88s] ^ [ 88s] /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 [ 88s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from serial_sc8800x.c:6: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 88s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 88s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 88s] from serial_sc8800x.c:7: [ 88s] /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] [ 88s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:5:0, [ 88s] from serial_sc8800x.c:7: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 88s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:2:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 88s] #define MAX(x, y) max(x, y) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:5:0, [ 88s] from serial_sc8800x.c:7: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 88s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:2:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 88s] #define MIN(x, y) min(x, y) [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:42:0: warning: "BIT_0" redefined [ 88s] #define BIT_0 0x00000001 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from cmd_ximg.c:31: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_0 0x01 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:43:0: warning: "BIT_1" redefined [ 88s] #define BIT_1 0x00000002 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_1 0x02 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:44:0: warning: "BIT_2" redefined [ 88s] #define BIT_2 0x00000004 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_2 0x04 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:45:0: warning: "BIT_3" redefined [ 88s] #define BIT_3 0x00000008 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_3 0x08 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:46:0: warning: "BIT_4" redefined [ 88s] #define BIT_4 0x00000010 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_4 0x10 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:47:0: warning: "BIT_5" redefined [ 88s] #define BIT_5 0x00000020 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_5 0x20 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:48:0: warning: "BIT_6" redefined [ 88s] #define BIT_6 0x00000040 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_6 0x40 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:49:0: warning: "BIT_7" redefined [ 88s] #define BIT_7 0x00000080 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_7 0x80 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:50:0: warning: "BIT_8" redefined [ 88s] #define BIT_8 0x00000100 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_8 0x0100 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:51:0: warning: "BIT_9" redefined [ 88s] #define BIT_9 0x00000200 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_9 0x0200 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:52:0: warning: "BIT_10" redefined [ 88s] #define BIT_10 0x00000400 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_10 0x0400 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:53:0: warning: "BIT_11" redefined [ 88s] #define BIT_11 0x00000800 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/i[ 76.977373] serial8250: too much work for irq4 [ 88s] nclude/asm/arch/bits.h:21:0: note: this is the location of the previous definition [ 88s] #define BIT_11 0x0800 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:54:0: warning: "BIT_12" redefined [ 88s] #define BIT_12 0x00001000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_12 0x1000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:55:0: warning: "BIT_13" redefined [ 88s] #define BIT_13 0x00002000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_13 0x2000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:56:0: warning: "BIT_14" redefined [ 88s] #define BIT_14 0x00004000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_14 0x4000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:57:0: warning: "BIT_15" redefined [ 88s] #define BIT_15 0x00008000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_15 0x8000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:58:0: warning: "BIT_16" redefined [ 88s] #define BIT_16 0x00010000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_16 0x010000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:59:0: warning: "BIT_17" redefined [ 88s] #define BIT_17 0x00020000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_17 0x020000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:60:0: warning: "BIT_18" redefined [ 88s] #define BIT_18 0x00040000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_18 0x040000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:61:0: warning: "BIT_19" redefined [ 88s] #define BIT_19 0x00080000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_19 0x080000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:62:0: warning: "BIT_20" redefined [ 88s] #define BIT_20 0x00100000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_20 0x100000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:63:0: warning: "BIT_21" redefined [ 88s] #define BIT_21 0x00200000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_21 0x200000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:64:0: warning: "BIT_22" redefined [ 88s] #define BIT_22 0x00400000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_22 0x400000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:10:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:65:0: warning: "BIT_23" redefined [ 88s] #define BIT_23 0x00800000 [ 88s] ^ [ 88s] In file included from serial_sc8800x.c:4:0: [ 88s] /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 [ 88s] #define BIT_23 0x800000 [ 88s] ^ [ 88s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o command.o command.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from watchdog.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 88s] from watchdog.c:3: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 88s] #define KPD_NUM (0x31 << 16) [ 88s] ^ [ 88s] /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 [ 88s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from watchdog.c:3: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 88s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 88s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 88s] ^ [ 88s] watchdog.c: In function 'start_watchdog': [ 88s] watchdog.c:9:2: warning: implicit declaration of function 'WDG_ClockOn' [-Wimplicit-function-declaration] [ 88s] WDG_ClockOn(); [ 88s] ^ [ 88s] watchdog.c:10:5: warning: implicit declaration of function 'WDG_ResetMCU' [-Wimplicit-function-declaration] [ 88s] WDG_ResetMCU(); [ 88s] ^ [ 88s] watchdog.c: In function 'stop_watchdog': [ 88s] watchdog.c:15:5: warning: implicit declaration of function 'WDG_TimerStop' [-Wimplicit-function-declaration] [ 88s] WDG_TimerStop(); [ 88s] ^ [ 88s] watchdog.c: In function 'init_watchdog': [ 88s] watchdog.c:21:5: warning: implicit declaration of function 'WDG_Time[ 77.012930] serial8250: too much work for irq4 [ 88s] rInit' [-Wimplicit-function-declaration] [ 88s] WDG_TimerInit(); [ 88s] ^ [ 88s] watchdog.c: In function 'load_watchdog': [ 88s] watchdog.c:30:5: warning: implicit declaration of function 'WDG_TimerLoad' [-Wimplicit-function-declaration] [ 88s] WDG_TimerLoad(time_ms); [ 88s] ^ [ 88s] watchdog.c: In function 'hw_watchdog_rst_pending': [ 88s] watchdog.c:41:2: warning: implicit declaration of function 'WDG_PHY_RST_INT_ON' [-Wimplicit-function-declaration] [ 88s] return WDG_PHY_RST_INT_ON(); [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o watchdog_phy_v3.o watchdog_phy_v3.c -c [ 88s] ld -r -o libserial.o serial_sc8800x.o [ 88s] make -C drivers/twserial/ [ 88s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o watchdog_hal.o watchdog_hal.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from command.c:28: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/os_api.h:12, [ 88s] from watchdog_phy_v3.c:19: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from watchdog_phy_v3.c:20: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 88s] #define KPD_NUM (0x31 << 16) [ 88s] ^ [ 88s] /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 [ 88s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from watchdog_phy_v3.c:20: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 88s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 88s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 88s] from watchdog_phy_v3.c:23: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 88s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from watchdog_phy_v3.c:20: [ 88s] /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 [ 88s] #define ADC_BASE 0x40038300 //Aux ADC [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 88s] from watchdog_phy_v3.c:23: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 88s] from watchdog_phy_v3.c:23: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 88s] ^ [ 88s] In file included from watchdog_phy_v3.c:23:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 88s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from watchdog_phy_v3.c:20: [ 88s] /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 [ 88s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 88s] ^ [ 88s] watchdog_phy_v3.c:40:67: warning: backslash and newline separated by space [ 88s] ANA_REG_SET( WDG_LOAD_LOW , (uint16)((value) & 0xffff) );\ [ 88s] ^ [ 88s] watchdog_phy_v3.c: In function 'WDG_PHY_CONFIG': [ 88s] watchdog_phy_v3.c:103:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 88s] WDG_TRACE ("Watch Dog Trace: Watch Dog Control 0x%8.8x", ANA_REG_GET (WDG_CTRL)); [ 88s] ^ [ 88s] watchdog_phy_v3.c:65:12: warning: unused variable 'val' [-Wunused-variable] [ 88s] uint32 val = 0; [ 88s] ^ [ 88s] watchdog_phy_v3.c:64:12: warning: unused variable 'ctrl' [-Wunused-variable] [ 88s] uint32 ctrl = 0; [ 88s] ^ [ 88s] rm -f libdai.o; ar rcs libdai.o [ 88s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 88s] rm -f libcodec.o; ar rcs libcodec.o [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o console.o console.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 88s] from watchdog_hal.c:22: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from watchdog_hal.c:23: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 88s] #define KPD_NUM (0x31 << 16) [ 88s] ^ [ 88s] /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 [ 88s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from watchdog_hal.c:23: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 88s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 88s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 88s] from watchdog_hal.c:28: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 88s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from watchdog_hal.c:23: [ 88s] /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 [ 88s] #define ADC_BASE 0x40038300 //Aux ADC [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 88s] from watchdog_hal.c:28: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 88s] from watchdog_hal.c:28: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 88s] ^ [ 88s] In file included from watchdog_hal.c:28:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 88s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from watchdog_hal.c:23: [ 88s] /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 [ 88s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 88s] ^ [ 88s] watchdog_hal.c: In function 'WDG_TimerStop': [ 88s] watchdog_hal.c:49:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 88s] WDG_TRACE ("Watch Dog Trace: WDG_TimerStop"); [ 88s] ^ [ 88s] watchdog_hal.c:47:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 88s] int32 ret; [ 88s] ^ [ 88s] watchdog_hal.c: In function 'WDG_TimerStart': [ 88s] watchdog_hal.c:73:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 88s] int32 ret; [ 88s] ^ [ 88s] watchdog_hal.c: In function 'WDG_TimerInit': [ 88s] watchdog_hal.c:104:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 88s] int32 ret; [ 88s] ^ [ 88s] watchdog_hal.c:103:18: warning: unused variable 'status' [-Wunused-variable] [ 88s] uint32 status; [ 88s] ^ [ 88s] watchdog_hal.c: In function 'WDG_ResetMCU': [ 88s] watchdog_hal.c:123:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 88s] int32 ret; [ 88s] ^ [ 88s] watchdog_hal.c: In function 'WDG_TimerLoad': [ 88s] watchdog_hal.c:141:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 88s] int32 ret; [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o chip_cfg.o chip_cfg.c -c [ 88s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 88s] make -C drivers/usb/gadget/dwc_otg/ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o dlmalloc.o dlmalloc.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from console.c:24: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 88s] console.c: In function 'ram_puts': [ 88s] console.c:210:4: warning: assignment from incompatible pointer type [ 88s] p = (unsigned char*)CONFIG_RAM_CONSOLE_START + used_size; [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o chip_x30g/chip_phy_x30g.o chip_x30g/chip_phy_x30g.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 88s] from chip_cfg.c:21: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] rm -f libsound.o; ar rcs libsound.o [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from chip_cfg.c:23: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 88s] #define KPD_NUM (0x31 << 16) [ 88s] ^ [ 88s] /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 [ 88s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from chip_cfg.c:23: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 88s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 88s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from dlmalloc.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o env_common.o env_common.c -c [ 88s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:23, [ 88s] from chip_x30g/chip_phy_x30g.c:22: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from chip_x30g/chip_phy_x30g.c:22: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 88s] #define KPD_NUM (0x31 << 16) [ 88s] ^ [ 88s] /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 [ 88s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from chip_x30g/chip_phy_x30g.c:22: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 88s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 88s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 88s] from chip_x30g/chip_phy_x30g.c:25: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 88s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 88s] from chip_x30g/chip_phy_x30g.c:22: [ 88s] /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 [ 88s] #define ADC_BASE 0x40038300 //Aux ADC [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 88s] from chip_x30g/chip_phy_x30g.c:25: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 88s] from chip_x30g/chip_phy_x30g.c:25: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 88s] ^ [ 88s] In file included from chip_x30g/chip_phy_x30g.c:26:0: [ 88s] /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] [ 88s] PUBLIC void BOOT_ResetHWFlag (); [ 88s] ^ [ 88s] In file included from chip_x30g/chip_phy_x30g.c:27:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 88s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 88s] from chip_x30g/chip_phy_x30g.c:25: [ 88s] /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 [ 88s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 88s] ^ [ 88s] chip_x30g/chip_phy_x30g.c:203:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] PUBLIC void CHIP_PHY_BootIramEn () [ 88s] ^ [ 88s] chip_x30g/chip_phy_x30g.c:236:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] PUBLIC BOOLEAN CHIP_PHY_IsResetByPowerUp() [ 88s] ^ [ 88s] chip_x30g/chip_phy_x30g.c:255:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] PUBLIC BOOLEAN CHIP_PHY_IsResetByWatchDog() [ 88s] ^ [ 88s] chip_x30g/chip_phy_x30g.c: In function 'TDPllRefConfig': [ 88s] chip_x30g/chip_phy_x30g.c:297:5: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 88s] udelay(1); [ 88s] ^ [ 88s] chip_x30g/chip_phy_x30g.c: In function 'dcdc_core_ds_config': [ 88s] chip_x30g/chip_phy_x30g.c:721:16: warning: unused variable 'reg_val' [-Wunused-variable] [ 88s] uint32 reg_val = 0; [ 88s] ^ [ 88s] chip_x30g/chip_phy_x30g.c:720:16: warning: unused variable 'dcdc_core_ctl_adi' [-Wunused-variable] [ 88s] uint32 dcdc_core_ctl_adi = 0; [ 88s] ^ [ 88s] chip_x30g/chip_phy_x30g.c: At top level: [ 88s] chip_x30g/chip_phy_x30g.c:846:2: warning: missing braces around initializer [-Wmissing-braces] [ 88s] 0x402b006c, [ 88s] ^ [ 88s] chip_x30g/chip_phy_x30g.c:846:2: warning: (near initialization for 'lp_cfg.reg') [-Wmissing-braces] [ 88s] chip_x30g/chip_phy_x30g.c: In function 'setup_ap_cp_sync_sleep_code': [ 88s] chip_x30g/chip_phy_x30g.c:868:16: warning: unused variable 'sa' [-Wunused-variable] [ 88s] unsigned int *sa = (unsigned int*)start_addr; [ 88s] ^ [ 88s] chip_x30g/chip_phy_x30g.c: In function 'CSP_Init': [ 88s] chip_x30g/chip_phy_x30g.c:888:2: warning: implicit declaration of function 'calibrate_register_callback' [-Wimplicit-function-declaration] [ 88s] calibrate_register_callback((void*)dcdc_core_ds_config); [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o env_nowhere.o env_nowhere.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from env_common.c:27: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location[ 77.313052] serial8250: too much work for irq4 [ 88s] of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o sprd_spi.o sprd_spi.c -c [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o Tshark_boot_cp.o Tshark_boot_cp.c -c [ 88s] make -C drivers/usb/gadget/ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o exports.o exports.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from env_nowhere.c:27: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 88s] from sprd_spi.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from sprd_spi.c:4:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 88s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 88s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 88s] ^ [ 88s] In file included from sprd_spi.c:7:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_spi.h:217:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] PUBLIC void SPI_WaitTxFinish(); [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_Reset': [ 88s] sprd_spi.c:94:9: warning: unused variable 'i' [-Wunused-variable] [ 88s] uint32 i = 0; [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_SetCsLow': [ 88s] sprd_spi.c:153:9: warning: unused variable 'temp' [-Wunused-variable] [ 88s] uint32 temp; [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_Init': [ 88s] sprd_spi.c:335:27: warning: unused variable 'ctl3' [-Wunused-variable] [ 88s] uint32 ctl0, ctl1, ctl2, ctl3; [ 88s] ^ [ 88s] sprd_spi.c:335:21: warning: unused variable 'ctl2' [-Wunused-variable] [ 88s] uint32 ctl0, ctl1, ctl2, ctl3; [ 88s] ^ [ 88s] sprd_spi.c:335:15: warning: unused variable 'ctl1' [-Wunused-variable] [ 88s] uint32 ctl0, ctl1, ctl2, ctl3; [ 88s] ^ [ 88s] sprd_spi.c:335:9: warning: unused variable 'ctl0' [-Wunused-variable] [ 88s] uint32 ctl0, ctl1, ctl2, ctl3; [ 88s] ^ [ 88s] sprd_spi.c: At top level: [ 88s] sprd_spi.c:366:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] PUBLIC void SPI_WaitTxFinish() [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_WaitTxFinish': [ 88s] sprd_spi.c:370:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] [ 88s] while( !(spi_ctr_ptr->iraw)&BIT_8 ) // IS tx finish [ 88s] ^ [ 88s] sprd_spi.c: In function 'SPI_WriteData': [ 88s] sprd_spi.c:387:9: warning: unused variable 'command' [-Wunused-variable] [ 88s] uint32 command; [ 88s] ^ [ 88s] sprd_spi.c: At top level: [ 88s] sprd_spi.c:120:12: warning: 'SPI_PinConfig' defined but not used [-Wunused-function] [ 88s] LOCAL void SPI_PinConfig(void) [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o misc.o misc.c -c [ 88s] rm -f libtws.o; ar rcs libtws.o [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 88s] from Tshark_boot_cp.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from exports.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] ld -r -o libspi.o sprd_spi.o [ 88s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 88s] make -C drivers/usb/host/ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 88s] from Tshark_boot_cp.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 88s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 88s] from Tshark_boot_cp.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 88s] #define MAX(x, y) max(x, y) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 88s] from Tshark_boot_cp.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 88s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 88s] from Tshark_boot_cp.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 88s] #define MIN(x, y) min(x, y) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 88s] from Tshark_boot_cp.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 88s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 88s] ^ [ 88s] /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 [ 88s] #define VLR_INFO_OFF (512) [ 88s] ^ [ 88s] In file included from Tshark_boot_cp.c:1:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 88s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 88s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 88s] ^ [ 88s] In file included from Tshark_boot_cp.c:1:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] int read_spldata(); [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] void vlx_entry(); [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 88s] from Tshark_boot_cp.c:1: [ 88s] Tshark_boot_cp.c: In function 'boot_cp0': [ 88s] /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 [ 88s] #define CP0_CODE_COPY_ADR 0x50000000 [ 88s] ^ [ 88s] Tshark_boot_cp.c:9:9: note: in expansion of macro 'CP0_CODE_COPY_ADR' [ 88s] memcpy(CP0_CODE_COPY_ADR, m_data, sizeof(m_data)); /* copy cp0 source code */ [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 88s] from Tshark_boot_cp.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 88s] void* memcpy(void*, const void*, size_t); [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 88s] from Tshark_boot_cp.c:1: [ 88s] Tshark_boot_cp.c: In function 'boot_cp2': [ 88s] /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 [ 88s] #define CP2_CODE_COPY_ADR 0x50003000 [ 88s] ^ [ 88s] Tshark_boot_cp.c:35:9: note: in expansion of macro 'CP2_CODE_COPY_ADR' [ 88s] memcpy(CP2_CODE_COPY_ADR, wcndata, sizeof(wcndata)); /* copy cp2 source code */ [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 88s] from Tshark_boot_cp.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 88s] void* memcpy(void*, const void*, size_t); [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o fdt_support.o fdt_support.c -c [ 88s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o dcdc_cal_sc2723.o dcdc_cal_sc2723.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from misc.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 88s] from misc.c:3: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 88s] from misc.c:3: [ 88s] /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 [ 88s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 88s] ^ [ 88s] In file included from misc.c:4:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 88s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from misc.c:1:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 88s] #define MAX(x, y) max(x, y) [ 88s] ^ [ 88s] In file included from misc.c:4:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 88s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from misc.c:1:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 88s] #define MIN(x, y) min(x, y) [ 88s] ^ [ 88s] misc.c:23:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] int sprd_jtag_enable() [ 88s] ^ [ 88s] misc.c:38:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] int sprd_jtag_disable() [ 88s] ^ [ 88s] misc.c:54:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] static void ap_slp_cp_dbg_cfg() [ 88s] ^ [ 88s] misc.c:59:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] static void ap_cpll_rel_cfg() [ 88s] ^ [ 88s] misc.c:64:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] static void bb_bg_auto_en() [ 88s] ^ [ 88s] misc.c:70:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] static void ap_close_wpll_en() [ 88s] ^ [ 88s] misc.c:75:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] static void ap_close_cpll_en() [ 88s] ^ [ 88s] misc.c:80:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] static void ap_close_wifipll_en() [ 88s] ^ [ 88s] misc.c:86:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] static void bb_ldo_auto_en() [ 88s] ^ [ 88s] misc.c: In function 'pmic_init': [ 88s] misc.c:410:6: warning: unused variable 'val' [-Wunused-variable] [ 88s] u32 val; [ 88s] ^ [ 88s] misc.c: At top level: [ 88s] misc.c:446:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] void gpu_clk_auto_gate_disable() [ 88s] ^ [ 88s] misc.c:451:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 88s] void misc_init() [ 88s] ^ [ 88s] misc.c: In function 'misc_init': [ 88s] misc.c:477:2: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 88s] __raw_bits_or((BIT_CSI1_PHY_PD | BIT_CSI0_PHY_PD), REG_AON_APB_PWR_CTRL); [ 88s] ^ [ 88s] misc.c: In function 'get_dram_cs_number': [ 88s] misc.c:493:31: warning: initialization makes pointer from integer without a cast [ 88s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 88s] ^ [ 88s] misc.c: In function 'get_dram_cs0_size': [ 88s] misc.c:498:31: warning: initialization makes pointer from integer without a cast [ 88s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 88s] ^ [ 88s] misc.c: At top level: [ 88s] misc.c:64:13: warning: 'bb_bg_auto_en' defined but not used [-Wunused-function] [ 88s] static void bb_bg_auto_en() [ 88s] ^ [ 88s] misc.c:70:13: warning: 'ap_close_wpll_en' defined but not used [-Wunused-function] [ 88s] static void ap_close_wpll_en() [ 88s] ^ [ 88s] misc.c:75:13: warning: 'ap_close_cpll_en' defined but not used [-Wunused-function] [ 88s] static void ap_close_cpll_en() [ 88s] ^ [ 88s] misc.c:80:13: warning: 'ap_close_wifipll_en' defined but not used [-Wunused-function] [ 88s] static void ap_close_wifipll_en() [ 88s] ^ [ 88s] misc.c:86:13: warning: 'bb_ldo_auto_en' defined but not used [-Wunused-function] [ 88s] static void bb_ldo_auto_en() [ 88s] ^ [ 88s] make -C drivers/usb/musb/ [ 88s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from dcdc_cal_sc2723.c:1: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 88s] -o flash.o flash.c -c [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 88s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 88s] from fdt_support.c:26: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 88s] #define CONFIG_MMC 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 88s] #define CONFIG_MMC [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 88s] #define CONFIG_EFI_PARTITION 1 [ 88s] ^ [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 88s] #define CONFIG_EFI_PARTITION [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 88s] from dcdc_cal_sc2723.c:4: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 88s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from dcdc_cal_sc2723.c:1:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 88s] #define MAX(x, y) max(x, y) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 88s] from dcdc_cal_sc2723.c:4: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 88s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 88s] ^ [ 88s] In file included from dcdc_cal_sc2723.c:1:0: [ 88s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 88s] #define MIN(x, y) min(x, y) [ 88s] ^ [ 88s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 88s] from dcdc_cal_sc2723.c:5: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 89s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 89s] from dcdc_cal_sc2723.c:5: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 89s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 89s] ^ [ 89s] dcdc_cal_sc2723.c:789:27: warning: initialization makes pointer from integer without a cast [ 89s] vol_para_t **ppvol_para = 0x50003C20; [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 89s] from fdt_support.c:35: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 89s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 89s] ^ [ 89s] In file included from fdt_support.c:26:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 89s] #define MAX(x, y) max(x, y) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 89s] from fdt_support.c:35: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 89s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 89s] ^ [ 89s] In file included from fdt_support.c:26:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 89s] #define MIN(x, y) min(x, y) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 89s] from fdt_support.c:35: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 89s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 89s] ^ [ 89s] /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 [ 89s] #define VLR_INFO_OFF (512) [ 89s] ^ [ 89s] In file included from fdt_support.c:35:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 89s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 89s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 89s] ^ [ 89s] In file included from fdt_support.c:35:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 89s] int read_spldata(); [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 89s] void vlx_entry(); [ 89s] ^ [ 89s] fdt_support.c: In function 'fdt_initrd_norsvmem': [ 89s] fdt_support.c:222:17: warning: unused variable 'size' [-Wunused-variable] [ 89s] uint64_t addr, size; [ 89s] ^ [ 89s] fdt_support.c:222:11: warning: unused variable 'addr' [-Wunused-variable] [ 89s] uint64_t addr, size; [ 89s] ^ [ 89s] fdt_support.c: In function 'fdt_chosen_bootargs_replace': [ 89s] fdt_support.c:376:13: warning: assignment discards 'const' qualifier from pointer target type [ 89s] src = path; [ 89s] ^ [ 89s] fdt_support.c: In function 'fdt_fixup_lcdid': [ 89s] fdt_support.c:471:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 89s] extern uint32_t load_lcd_id_to_kernel(); [ 89s] ^ [ 89s] fdt_support.c: In function 'fdt_fixup_lcdbase': [ 89s] fdt_support.c:501:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] [ 89s] sprintf(&buf[str_len], "%x",lcd_base); [ 89s] ^ [ 89s] fdt_support.c: In function 'fdt_fixup_adc_calibration_data': [ 89s] fdt_support.c:628:41: warning: passing argument 1 of 'read_adc_calibration_data' from incompatible pointer type [ 89s] int ret = read_adc_calibration_data(adc_data,48); [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18:0, [ 89s] from fdt_support.c:35: [ 89s] /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 *' [ 89s] int read_adc_calibration_data(char *buffer,int size); [ 89s] ^ [ 89s] fdt_support.c:634:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 89s] int ret; [ 89s] ^ [ 89s] fdt_support.c: In function 'fdt_fixup_chosen_bootargs_board_private': [ 89s] fdt_support.c:732:2: warning: implicit declaration of function 'poweron_by_calibration' [-Wimplicit-function-declaration] [ 89s] fdt_fixup_chosen_bootargs_board(buf, boot_mode, poweron_by_calibration()); [ 89s] ^ [ 89s] fdt_support.c: In function 'fdt_debug_print_prop': [ 89s] fdt_support.c:1687:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 89s] printf("fdt addr: 0x%x\n", fdt); [ 89s] ^ [ 89s] fdt_support.c:1683:8: warning: unused variable 'strargs' [-Wunused-variable] [ 89s] char *strargs; [ 89s] ^ [ 89s] make -C drivers/usb/phy/ [ 89s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from flash.c:26: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o idh_layout.o idh_layout.c -c [ 89s] {standard input}: Assembler messages: [ 89s] {standard input}:3136: Warning: setting incorrect section attributes for .rodata.regu.init1 [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from idh_layout.c:1: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] 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 [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] idh_layout.c: In function 'create_mtdpart_buffer': [ 89s] idh_layout.c:54:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 89s] while (strcmp(mtd_partition_cfg[i].name, "cache") != 0) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 89s] from idh_layout.c:1: [ 89s] /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 *' [ 89s] extern int strcmp(const char *,const char *); [ 89s] ^ [ 89s] idh_layout.c:64:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 89s] while (strcmp(mtd_partition_cfg[i].name, "userdata") != 0) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 89s] from idh_layout.c:1: [ 89s] /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 *' [ 89s] extern int strcmp(const char *,const char *); [ 89s] ^ [ 89s] idh_layout.c:79:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 89s] sprintf(mtdpartbuffer, "mtdparts=sprd-nand:"); [ 89s] ^ [ 89s] In file included from idh_layout.c:1:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 89s] int sprintf(char * buf, const char *fmt, ...) [ 89s] ^ [ 89s] idh_layout.c:80:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 89s] str_len = strlen(mtdpartbuffer); [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 89s] from idh_layout.c:1: [ 89s] /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 *' [ 89s] extern __kernel_size_t strlen(const char *); [ 89s] ^ [ 89s] idh_layout.c:83:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 89s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 89s] ^ [ 89s] In file included from idh_layout.c:1:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 89s] int sprintf(char * buf, const char *fmt, ...) [ 89s] ^ [ 89s] idh_layout.c:83:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 89s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 89s] ^ [ 89s] idh_layout.c:84:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 89s] str_len = strlen(mtdpartbuffer); [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 89s] from idh_layout.c:1: [ 89s] /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 *' [ 89s] extern __kernel_size_t strlen(const char *); [ 89s] ^ [ 89s] idh_layout.c:87:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 89s] str_len = strlen(mtdpartbuffer); [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 89s] from idh_layout.c:1: [ 89s] /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 *' [ 89s] extern __kernel_size_t strlen(const char *); [ 89s] ^ [ 89s] idh_layout.c: At top level: [ 89s] idh_layout.c:22:22: warning: 'nandsize' defined but not used [-Wunused-variable] [ 89s] static unsigned long nandsize = 0; [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o image.o image.c -c [ 89s] a - mmu_asm.o [ 89s] a - generic.o [ 89s] a - timer.o [ 89s] a - reset.o [ 89s] a - ldo.o [ 89s] a - mfp_sprd.o [ 89s] a - mmu.o [ 89s] a - adc.o [ 89s] a - rtc-sprd.o [ 89s] a - sec_boot.o [ 89s] a - glb.o [ 89s] a - adi.o [ 89s] a - gpio.o [ 89s] a - gpio_phy.o [ 89s] a - clock.o [ 89s] a - clock_test.o [ 89s] a - check_reboot.o [ 89s] a - eic.o [ 89s] a - vibrator_sc2723.o [ 89s] a - otp-helper.o [ 89s] a - efuse.o [ 89s] a - ana_efuse.o [ 89s] a - watchdog.o [ 89s] a - watchdog_phy_v3.o [ 89s] a - watchdog_hal.o [ 89s] a - chip_cfg.o [ 89s] a - chip_x30g/chip_phy_x30g.o [ 89s] a - Tshark_boot_cp.o [ 89s] a - misc.o [ 89s] a - dcdc_cal_sc2723.o [ 89s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 89s] make -C drivers/video/ [ 89s] rm -f libusb_host.o; ar rcs libusb_host.o [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o lcd.o lcd.c -c [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from image.c:27: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o main.o main.c -c [ 89s] rm -f libusb_musb.o; ar rcs libusb_musb.o [ 89s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from lcd.c:31: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] In file included from lcd.c:65:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) sp_palette[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:26:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) sp_bitmap[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:791:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned int __attribute__((packed, aligned(4))) sp_num_bitmap[] = { [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o epautoconf.o epautoconf.c -c [ 89s] In file included from lcd.c:66:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) thor_palette[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:44:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) thor_bitmap[] = { [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from main.c:30: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from dwc_otg_driver.c:57: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o memsize.o memsize.c -c [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:2908:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned int __attribute__((packed, aligned(4))) thor_num_bitmap[] = { [ 89s] ^ [ 89s] rm -f libusb_phy.o; ar rcs libusb_phy.o [ 89s] dwc_otg_driver.c: In function 'dwc_otg_driver_remove': [ 89s] dwc_otg_driver.c:548:3: warning: implicit declaration of function 'pcd_remove' [-Wimplicit-function-declaration] [ 89s] pcd_remove(dwc_otg_device); [ 89s] ^ [ 89s] dwc_otg_driver.c: In function 'dwc_otg_driver_probe': [ 89s] dwc_otg_driver.c:626:23: warning: assignment makes pointer from integer without a cast [ 89s] dwc_otg_device->base = USB_PHYS; [ 89s] ^ [ 89s] dwc_otg_driver.c:606:6: warning: unused variable 'irq' [-Wunused-variable] [ 89s] int irq; [ 89s] ^ [ 89s] dwc_otg_driver.c: In function 'dwc_otg_driver_init': [ 89s] dwc_otg_driver.c:793:6: warning: unused variable 'error' [-Wunused-variable] [ 89s] int error; [ 89s] ^ [ 89s] In file included from lcd.c:67:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) charge_palette[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) charge_bitmap[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:381:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned int __attribute__((packed, aligned(4))) charge_num_bitmap[] = { [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o config.o config.c -c [ 89s] In file included from lcd.c:68:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) prog_start_palette[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:13:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) prog_start_bitmap[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned int __attribute__((packed, aligned(4))) prog_start_num_bitmap[] = { [ 89s] ^ [ 89s] In file included from lcd.c:69:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) prog_mid_palette[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) prog_mid_bitmap[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:10:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned int __attribute__((packed, aligned(4))) prog_mid_num_bitmap[] = { [ 89s] ^ [ 89s] In file included from lcd.c:70:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) prog_end_palette[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:12:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned short __attribute__((packed, aligned(4))) prog_end_bitmap[] = { [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 89s] unsigned int __attribute__((packed, aligned(4))) prog_end_num_bitmap[] = { [ 89s] ^ [ 89s] lcd.c: In function 'lcd_drawchars': [ 89s] lcd.c:224:9: warning: variable 'off' set but not used [-Wunused-but-set-variable] [ 89s] ushort off, row; [ 89s] ^ [ 89s] lcd.c: In function '_draw_image': [ 89s] lcd.c:510:15: warning: unused variable 'tmp' [-Wunused-variable] [ 89s] unsigned int tmp; [ 89s] ^ [ 89s] lcd.c: In function 'bitmap_plot': [ 89s] lcd.c:677:3: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 89s] lcd_display(); [ 89s] ^ [ 89s] lcd.c:608:10: warning: unused variable 'fb16' [-Wunused-variable] [ 89s] ushort *fb16; [ 89s] ^ [ 89s] lcd.c:605:12: warning: unused variable 'j' [-Wunused-variable] [ 89s] ushort i, j; [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from epautoconf.c:24: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] lcd.c: In function 'lcd_display_bitmap': [ 89s] lcd.c:709:16: warning: variable 'compression' set but not used [-Wunused-but-set-variable] [ 89s] unsigned long compression; [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 [ 89s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o s_record.o s_record.c -c [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from memsize.c:24: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o usbstring.o usbstring.c -c [ 89s] make -C drivers/video/sprdfb/dsi_1_21a/ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from config.c:24: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from s_record.c:24: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from dwc_os.h:220, [ 89s] from dwc_otg_cil.c:60: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from usbstring.c:13: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 89s] dwc_otg_cil.c: In function 'calc_num_in_eps': [ 89s] dwc_otg_cil.c:436:11: warning: unused variable 'num_tx_fifos' [-Wunused-variable] [ 89s] uint32_t num_tx_fifos = core_if->hwcfg4.b.num_in_eps; [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o serial.o serial.c -c [ 89s] dwc_otg_cil.c: In function 'dwc_otg_ep0_continue_transfer': [ 89s] dwc_otg_cil.c:2886:19: warning: variable 'tx_status' set but not used [-Wunused-but-set-variable] [ 89s] gnptxsts_data_t tx_status = {.d32 = 0 }; [ 89s] ^ [ 89s] make -C drivers/video/sprdfb/lcd/ [ 89s] dwc_otg_cil.c: In function 'dwc_otg_dump_dev_registers': [ 89s] dwc_otg_cil.c:3257:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 89s] volatile uint32_t *addr; [ 89s] ^ [ 89s] dwc_otg_cil.c: In function 'dwc_otg_dump_host_registers': [ 89s] dwc_otg_cil.c:3414:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 89s] volatile uint32_t *addr; [ 89s] ^ [ 89s] dwc_otg_cil.c: In function 'dwc_otg_dump_global_registers': [ 89s] dwc_otg_cil.c:3471:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 89s] volatile uint32_t *addr; [ 89s] ^ [ 89s] dwc_otg_cil.c: In function 'dwc_otg_set_prtpower': [ 89s] dwc_otg_cil.c:5089:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 89s] hprt0_data_t hprt0; [ 89s] ^ [ 89s] dwc_otg_cil.c: In function 'dwc_otg_set_prtsuspend': [ 89s] dwc_otg_cil.c:5105:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 89s] hprt0_data_t hprt0; [ 89s] ^ [ 89s] dwc_otg_cil.c: In function 'dwc_otg_set_prtresume': [ 89s] dwc_otg_cil.c:5113:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 89s] hprt0_data_t hprt0; [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o stdio.o stdio.c -c [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from dwc_os.h:220, [ 89s] from dwc_otg_cil_intr.c:42: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] dwc_otg_cil_intr.c: In function 'dwc_otg_handle_usb_suspend_intr': [ 89s] dwc_otg_cil_intr.c:651:14: warning: variable 'dsts' set but not used [-Wunused-but-set-variable] [ 89s] dsts_data_t dsts; [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from serial.c:12: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 89s] rm -f libvideo.o; ar rcs libvideo.o [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from stdio.c:24: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] In file included from u_serial.h:15:0, [ 89s] from serial.c:25: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:379:0: warning: "pr_warning" redefined [ 89s] #define pr_warning(args...) [ 89s] ^ [ 89s] In file included from serial.c:13:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:243:0: note: this is the location of the previous definition [ 89s] #define pr_warning(fmt, ...) \ [ 89s] ^ [ 89s] In file included from u_serial.h:15:0, [ 89s] from serial.c:25: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:380:0: warning: "pr_debug" redefined [ 89s] #define pr_debug(args...) [ 89s] ^ [ 89s] In file included from serial.c:13:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 89s] #define pr_debug(fmt, ...) [ 89s] ^ [ 89s] In file included from serial.c:52:0: [ 89s] f_acm.c: In function 'acm_complete_set_line_coding': [ 89s] f_acm.c:270:28: warning: unused variable 'cdev' [-Wunused-variable] [ 89s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 89s] ^ [ 89s] f_acm.c: In function 'acm_disable': [ 89s] f_acm.c:421:28: warning: unused variable 'cdev' [-Wunused-variable] [ 89s] struct usb_composite_dev *cdev = f->config->cdev; [ 89s] ^ [ 89s] f_acm.c: In function 'acm_notify_serial_state': [ 89s] f_acm.c:488:28: warning: unused variable 'cdev' [-Wunused-variable] [ 89s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 89s] ^ [ 89s] In file included from serial.c:53:0: [ 89s] f_obex.c: In function 'obex_disable': [ 89s] f_obex.c:266:28: warning: unused variable 'cdev' [-Wunused-variable] [ 89s] struct usb_composite_dev *cdev = f->config->cdev; [ 89s] ^ [ 89s] f_obex.c: In function 'obex_connect': [ 89s] f_obex.c:277:28: warning: unused variable 'cdev' [-Wunused-variable] [ 89s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 89s] ^ [ 89s] f_obex.c: In function 'obex_disconnect': [ 89s] f_obex.c:292:28: warning: unused variable 'cdev' [-Wunused-variable] [ 89s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 89s] ^ [ 89s] In file included from serial.c:54:0: [ 89s] f_serial.c: In function 'gser_disable': [ 89s] f_serial.c:199:28: warning: unused variable 'cdev' [-Wunused-variable] [ 89s] struct usb_composite_dev *cdev = f->config->cdev; [ 89s] ^ [ 89s] In file included from serial.c:55:0: [ 89s] u_serial.c: In function 'gs_start_tx': [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from dwc_otg_pcd_linux.c:60: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] u_serial.c:369:9: warning: variable 'do_tty_wake' set but not used [-Wunused-but-set-variable] [ 89s] bool do_tty_wake = false; [ 89s] ^ [ 89s] u_serial.c: In function 'gs_read': [ 89s] u_serial.c:779:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [ 89s] memcpy(buf, packet, size); [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 89s] from serial.c:13: [ 89s] /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 *' [ 89s] void* memcpy(void*, const void*, size_t); [ 89s] ^ [ 89s] In file included from serial.c:55:0: [ 89s] u_serial.c:782:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [ 89s] memcpy(buf, packet, *count); [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 89s] from serial.c:13: [ 89s] /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 *' [ 89s] void* memcpy(void*, const void*, size_t); [ 89s] ^ [ 89s] In file included from serial.c:55:0: [ 89s] u_serial.c:788:1: warning: label 'recycle' defined but not used [-Wunused-label] [ 89s] recycle: [ 89s] ^ [ 89s] u_serial.c: In function 'gs_write': [ 89s] u_serial.c:808:45: warning: pointer targets in passing argument 2 of 'gs_buf_put' differ in signedness [-Wpointer-sign] [ 89s] count = gs_buf_put(&port->port_write_buf, buf, count); [ 89s] ^ [ 89s] u_serial.c:224:1: note: expected 'const char *' but argument is of type 'const unsigned char *' [ 89s] gs_buf_put(struct gs_buf *gb, const char *buf, unsigned count) [ 89s] ^ [ 89s] u_serial.c: In function 'gserial_connect': [ 89s] u_serial.c:1540:16: warning: unused variable 'flags' [-Wunused-variable] [ 89s] unsigned long flags; [ 89s] ^ [ 89s] u_serial.c: In function 'gserial_disconnect': [ 89s] u_serial.c:1614:16: warning: unused variable 'flags' [-Wunused-variable] [ 89s] unsigned long flags; [ 89s] ^ [ 89s] serial.c: At top level: [ 89s] serial.c:57:0: warning: "pr_warning" redefined [ 89s] #define pr_warning(args...) printf(##args) [ 89s] ^ [ 89s] In file included from u_serial.h:15:0, [ 89s] from serial.c:25: [ 89s] /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 [ 89s] #define pr_warning(args...) [ 89s] ^ [ 89s] In file included from serial.c:55:0: [ 89s] u_serial.c:1456:12: warning: 'gs_closed' defined but not used [-Wunused-function] [ 89s] static int gs_closed(struct gs_port *port) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 89s] from dwc_otg_pcd_linux.c:63: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 89s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 89s] ^ [ 89s] In file included from dwc_otg_pcd_linux.c:60:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 89s] #define MAX(x, y) max(x, y) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 89s] from dwc_otg_pcd_linux.c:63: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 89s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 89s] ^ [ 89s] In file included from dwc_otg_pcd_linux.c:60:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 89s] #define MIN(x, y) min(x, y) [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 89s] from dwc_otg_pcd_linux.c:525: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 89s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 89s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 89s] ^ [ 89s] In file included from dwc_otg_pcd_linux.c:527:0: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: warning: "GREG_BASE" redefined [ 89s] #define GREG_BASE 0x4B000000 [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 89s] from dwc_otg_pcd_linux.c:525: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: note: this is the location of the previous definition [ 89s] #define GREG_BASE CTL_BASE_GLB_REG [ 89s] ^ [ 89s] dwc_otg_pcd_linux.c: In function 'alloc_wrapper': [ 89s] dwc_otg_pcd_linux.c:1015:6: warning: unused variable 'retval' [-Wunused-variable] [ 89s] int retval; [ 89s] ^ [ 89s] dwc_otg_pcd_linux.c: In function 'pcd_init': [ 89s] dwc_otg_pcd_linux.c:1076:6: warning: unused variable 'irq' [-Wunused-variable] [ 89s] int irq; [ 89s] ^ [ 89s] dwc_otg_pcd_linux.c: In function 'pcd_remove': [ 89s] dwc_otg_pcd_linux.c:1128:17: warning: unused variable 'pcd' [-Wunused-variable] [ 89s] dwc_otg_pcd_t *pcd = otg_dev->pcd; [ 89s] ^ [ 89s] dwc_otg_pcd_linux.c: At top level: [ 89s] dwc_otg_pcd_linux.c:1002:13: warning: 'dwc_otg_pcd_gadget_release' defined but not used [-Wunused-function] [ 89s] static void dwc_otg_pcd_gadget_release(struct device *dev) [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 89s] -o xyzModem.o xyzModem.c -c [ 89s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_pcd.o dwc_otg_pcd.c [ 89s] make -C drivers/video/sprdfb/ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from xyzModem.c:57: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from dwc_os.h:220, [ 89s] from usb.h:44, [ 89s] from dwc_otg_pcd.h:37, [ 89s] from dwc_otg_pcd.c:51: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 89s] dwc_otg_pcd.c: In function 'start_xfer_tasklet_func': [ 89s] dwc_otg_pcd.c:1064:17: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 89s] depctl_data_t diepctl; [ 89s] ^ [ 89s] dwc_otg_pcd.c:1051:16: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 89s] depctl_data_t diepctl; [ 89s] ^ [ 89s] dwc_otg_pcd.c: In function 'dwc_otg_pcd_ep_queue': [ 89s] dwc_otg_pcd.c:1534:6: warning: unused variable 'prevented' [-Wunused-variable] [ 89s] int prevented = 0; [ 89s] ^ [ 89s] dwc_otg_pcd.c: At top level: [ 89s] dwc_otg_pcd.c:77:13: warning: 'dump_log' defined but not used [-Wunused-function] [ 89s] static void dump_log(unsigned char * buf, int len, int direction) [ 89s] ^ [ 89s] dwc_otg_pcd.c:996:13: warning: 'srp_timeout' defined but not used [-Wunused-function] [ 89s] static void srp_timeout(void *ptr) [ 89s] ^ [ 89s] dwc_otg_pcd.c:1045:13: warning: 'start_xfer_tasklet_func' defined but not used [-Wunused-function] [ 89s] static void start_xfer_tasklet_func(void *data) [ 89s] ^ [ 89s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -DDWC_LINUX -DDWC_DEVICE_ONLY -Dlinux -DDWC_HS_ELECT_TST -c -o dwc_otg_pcd_intr.o dwc_otg_pcd_intr.c [ 89s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 89s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 89s] from dwc_os.h:220, [ 89s] from usb.h:44, [ 89s] from dwc_otg_pcd.h:37, [ 89s] from dwc_otg_pcd_intr.c:34: [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 89s] #define CONFIG_MMC 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 89s] #define CONFIG_MMC [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 89s] #define CONFIG_EFI_PARTITION 1 [ 89s] ^ [ 89s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 89s] #define CONFIG_EFI_PARTITION [ 89s] ^ [ 89s] 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 [ 89s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_np_tx_fifo_empty_intr': [ 89s] dwc_otg_pcd_intr.c:456:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 89s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 89s] ^ [ 89s] dwc_otg_pcd_intr.c: In function 'write_empty_tx_fifo': [ 89s] dwc_otg_pcd_intr.c:520:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 90s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 90s] ^ [ 90s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_in_ep_intr': [ 90s] dwc_otg_pcd_intr.c:3290:13: warning: variable 'empty_msk' set but not used [-Wunused-but-set-variable] [ 90s] uint32_t empty_msk; [ 90s] ^ [ 90s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/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 [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o mipi_dsih_api.o mipi_dsih_api.c -c [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o lcd_s6e8aa5x01_mipi.o lcd_s6e8aa5x01_mipi.c -c [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from dwc_common_linux.c:4: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] make -C drivers/watchdog/ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from mipi_dsih_local.h:44, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20, [ 90s] from lcd_s6e8aa5x01_mipi.c:16: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:23:0, [ 90s] from lcd_s6e8aa5x01_mipi.c:16: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from lcd_s6e8aa5x01_mipi.c:16: [ 90s] /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 [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:23:0, [ 90s] from lcd_s6e8aa5x01_mipi.c:16: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from lcd_s6e8aa5x01_mipi.c:16: [ 90s] /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 [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from ../sprdfb_chip_common.h:19:0, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_api.h:40, [ 90s] from mipi_dsih_api.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_readid': [ 90s] lcd_s6e8aa5x01_mipi.c:134:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 90s] int32_t read_rtn = 0; [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_mtp': [ 90s] lcd_s6e8aa5x01_mipi.c:296:2: warning: implicit declaration of function 'save_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 90s] save_mtp_offset_to_kernel(mtp_offset); [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c:261:19: warning: unused variable 'mipi_dcs_write' [-Wunused-variable] [ 90s] mipi_dcs_write_t mipi_dcs_write = [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c:256:10: warning: unused variable 'size' [-Wunused-variable] [ 90s] int32_t size = 0; [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c:254:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 90s] int32_t read_rtn = 0; [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c:251:17: warning: unused variable 'g_para' [-Wunused-variable] [ 90s] LCM_Init_Code *g_para = NULL; [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_elvss': [ 90s] lcd_s6e8aa5x01_mipi.c:347:2: warning: implicit declaration of function 'save_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 90s] save_elvss_offset_to_kernel(elvss_offset); [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c:309:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 90s] int32_t size = 0; [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c:304:17: warning: unused variable 'hbm' [-Wunused-variable] [ 90s] LCM_Init_Code *hbm = NULL; [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_hbm': [ 90s] lcd_s6e8aa5x01_mi[ 78.776201] serial8250: too much work for irq4 [ 90s] pi.c:398:2: warning: implicit declaration of function 'save_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 90s] save_hbm_offset_to_kernel(hbm_g); [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c:360:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 90s] int32_t size = 0; [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c:355:17: warning: unused variable 'hbm' [-Wunused-variable] [ 90s] LCM_Init_Code *hbm = NULL; [ 90s] ^ [ 90s] lcd_s6e8aa5x01_mipi.c: At top level: [ 90s] lcd_s6e8aa5x01_mipi.c:72:22: warning: 'disp_on' defined but not used [-Wunused-variable] [ 90s] static LCM_Init_Code disp_on = {LCM_SEND(1), {0x29}}; [ 90s] ^ [ 90s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o mipi_dsih_hal.o mipi_dsih_hal.c -c [ 90s] ld -r -o liblcd.o lcd_s6e8aa5x01_mipi.o [ 90s] ld -r -o libusb_gadget.o epautoconf.o config.o usbstring.o serial.o [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from mipi_dsih_local.h:44, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from ../sprdfb_chip_common.h:19:0, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_hal.h:41, [ 90s] from mipi_dsih_hal.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o mipi_dsih_dphy.o mipi_dsih_dphy.c -c [ 90s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 90s] make -C fs/cramfs/ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from mipi_dsih_local.h:44, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from ../sprdfb_chip_common.h:19, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from mipi_dsih_local.h:44:0, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from ../sprdfb_chip_common.h:19:0, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from ../sprdfb_chip_common.h:18, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from ../sprdfb_chip_8830.h:18, [ 90s] from ../sprdfb_chip_common.h:30, [ 90s] from mipi_dsih_local.h:45, [ 90s] from mipi_dsih_dphy.h:11, [ 90s] from mipi_dsih_dphy.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] make -C fs/ext2/ [ 90s] mipi_dsih_dphy.c: In function 'mipi_dsih_dphy_calibration': [ 90s] mipi_dsih_dphy.c:98:28: warning: 'sv_data[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 90s] sv_data[1] =(sv_data[1]&0x1c) >>2; [ 90s] ^ [ 90s] mipi_dsih_dphy.c:97:28: warning: 'sv_data[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 90s] sv_data[0] =(sv_data[0]&0x1c) >>2; [ 90s] ^ [ 90s] make -C fs/ext4/ [ 90s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 90s] rm -f libwatchdog.o; ar rcs libwatchdog.o [ 90s] ld -r -o libsprdfb_dsi.o mipi_dsih_api.o mipi_dsih_hal.o mipi_dsih_dphy.o [ 90s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 90s] make -C fs/fat/ [ 90s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 90s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o sprdfb_main.o sprdfb_main.c -c [ 90s] make -C fs/fdos/ [ 90s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o sprdfb_panel.o sprdfb_panel.c -c [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from sprdfb_main.c:15: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] rm -f libcramfs.o; ar rcs libcramfs.o [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_main.c:19: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_main.c:15:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_main.c:19: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_main.c:15:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 90s] from sprdfb_main.c:28: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 90s] #define KPD_NUM (0x31 << 16) [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 90s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 90s] from sprdfb_main.c:28: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: warning: "GREG_BASE" redefined [ 90s] #define GREG_BASE CTL_BASE_GLB_REG [ 90s] ^ [ 90s] In file included from sprdfb_main.c:27:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: note: this is the location of the previous definition [ 90s] #define GREG_BASE 0x4B000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_main.c:29: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from sprdfb_main.c:19:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_main.c:29: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 90s] from sprdfb_main.c:28: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from sprdfb_main.c:29: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from sprdfb_main.c:29: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 90s] sprdfb_main.c: In function 'set_backlight': [ 90s] sprdfb_main.c:268:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_request(NULL, BACKLIGHT_GPIO); [ 90s] ^ [ 90s] sprdfb_main.c:269:3: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_direction_output(NULL, BACKLIGHT_GPIO, 0); [ 90s] ^ [ 90s] sprdfb_main.c:282:3: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_set(NULL, BACKLIGHT_GPIO, 0); [ 90s] ^ [ 90s] sprdfb_main.c: In function 'save_mtp_offset_to_kernel': [ 90s] sprdfb_main.c:411:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 90s] hex_encoder((unsigned char *)mtp, mtp_offset, (MTP_LEN + 6)); [ 90s] ^ [ 90s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 90s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 90s] ^ [ 90s] sprdfb_main.c: In function 'save_hbm_offset_to_kernel': [ 90s] sprdfb_main.c:432:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 90s] hex_encoder((unsigned char *)hbm, hbm_g, 15); [ 90s] ^ [ 90s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 90s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 90s] ^ [ 90s] sprdfb_main.c: At top level: [ 90s] sprdfb_main.c:67:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 90s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 90s] ^ [ 90s] sprdfb_main.c:108:15: warning: 'get_adie_chipid' defined but not used [-Wunused-function] [ 90s] static uint32 get_adie_chipid(void) [ 90s] ^ [ 90s] sprdfb_main.c: In function 'byte2hex': [ 90s] sprdfb_main.c:395:1: warning: control reaches end of non-void function [-Wreturn-type] [ 90s] } [ 90s] ^ [ 90s] 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 [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from sprdfb_panel.c:6: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] make -C fs/jffs2/ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_panel.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_panel.c:6:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_panel.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_panel.c:6:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_panel.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] sprdfb_panel.c: In function 'panel_reset_dispc': [ 90s] sprdfb_panel.c:438:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_request(NULL, 103); [ 90s] ^ [ 90s] sprdfb_panel.c:439:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_direction_output(NULL, 103, 0); [ 90s] ^ [ 90s] sprdfb_panel.c:440:2: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 90s] sprd_gpio_set(NULL, 103, 1); [ 90s] ^ [ 90s] sprdfb_panel.c: In function 'adapt_panel_from_readid': [ 90s] sprdfb_panel.c:573:4: warning: implicit declaration of function 'save_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 90s] save_lcd_id_to_kernel(id); [ 90s] ^ [ 90s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o sprdfb_dispc.o sprdfb_dispc.c -c [ 90s] rm -f libext2fs.o; ar rcs libext2fs.o [ 90s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 90s] make -C fs/reiserfs/ [ 90s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 90s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 90s] -o sprdfb_mcu.o sprdfb_mcu.c -c [ 90s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from sprdfb_dispc.c:15: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] In file included from sprdfb_dispc.c:17:0: [ 90s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list [ 90s] int32_t (*panel_if_check)(struct panel_spec *self); [ 90s] ^ [ 90s] sprdfb.h:45:35: warning: its scope is only this definition or declaration, which is probably not what you want [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_chip_common.h:18, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_chip_common.h:19, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_dispc.c:15:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_chip_common.h:19, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_dispc.c:15:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 90s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 90s] ^ [ 90s] In file included from sprdfb_chip_common.h:19:0, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 90s] #define SPRD_PWM_BASE 0x88000000 [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 90s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_chip_common.h:18, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 90s] #define ADC_BASE 0x40038300 //Aux ADC [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 90s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 90s] from sprdfb_chip_8830.h:18, [ 90s] from sprdfb_chip_common.h:30, [ 90s] from sprdfb_dispc.c:18: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 90s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 90s] ^ [ 90s] make -C fs/ubifs/ [ 90s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 90s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 90s] from sprdfb_mcu.c:6: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 90s] #define CONFIG_MMC 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 90s] #define CONFIG_MMC [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 90s] #define CONFIG_EFI_PARTITION 1 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 90s] #define CONFIG_EFI_PARTITION [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_mcu.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 90s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_mcu.c:6:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 90s] #define MAX(x, y) max(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 90s] from sprdfb_mcu.c:8: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 90s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 90s] ^ [ 90s] In file included from sprdfb_mcu.c:6:0: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 90s] #define MIN(x, y) min(x, y) [ 90s] ^ [ 90s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 90s] from sprdfb_mcu.c:9: [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 90s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 90s] ^ [ 90s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 90s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 90s] ^ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_rgb.o sprdfb_rgb.c -c [ 91s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o fat_write.o fat_write.c -c [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_mipi.o sprdfb_mipi.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_rgb.c:4: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] rm -f libfdos.o; ar rcs libfdos.o [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_rgb.c:6: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_rgb.c:4:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_rgb.c:6: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_rgb.c:4:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_rgb.c:7: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 91s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 91s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_rgb.c:9: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 91s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 91s] ^ [ 91s] In file included from sprdfb_rgb.c:6:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 91s] #define SPRD_PWM_BASE 0x88000000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_rgb.c:9: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 91s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_rgb.c:7: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 91s] #define ADC_BASE 0x40038300 //Aux ADC [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_rgb.c:9: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 91s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_rgb.c:9: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 91s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 91s] ^ [ 91s] sprdfb_rgb.c: In function 'rgb_readid': [ 91s] sprdfb_rgb.c:28:85: warning: passing argument 4 of 'rgb->bus_info.i2c->ops->i2c_read_16bits' from incompatible pointer type [ 91s] rgb->bus_info.i2c->ops->i2c_read_16bits(rgb->bus_info.i2c->i2c_addr , 0x0, FALSE, &id, FALSE); [ 91s] ^ [ 91s] sprdfb_rgb.c:28:85: note: expected 'uint16_t *' but argument is of type 'uint32_t *' [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from fat_write.c:25: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] fat_write.c: In function 'delete_long_file_name': [ 91s] fat_write.c:482:15: warning: unused variable 'cur_position' [-Wunused-variable] [ 91s] int idx = 0, cur_position = 0; [ 91s] ^ [ 91s] fat_write.c:482:6: warning: unused variable 'idx' [-Wunused-variable] [ 91s] int idx = 0, cur_position = 0; [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_mipi.c:4: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] fat_write.c: In function 'delete_directory_entry': [ 91s] fat_write.c:1207:7: warning: unused variable 'mark_cnt' [-Wunused-variable] [ 91s] int mark_cnt; [ 91s] ^ [ 91s] fat_write.c: In function 'do_fat_rm': [ 91s] fat_write.c:1386:6: warning: unused variable 'i' [-Wunused-variable] [ 91s] int i; [ 91s] ^ [ 91s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 91s] make -C fs/yaffs2/ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_i2c.o sprdfb_i2c.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_mipi.c:6: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_mipi.c:4:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_mipi.c:6: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_mipi.c:4:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_mipi.c:7: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 91s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 91s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 91s] ^ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_spi.o sprdfb_spi.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_i2c.c:5: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 91s] rm -f libjffs2.o; ar rcs libjffs2.o [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_i2c.c:7: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_i2c.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_i2c.c:7: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_i2c.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] sprdfb_i2c.c: In function 'sprdfb_i2c_read_8bits': [ 91s] sprdfb_i2c.c:79:27: warning: passing argument 2 of 'I2C_ReadCmd' makes pointer from integer without a cast [ 91s] ret = I2C_ReadCmd(addr, *val, TRUE); [ 91s] ^ [ 91s] In file included from sprdfb_i2c.c:8:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_i2c.h:100:18: note: expected 'uint8 *' but argument is of type 'uint8_t' [ 91s] PUBLIC ERR_I2C_E I2C_ReadCmd(uint8 addr,uint8 *pCmd,BOOLEAN ack_en); [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_spi.c:5: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_dsi.o sprdfb_dsi.c -c [ 91s] rm -f libreiserfs.o; ar rcs libreiserfs.o [ 91s] In file included from sprdfb_spi.c:6:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_spi.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from sprdfb_spi.c:6:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_spi.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from sprdfb_spi.c:8:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_spi.h:217:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 91s] PUBLIC void SPI_WaitTxFinish(); [ 91s] ^ [ 91s] make -C lib/libfdt/ [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o ext4fs.o ext4fs.c -c [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_chip_common.o sprdfb_chip_common.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_dsi.c:5: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 91s] make -C lib/ [ 91s] rm -f libubifs.o; ar rcs libubifs.o [ 91s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 91s] In file included from sprdfb_dsi.c:10:0: [ 91s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list [ 91s] int32_t (*panel_if_check)(struct panel_spec *self); [ 91s] ^ [ 91s] sprdfb.h:45:35: warning: its scope is only this definition or declaration, which is probably not what you want [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 91s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 91s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_dsi.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_dsi.c:5:0: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 91s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:19:0, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 91s] #define SPRD_PWM_BASE 0x88000000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 91s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 91s] #define ADC_BASE 0x40038300 //Aux ADC [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 91s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_dsi.c:11: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 91s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from ext4fs.c:36: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_chip_common.h:17, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] sprdfb_dsi.c: In function 'sprdfb_dsi_set_lp_mode': [ 91s] sprdfb_dsi.c:374:11: warning: unused variable 'reg_val' [-Wunused-variable] [ 91s] uint32_t reg_val; [ 91s] ^ [ 91s] sprdfb_dsi.c: At top level: [ 91s] sprdfb_dsi.c:448:1: warning: data definition has no type or storage class [ 91s] EXPORT_SYMBOL(backlight_control); [ 91s] ^ [ 91s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o ext4_common.o ext4_common.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 91s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 91s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:17:0, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:17:0, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 91s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:19:0, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 91s] #define SPRD_PWM_BASE 0x88000000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 91s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 91s] #define ADC_BASE 0x40038300 //Aux ADC [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 91s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_common.c:17: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 91s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 91s] ^ [ 91s] sprdfb_dsi.c:448:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] [ 91s] sprdfb_dsi.c:448:1: warning: parameter names (without types) in function declaration [ 91s] sprdfb_dsi.c:38:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 91s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 91s] ^ [ 91s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o sprdfb_chip_8830.o sprdfb_chip_8830.c -c [ 91s] make -C lib/lzma/ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from ext4_common.c:34: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from sprdfb_chip_common.h:17, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 91s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 91s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 91s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:17:0, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 91s] #define MAX(x, y) max(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 91s] from sprdfb_chip_common.h:19, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 91s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:17:0, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 91s] #define MIN(x, y) min(x, y) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 91s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 91s] ^ [ 91s] In file included from sprdfb_chip_common.h:19:0, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:53:0: note: this is the location of the previous definition [ 91s] #define SPRD_PWM_BASE 0x88000000 [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 91s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 91s] from sprdfb_chip_common.h:18, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 91s] #define ADC_BASE 0x40038300 //Aux ADC [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 91s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 91s] ^ [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 91s] from sprdfb_chip_8830.h:18, [ 91s] from sprdfb_chip_common.h:30, [ 91s] from sprdfb_chip_8830.c:15: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 91s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 91s] ^ [ 91s] sprdfb_chip_8830.c: In function 'dsi_enable': [ 91s] sprdfb_chip_8830.c:25:2: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 91s] __raw_bits_and(~BIT_DSI_PHY_PD, REG_AON_APB_PWR_CTRL); [ 91s] ^ [ 91s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o dev.o dev.c -c [ 91s] rm -f libyaffs2.o; ar rcs libyaffs2.o [ 91s] ld -r -o libsprdfb.o sprdfb_main.o sprdfb_panel.o sprdfb_dispc.o sprdfb_mcu.o sprdfb_rgb.o sprdfb_mipi.o sprdfb_i2c.o sprdfb_spi.o sprdfb_dsi.o sprdfb_chip_common.o sprdfb_chip_8830.o [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from dev.c:39: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] ld -r -o libfat.o fat_write.o [ 91s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o ext4_write.o ext4_write.c -c [ 91s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 91s] make -C lib/lzo/ [ 91s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o ext4_journal.o ext4_journal.c -c [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from ext4_write.c:37: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make -C nand_fdl/common/src/ [ 91s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 91s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 91s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 91s] from ext4_journal.c:32: [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 91s] #define CONFIG_MMC 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 91s] #define CONFIG_MMC [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 91s] #define CONFIG_EFI_PARTITION 1 [ 91s] ^ [ 91s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 91s] #define CONFIG_EFI_PARTITION [ 91s] ^ [ 91s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o fdt.o fdt.c -c [ 91s] rm -f liblzma.o; ar rcs liblzma.o [ 91s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o fdt_ro.o fdt_ro.c -c [ 91s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 91s] -o crc16.o crc16.c -c [ 91s] make -C net/ [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o ext4_rw.o ext4_rw.c -c [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt_rw.o fdt_rw.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 92s] from crc16.c:8: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 92s] make -C post/ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 92s] from ext4_rw.c:2: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] rm -f liblzo.o; ar rcs liblzo.o [ 92s] ld -r -o libext4fs.o ext4fs.o ext4_common.o dev.o ext4_write.o ext4_journal.o crc16.o ext4_rw.o [ 92s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 92s] make -C property/ [ 92s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt_strerror.o fdt_strerror.c -c [ 92s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt_sw.o fdt_sw.c -c [ 92s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdt_wip.o fdt_wip.c -c [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o dl_engine.o dl_engine.c -c [ 92s] ld -r -o libfdt.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o [ 92s] rm -f libnet.o; ar rcs libnet.o [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o crc16.o crc16.c -c [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdl_crc.o fdl_crc.c -c [ 92s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 92s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 92s] from dl_engine.c:1: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] dl_engine.c:19:1: warning: missing braces around initializer [-Wmissing-braces] [ 92s] CMDPROC_TAB g_proctab[BSL_CMD_TYPE_MAX - BSL_CMD_TYPE_MIN] = {0, 0}; [ 92s] ^ [ 92s] dl_engine.c:19:1: warning: (near initialization for 'g_proctab[0]') [-Wmissing-braces] [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o crc32.o crc32.c -c [ 92s] rm -f libpost.o; ar rcs libpost.o [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o packet.o packet.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 92s] from fdl_crc.c:1: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o crc32b.o crc32b.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 92s] from crc32.c:12: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdl_channel.o fdl_channel.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 92s] from packet.c:2: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 92s] from packet.c:7: [ 92s] /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] [ 92s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 92s] from packet.c:7: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 92s] #define KPD_NUM (0x31 << 16) [ 92s] ^ [ 92s] /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 [ 92s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 92s] from packet.c:7: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 92s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 92s] ^ [ 92s] /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 [ 92s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 92s] ^ [ 92s] packet.c: In function 'FDL_PacketDoIdle': [ 92s] packet.c:97:5: warning: implicit declaration of function 'FDL_GetBootMode' [-Wimplicit-function-declaration] [ 92s] uint32 boot_mode = FDL_GetBootMode(); [ 92s] ^ [ 92s] packet.c:143:13: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 92s] sio_trace ("data_size error : datasize = %d MAX_PKT_SIZE = %d\n", packet_ptr->data_size, MAX_PKT_SIZE); [ 92s] ^ [ 92s] packet.c:183:41: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [ 92s] crc = crc_16_l_calc((unsigned short *)&packet_ptr->packet_body, packet_ptr->data_size); [ 92s] ^ [ 92s] In file included from packet.c:6:0: [ 92s] /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 *' [ 92s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 92s] ^ [ 92s] packet.c: In function 'FDL_DataProcess': [ 92s] packet.c:277:27: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [ 92s] crc = crc_16_l_calc ( (const unsigned short *) (& (packet_ptr_src->packet_body)), size + PACKET_HEADER_SIZE); [ 92s] ^ [ 92s] In file included from packet.c:6:0: [ 92s] /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 *' [ 92s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 92s] ^ [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o ctype.o ctype.c -c [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o fdl_stdio.o fdl_stdio.c -c [ 92s] In file included from fdl_channel.c:1:0: [ 92s] /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] [ 92s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 92s] from fdl_channel.c:2: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 92s] from fdl_channel.c:3: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 92s] #define KPD_NUM (0x31 << 16) [ 92s] ^ [ 92s] /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 [ 92s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 92s] from fdl_channel.c:3: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 92s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 92s] ^ [ 92s] /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 [ 92s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 92s] ^ [ 92s] fdl_channel.c:19:35: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 92s] PUBLIC struct FDL_ChannelHandler *FDL_ChannelGet() [ 92s] ^ [ 92s] fdl_channel.c: In function 'FDL_ChannelGet': [ 92s] fdl_channel.c:22:10: warning: unused variable 'ch' [-Wunused-variable] [ 92s] char ch; [ 92s] ^ [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o display_options.o display_options.c -c [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o usb_boot.o usb_boot.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 92s] from fdl_stdio.c:1: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] fdl_stdio.c: In function 'FDL_memcpy': [ 92s] fdl_stdio.c:8:18: warning: unused variable 'value' [-Wunused-variable] [ 92s] unsigned int value; [ 92s] ^ [ 92s] fdl_stdio.c:7:28: warning: unused variable 'i' [-Wunused-variable] [ 92s] unsigned int word_num, i; [ 92s] ^ [ 92s] fdl_stdio.c:7:18: warning: unused variable 'word_num' [-Wunused-variable] [ 92s] unsigned int word_num, i; [ 92s] ^ [ 92s] fdl_stdio.c:6:19: warning: unused variable 'tmp_dst' [-Wunused-variable] [ 92s] unsigned int *tmp_dst = (unsigned int *) dst; [ 92s] ^ [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o div64.o div64.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from display_options.c:24: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o drv_usb.o drv_usb.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb_boot.h:19, [ 92s] from usb_boot.c:17: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 92s] from usb_boot.c:18: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 92s] #define KPD_NUM (0x31 << 16) [ 92s] ^ [ 92s] /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 [ 92s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 92s] from usb_boot.c:18: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 92s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 92s] ^ [ 92s] /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 [ 92s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 92s] ^ [ 92s] In file included from usb_boot.c:21:0: [ 92s] /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] [ 92s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 92s] ^ [ 92s] usb_boot.c: In function 'usb_init': [ 92s] usb_boot.c:97:5: warning: implicit declaration of function 'usb_core_init' [-Wimplicit-function-declaration] [ 92s] usb_core_init(); [ 92s] ^ [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o errno.o errno.c -c [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o virtual_com.o virtual_com.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23, [ 92s] from drv_usb.c:12: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 92s] from drv_usb.c:12: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 92s] #define KPD_NUM (0x31 << 16) [ 92s] ^ [ 92s] /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 [ 92s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 92s] from drv_usb.c:12: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 92s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 92s] ^ [ 92s] /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 [ 92s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 92s] ^ [ 92s] drv_usb.c: In function 'usb_get_descriptor': [ 92s] drv_usb.c:211:13: warning: implicit declaration of function 'UCOM_Get_DevDesc' [-Wimplicit-function-declaration] [ 92s] send_data = (uint8 *) UCOM_Get_DevDesc();//lint !e718 [ 92s] ^ [ 92s] drv_usb.c:218:13: warning: implicit declaration of function 'UCOM_Get_CfgDesc' [-Wimplicit-function-declaration] [ 92s] send_data = (uint8 *) UCOM_Get_CfgDesc();//lint !e718 [ 92s] ^ [ 92s] drv_usb.c: In function 'VCOM_Read': [ 92s] drv_usb.c:703:33: warning: initialization discards 'const' qualifier from pointer target type [ 92s] unsigned char *src, *dest = buf; [ 92s] ^ [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o gunzip.o gunzip.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 92s] from virtual_com.c:17: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 92s] from virtual_com.c:18: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 92s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 92s] ^ [ 92s] In file included from virtual_com.c:17:0: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 92s] #define MAX(x, y) max(x, y) [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 92s] from virtual_com.c:18: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 92s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 92s] ^ [ 92s] In file included from virtual_com.c:17:0: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 92s] #define MIN(x, y) min(x, y) [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 92s] from virtual_com.c:18: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 92s] #define KPD_NUM (0x31 << 16) [ 92s] ^ [ 92s] /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 [ 92s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 92s] ^ [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 92s] from virtual_com.c:18: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 92s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 92s] ^ [ 92s] /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 [ 92s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 92s] ^ [ 92s] virtual_com.c:55:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 92s] uint8 *UCOM_Get_DevDesc() [ 92s] ^ [ 92s] virtual_com.c:66:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 92s] uint8 *UCOM_Get_CfgDesc() [ 92s] ^ [ 92s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 92s] -o hashtable.o hashtable.c -c [ 92s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 92s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 92s] from gunzip.c:24: [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 92s] #define CONFIG_MMC 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 92s] #define CONFIG_MMC [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 92s] #define CONFIG_EFI_PARTITION 1 [ 92s] ^ [ 92s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 92s] #define CONFIG_EFI_PARTITION [ 92s] ^ [ 92s] ld -r -o libfdlcommon.o dl_engine.o fdl_crc.o packet.o fdl_channel.o fdl_stdio.o usb_boot.o drv_usb.o virtual_com.o [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o lmb.o lmb.c -c [ 93s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from hashtable.c:44: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o ldiv.o ldiv.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from lmb.c:13: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o net_utils.o net_utils.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o qsort.o qsort.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from net_utils.c:29: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o string.o string.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o strmhz.o strmhz.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o time.o time.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from strmhz.c:23: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o vsprintf.o vsprintf.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from time.c:24: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o zlib.o zlib.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from vsprintf.c:17: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o rbtree.o rbtree.c -c [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o alarm_mode.o alarm_mode.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from zlib.c:29: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o android_boot.o android_boot.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from alarm_mode.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 93s] from rbtree.c:23: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 93s] from alarm_mode.c:13: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 93s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 93s] ^ [ 93s] In file included from alarm_mode.c:2:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 93s] #define MAX(x, y) max(x, y) [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 93s] from alarm_mode.c:13: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 93s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 93s] ^ [ 93s] In file included from alarm_mode.c:2:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 93s] #define MIN(x, y) min(x, y) [ 93s] ^ [ 93s] alarm_mode.c: In function 'alarm_file_check': [ 93s] alarm_mode.c:27:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 93s] if(!do_fs_file_read(PROD_PART, "/alarm_flag", time_buf,200)){ [ 93s] ^ [ 93s] alarm_mode.c: In function 'alarm_flag_check': [ 93s] alarm_mode.c:114:2: warning: implicit declaration of function 'get_alarm_lead_set' [-Wimplicit-function-declaration] [ 93s] time_lead = get_alarm_lead_set(); [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o autodloader_mode.o autodloader_mode.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 93s] from android_boot.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] android_boot.c: In function 'creat_atags': [ 93s] android_boot.c:8:11: warning: unused variable 'pcount' [-Wunused-variable] [ 93s] unsigned pcount; [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o backupnvitem.o backupnvitem.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from autodloader_mode.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 93s] from autodloader_mode.c:8: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 93s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 93s] ^ [ 93s] In file included from autodloader_mode.c:5:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 93s] #define MAX(x, y) max(x, y) [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 93s] from autodloader_mode.c:8: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 93s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 93s] ^ [ 93s] In file included from autodloader_mode.c:5:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 93s] #define MIN(x, y) min(x, y) [ 93s] ^ [ 93s] In file included from autodloader_mode.c:10:0: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_channel.h:18:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 93s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 93s] from autodloader_mode.c:12: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 93s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 93s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 93s] from autodloader_mode.c:15: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 93s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 93s] from autodloader_mode.c:12: [ 93s] /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 [ 93s] #define ADC_BASE 0x40038300 //Aux ADC [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 93s] from autodloader_mode.c:15: [ 93s] /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 [ 93s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 93s] from autodloader_mode.c:15: [ 93s] /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 [ 93s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 93s] ^ [ 93s] autodloader_mode.c: In function 'autodloader_mode': [ 93s] autodloader_mode.c:208:6: warning: unused variable 'i' [-Wunused-variable] [ 93s] int i = 0; [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o boot_mode_regist.o boot_mode_regist.c -c [ 93s] backupnvitem.c: In function 'XCheckNVStructEx': [ 93s] backupnvitem.c:416:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 93s] printf("%s %d\n", __FUNCTION__, __LINE__); [ 93s] ^ [ 93s] backupnvitem.c: In function 'XPreserveNVItem': [ 93s] backupnvitem.c:906:3: warning: missing braces around initializer [-Wmissing-braces] [ 93s] BT_CONFIG para = {0}; [ 93s] ^ [ 93s] backupnvitem.c:906:3: warning: (near initialization for 'para.bt_addr') [-Wmissing-braces] [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o calibration_detect.o calibration_detect.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 93s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3, [ 93s] from boot_mode_regist.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 93s] -o charge_mode.o charge_mode.c -c [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 93s] from calibration_detect.h:3, [ 93s] from calibration_detect.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 93s] #define CONFIG_MMC 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 93s] #define CONFIG_MMC [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 93s] #define CONFIG_EFI_PARTITION 1 [ 93s] ^ [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 93s] #define CONFIG_EFI_PARTITION [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 93s] from calibration_detect.h:15, [ 93s] from calibration_detect.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 93s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 93s] ^ [ 93s] In file included from calibration_detect.h:4:0, [ 93s] from calibration_detect.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 93s] #define MAX(x, y) max(x, y) [ 93s] ^ [ 93s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 93s] from calibration_detect.h:15, [ 93s] from calibration_detect.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 93s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 93s] ^ [ 93s] In file included from calibration_detect.h:4:0, [ 93s] from calibration_detect.c:1: [ 93s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 93s] #define MIN(x, y) min(x, y) [ 93s] ^ [ 93s] calibration_detect.c:47:8: warning: type defaults to 'int' in declaration of 'caliberate_device' [-Wimplicit-int] [ 93s] static caliberate_device = CALIBERATE_DEVICE_NULL; [ 93s] ^ [ 93s] calibration_detect.c: In function 'pctool_mode_detect_uart': [ 93s] calibration_detect.c:141:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=] [ 93s] printf("uart calibrate configuration start_time=%d\n", start_time); [ 93s] ^ [ 93s] calibration_detect.c:164:9: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 93s] calibration_cmd_buf=malloc(1024); [ 93s] ^ [ 93s] calibration_detect.c:164:28: warning: assignment makes pointer from integer without a cast [ 93s] calibration_cmd_buf=malloc(1024); [ 93s] ^ [ 93s] calibration_detect.c:133:9: warning: unused variable 'off' [-Wunused-variable] [ 93s] loff_t off = 0; [ 93s] ^ [ 93s] calibration_detect.c:126:6: warning: unused variable 'ret' [-Wunused-variable] [ 93s] int ret; [ 93s] ^ [ 93s] calibration_detect.c: In function 'cali_usb_debug': [ 93s] calibration_detect.c:286:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 93s] { int ret; [ 93s] ^ [ 93s] calibration_detect.c: At top level: [ 93s] calibration_detect.c:320:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 93s] int cali_usb_prepare() [ 93s] ^ [ 93s] calibration_detect.c: In function 'cali_usb_prepare': [ 93s] calibration_detect.c:322:6: warning: unused variable 'ret' [-Wunused-variable] [ 93s] int ret = 0; [ 93s] ^ [ 93s] calibration_detect.c: At top level: [ 93s] calibration_detect.c:336:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 93s] int cali_usb_enum() [ 93s] ^ [ 93s] calibration_detect.c: In function 'prepare_reply_buf': [ 93s] calibration_detect.c:477:34: warning: pointer targets in passing argument 1 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 93s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 93s] ^ [ 93s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 93s] int translate_packet(char *dest,char *src,int size) [ 93s] ^ [ 93s] calibration_detect.c:477:65: warning: pointer targets in passing argument 2 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 93s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 93s] ^ [ 93s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 93s] int translate_packet(char *dest,char *src,int size) [ 93s] ^ [ 93s] calibration_detect.c:478:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 93s] free(rsp_ptr); [ 93s] ^ [ 93s] calibration_detect.c:452:9: warning: unused variable 'ret' [-Wunused-variable] [ 93s] int ret = 0; [ 93s] ^ [ 93s] calibration_detect.c: In function 'pctool_mode_detect': [ 93s] calibration_detect.c:489:9: warning: implicit declaration of function 'get_mode_from_gpio' [-Wimplicit-function-declaration] [ 93s] if(get_mode_from_gpio()) [ 93s] ^ [ 93s] calibration_detect.c:567:21: warning: assignment makes pointer from integer without a cast [ 93s] calibration_cmd_buf=malloc(1024); [ 93s] ^ [ 93s] calibration_detect.c:487:9: warning: unused variable 'off' [-Wunused-variable] [ 93s] loff_t off = 0; [ 93s] ^ [ 93s] calibration_detect.c:486:15: warning: unused variable 'caliberate_mode' [-Wunused-variable] [ 93s] unsigned int caliberate_mode; [ 93s] ^ [ 93s] calibration_detect.c: In function 'cali_file_check': [ 93s] calibration_detect.c:602:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 93s] if(do_fs_file_read("prodnv", "/adc.bin", (char *)nv_buffer,sizeof(nv_buffer))) [ 93s] ^ [ 93s] calibration_detect.c: At top level: [ 93s] calibration_detect.c:255:12: warning: 'recheck_power_button' defined but not used [-Wunused-function] [ 93s] static int recheck_power_button(void) [ 93s] ^ [ 94s] ld -r -o libgeneric.o crc16.o crc32.o crc32b.o ctype.o display_options.o div64.o errno.o gunzip.o hashtable.o lmb.o ldiv.o net_utils.o qsort.o string.o strmhz.o time.o vsprintf.o zlib.o rbtree.o [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o cmd_cboot.o cmd_cboot.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from charge_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from charge_mode.c:13: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from charge_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from charge_mode.c:13: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from charge_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o dev_tree.o dev_tree.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from cmd_cboot.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from cmd_cboot.c:7: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from cmd_cboot.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from cmd_cboot.c:7: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from cmd_cboot.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 94s] from cmd_cboot.c:9: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 94s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 94s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 94s] from cmd_cboot.c:9: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 94s] struct gpio_chip *chip); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: its scope is only this definition or declaration, which is probably not what you want [ 94s] cmd_cboot.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] extern int get_mode_from_gpio(); [ 94s] ^ [ 94s] cmd_cboot.c: In function 'get_mode_from_pctool': [ 94s] cmd_cboot.c:60:3: warning: implicit declaration of function 'pctool_mode_detect' [-Wimplicit-function-declaration] [ 94s] ret = pctool_mode_detect(); [ 94s] ^ [ 94s] cmd_cboot.c: In function 'get_mode_from_keypad': [ 94s] cmd_cboot.c:184:5: warning: implicit declaration of function 'get_pwr_key_cnt' [-Wimplicit-function-declaration] [ 94s] if(boot_pwr_check() >= get_pwr_key_cnt()){ [ 94s] ^ [ 94s] cmd_cboot.c:189:4: warning: implicit declaration of function 'tizen_check_keypad' [-Wimplicit-function-declaration] [ 94s] key_code = tizen_check_keypad(); [ 94s] ^ [ 94s] cmd_cboot.c: In function 'do_cboot': [ 94s] cmd_cboot.c:301:3: warning: implicit declaration of function 'draw_image' [-Wimplicit-function-declaration] [ 94s] draw_image(1); [ 94s] ^ [ 94s] cmd_cboot.c:316:2: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 94s] lcd_display(); [ 94s] ^ [ 94s] cmd_cboot.c:317:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 94s] MMU_DisableIDCM(); [ 94s] ^ [ 94s] cmd_cboot.c:320:5: warning: implicit declaration of function 'cmd_mode_regist' [-Wimplicit-function-declaration] [ 94s] cmd_mode_regist(boot_mode_array); [ 94s] ^ [ 94s] cmd_cboot.c:329:9: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 94s] power_down_devices(); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 94s] from cmd_cboot.c:9: [ 94s] cmd_cboot.c: At top level: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:31:13: warning: 'gpio_is_valid' defined but not used [-Wunused-function] [ 94s] static bool gpio_is_valid(int number) [ 94s] ^ [ 94s] cmd_cboot.c: In function 'get_mode_from_alarm_register': [ 94s] cmd_cboot.c:166:1: warning: control reaches end of non-void function [-Wreturn-type] [ 94s] } [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o engtest_mode.o engtest_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from dev_tree.c:30: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] dev_tree.c: In function 'dev_tree_get_entry_ptr': [ 94s] dev_tree.c:126:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 94s] debugf("magic=%x,ver=%d,num=%d\n",table->magic,table->version,table->num_entries); [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o factorytest_mode.o factorytest_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from engtest_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from engtest_mode.c:14: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from engtest_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from engtest_mode.c:14: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from engtest_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o fs_common_rw.o fs_common_rw.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from factorytest_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from factorytest_mode.c:14: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from factorytest_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from factorytest_mode.c:14: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from factorytest_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o modem_entry.o modem_entry.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 94s] from fs_common_rw.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 94s] from fs_common_rw.c:11: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from fs_common_rw.c:1:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 94s] from fs_common_rw.c:11: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from fs_common_rw.c:1:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from fs_common_rw.c:11:0: [ 94s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] PUBLIC void Emmc_DisSdClk(); [ 94s] ^ [ 94s] fs_common_rw.c: In function 'do_fs_file_read': [ 94s] fs_common_rw.c:21:2: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 94s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 94s] ^ [ 94s] fs_common_rw.c:21:7: warning: assignment makes pointer from integer without a cast [ 94s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 94s] ^ [ 94s] fs_common_rw.c:27:2: warning: implicit declaration of function 'ext4_read_content' [-Wimplicit-function-declaration] [ 94s] ret = ext4_read_content(mmc_dev, [ 94s] ^ [ 94s] fs_common_rw.c:33:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 94s] free(part); [ 94s] ^ [ 94s] fs_common_rw.c: In function 'do_raw_data_read': [ 94s] fs_common_rw.c:81:12: warning: assignment makes pointer from integer without a cast [ 94s] partition = malloc(sizeof(wchar_t)*(strlen(part)+1)); [ 94s] ^ [ 94s] fs_common_rw.c:97:10: warning: assignment makes pointer from integer without a cast [ 94s] sctbuf = malloc(EMMC_SECTOR_SIZE); [ 94s] ^ [ 94s] fs_common_rw.c:110:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 94s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 94s] ^ [ 94s] In file included from fs_common_rw.c:11:0: [ 94s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 94s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 94s] ^ [ 94s] fs_common_rw.c:118:47: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 94s] if(!Emmc_Read(PARTITION_USER, cursct, nsct, bufwp)) [ 94s] ^ [ 94s] In file included from fs_common_rw.c:11:0: [ 94s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 94s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 94s] ^ [ 94s] fs_common_rw.c:125:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 94s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 94s] ^ [ 94s] In file included from fs_common_rw.c:11:0: [ 94s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 94s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 94s] ^ [ 94s] fs_common_rw.c: In function 'do_raw_data_write': [ 94s] fs_common_rw.c:253:1: warning: label 'end' defined but not used [-Wunused-label] [ 94s] end: [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o normal_emc_mode.o normal_emc_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 94s] from modem_entry.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 94s] from modem_entry.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 94s] from modem_entry.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 94s] from modem_entry.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 94s] from modem_entry.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 94s] from modem_entry.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 94s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 94s] ^ [ 94s] /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 [ 94s] #define VLR_INFO_OFF (512) [ 94s] ^ [ 94s] In file included from modem_entry.c:1:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 94s] ^ [ 94s] In file included from modem_entry.c:1:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] int read_spldata(); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] void vlx_entry(); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 94s] from modem_entry.c:2: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 94s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 94s] from modem_entry.c:2: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 94s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 94s] ^ [ 94s] modem_entry.c:38:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] void modem_entry() [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o normal_mode.o normal_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from normal_emc_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 94s] from normal_emc_mode.c:2: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 94s] from normal_emc_mode.c:2: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 94s] from normal_emc_mode.c:2: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 94s] from normal_emc_mode.c:2: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 94s] from normal_emc_mode.c:2: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 94s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 94s] ^ [ 94s] /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 [ 94s] #define VLR_INFO_OFF (512) [ 94s] ^ [ 94s] In file included from normal_emc_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 94s] ^ [ 94s] In file included from normal_emc_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] int read_spldata(); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] void vlx_entry(); [ 94s] ^ [ 94s] In file included from normal_emc_mode.c:5:0: [ 94s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] PUBLIC void Emmc_DisSdClk(); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 94s] from normal_emc_mode.c:13: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 94s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 94s] from normal_emc_mode.c:13: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 94s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 94s] ^ [ 94s] normal_emc_mode.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [ 94s] s_boot_image_COMMON_table, [ 94s] ^ [ 94s] normal_emc_mode.c: In function 'read_logoimg': [ 94s] normal_emc_mode.c:163:78: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 94s] if (TRUE != Emmc_Read(PARTITION_USER, info.start, size / EMMC_SECTOR_SIZE, bmp_img)) { [ 94s] ^ [ 94s] In file included from normal_emc_mode.c:5:0: [ 94s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 94s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 94s] ^ [ 94s] normal_emc_mode.c: At top level: [ 94s] normal_emc_mode.c:171:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] int read_spldata() [ 94s] ^ [ 94s] normal_emc_mode.c: In function 'w2c': [ 94s] normal_emc_mode.c:227:15: warning: comparison between pointer and integer [ 94s] while ((NULL != wchar[i]) && (i < 72)) { [ 94s] ^ [ 94s] normal_emc_mode.c: In function '_boot_partition_read': [ 94s] normal_emc_mode.c:300:79: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 94s] if (TRUE == Emmc_Read(PARTITION_USER, info.start + offsetsector + nsct, 1, sctbuf)) { [ 94s] ^ [ 94s] In file included from normal_emc_mode.c:5:0: [ 94s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 94s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 94s] ^ [ 94s] normal_emc_mode.c: In function 'blk_data_read': [ 94s] normal_emc_mode.c:338:56: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 94s] if (!Emmc_Read(PARTITION_USER, start_sec + nsct, 1, sctbuf)) { [ 94s] ^ [ 94s] In file included from normal_emc_mode.c:5:0: [ 94s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 94s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 94s] ^ [ 94s] normal_emc_mode.c: In function '_boot_read_partition_with_backup': [ 94s] normal_emc_mode.c:421:11: warning: assignment from incompatible pointer type [ 94s] header_p = header; [ 94s] ^ [ 94s] normal_emc_mode.c:437:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 94s] debugf("_boot_read_partition_with_backup origin checksum 0x%x\n", checksum); [ 94s] ^ [ 94s] normal_emc_mode.c:438:3: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 94s] if (_chkNVEcc(oribuf + EMMC_SECTOR_SIZE, info.size, checksum)) { [ 94s] ^ [ 94s] normal_emc_mode.c:439:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 94s] memcpy(info.mem_addr, oribuf + EMMC_SECTOR_SIZE, info.size); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 94s] from normal_emc_mode.c:2: [ 94s] /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' [ 94s] void* memcpy(void*, const void*, size_t); [ 94s] ^ [ 94s] normal_emc_mode.c:447:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 94s] debugf("_boot_read_partition_with_backup backup checksum 0x%x\n", checksum); [ 94s] ^ [ 94s] normal_emc_mode.c:455:13: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 94s] memset(info.mem_addr, 0, info.size); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 94s] from normal_emc_mode.c:2: [ 94s] /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' [ 94s] void* memset(void*, int, size_t); [ 94s] ^ [ 94s] normal_emc_mode.c:465:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 94s] memcpy(info.mem_addr, bakbuf + EMMC_SECTOR_SIZE, info.size); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 94s] from normal_emc_mode.c:2: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/includ[ 83.100008] serial8250: too much work for irq4 [ 94s] e/malloc.h:373:7: note: expected 'void *' but argument is of type 'long unsigned int' [ 94s] void* memcpy(void*, const void*, size_t); [ 94s] ^ [ 94s] normal_emc_mode.c: In function '_boot_load_required_image': [ 94s] normal_emc_mode.c:490:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 94s] debugf("%s: load %s to addr 0x%08x\n", __FUNCTION__, w2c(img_info.partition), img_info.mem_addr); [ 94s] ^ [ 94s] normal_emc_mode.c:488:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 94s] uint32 secure_boot_offset = 0; [ 94s] ^ [ 94s] normal_emc_mode.c: In function '_boot_load_kernel_ramdisk_image': [ 94s] normal_emc_mode.c:527:13: warning: assignment from incompatible pointer type [ 94s] partition = BOOT_PART; [ 94s] ^ [ 94s] normal_emc_mode.c:528:3: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'wchar_t *' [-Wformat=] [ 94s] debugf("Enter boot mode (partition name: %s)\n", partition); [ 94s] ^ [ 94s] normal_emc_mode.c:531:46: warning: passing argument 3 of 'blk_data_read' from incompatible pointer type [ 94s] if (!blk_data_read(0x2C00000, sizeof(*hdr), hdr)) { [ 94s] ^ [ 94s] normal_emc_mode.c:315:12: note: expected 'u8 *' but argument is of type 'struct boot_img_hdr *' [ 94s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 94s] ^ [ 94s] normal_emc_mode.c:548:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 94s] debugf("bzImage size: %x\n", size); [ 94s] ^ [ 94s] In file included from normal_emc_mode.c:2:0: [ 94s] /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 [ 94s] #define KERNEL_ADR 0x80008000 [ 94s] ^ [ 94s] normal_emc_mode.c:550:38: note: in expansion of macro 'KERNEL_ADR' [ 94s] if (!blk_data_read(0x2C00000, size, KERNEL_ADR - roundup(sizeof(*hdr), ALIGN_SIZE))) { [ 94s] ^ [ 94s] normal_emc_mode.c:315:12: note: expected 'u8 *' but argument is of type 'unsigned int' [ 94s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 94s] ^ [ 94s] normal_emc_mode.c:557:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 94s] debugf("dt_img_adr: %u\n", dt_img_adr); [ 94s] ^ [ 94s] normal_emc_mode.c:558:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 94s] debugf("dt_img_adr: %x\n", dt_img_adr); [ 94s] ^ [ 94s] normal_emc_mode.c:521:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 94s] uint32 secure_boot_offset = 0; [ 94s] ^ [ 94s] normal_emc_mode.c:519:15: warning: unused variable 'offset' [-Wunused-variable] [ 94s] uint32 size, offset; [ 94s] ^ [ 94s] normal_emc_mode.c: In function 'vlx_nand_boot': [ 94s] normal_emc_mode.c:636:2: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 94s] performance_debug("8:"); [ 94s] ^ [ 94s] normal_emc_mode.c:636:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 94s] normal_emc_mode.c:650:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 94s] performance_debug("9:"); [ 94s] ^ [ 94s] normal_emc_mode.c:661:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 94s] sipc_addr_reset(); [ 94s] ^ [ 94s] normal_emc_mode.c:604:11: warning: unused variable 'partition' [-Wunused-variable] [ 94s] wchar_t *partition = NULL; [ 94s] ^ [ 94s] normal_emc_mode.c: At top level: [ 94s] normal_emc_mode.c:236:12: warning: '_boot_secure_check' defined but not used [-Wunused-function] [ 94s] LOCAL void _boot_secure_check(void) [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o reboot_mode.o reboot_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 94s] from normal_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 94s] from normal_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 94s] from normal_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 94s] from normal_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 94s] from normal_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 94s] from normal_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 94s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 94s] ^ [ 94s] /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 [ 94s] #define VLR_INFO_OFF (512) [ 94s] ^ [ 94s] In file included from normal_mode.c:1:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 94s] ^ [ 94s] In file included from normal_mode.c:1:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] int read_spldata(); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] void vlx_entry(); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 94s] from normal_mode.c:5: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 94s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 94s] from normal_mode.c:5: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 94s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 94s] ^ [ 94s] normal_mode.c:25:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] unsigned spl_data_buf[0x2000] __attribute__ ((align(4))) = { [ 94s] ^ [ 94s] normal_mode.c:28:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] unsigned harsh_data_buf[8] __attribute__ ((align(4))) = { [ 94s] ^ [ 94s] normal_mode.c: In function '_chkNVEcc': [ 94s] normal_mode.c:110:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 94s] debugf("_chkNVEcc calcout 0x%lx, org 0x%llx\n", crc, checksum); [ 94s] ^ [ 94s] normal_mode.c:110:2: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] [ 94s] normal_mode.c: In function 'fdt_fixup_for_tizen': [ 94s] normal_mode.c:173:2: warning: zero-length gnu_printf format string [-Wformat-zero-length] [ 94s] ptr += sprintf(ptr, CMDLINE_DEFAULT_TIZEN); [ 94s] ^ [ 94s] normal_mode.c:178:2: warning: implicit declaration of function 'load_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 94s] ptr += sprintf(ptr, " lcd_id=ID%06x", load_lcd_id_to_kernel()); [ 94s] ^ [ 94s] normal_mode.c:184:2: warning: implicit declaration of function 'load_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 94s] ptr += sprintf(ptr, " mtp_offset=%s", load_mtp_offset_to_kernel()); [ 94s] ^ [ 94s] normal_mode.c:184:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 94s] normal_mode.c:185:2: warning: implicit declaration of function 'load_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 94s] ptr += sprintf(ptr, " elvss_offset=0x%x", load_elvss_offset_to_kernel()); [ 94s] ^ [ 94s] normal_mode.c:186:2: warning: implicit declaration of function 'load_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 94s] ptr += sprintf(ptr, " hbm_offset=%s", load_hbm_offset_to_kernel()); [ 94s] ^ [ 94s] normal_mode.c:186:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 94s] normal_mode.c:196:3: warning: implicit declaration of function 'sprdchg_start_charge' [-Wimplicit-function-declaration] [ 94s] sprdchg_start_charge(); [ 94s] ^ [ 94s] normal_mode.c:202:2: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 94s] thor_save_env("normal"); [ 94s] ^ [ 94s] normal_mode.c:245:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 94s] if (s = getenv("sec_log_addr")) { [ 94s] ^ [ 94s] normal_mode.c:261:2: warning: implicit declaration of function 'get_dram_cs_number' [-Wimplicit-function-declaration] [ 94s] ptr += sprintf(ptr, " mem_cs=%d, mem_cs0_sz=%08x",get_dram_cs_number(), get_dram_cs0_size()); [ 94s] ^ [ 94s] normal_mode.c:261:2: warning: implicit declaration of function 'get_dram_cs0_size' [-Wimplicit-function-declaration] [ 94s] normal_mode.c:270:2: warning: implicit declaration of function 'tizen_get_emmc_serial_number' [-Wimplicit-function-declaration] [ 94s] tizen_get_emmc_serial_number((unsigned int *)uid); [ 94s] ^ [ 94s] normal_mode.c:275:2: warning: implicit declaration of function 'is_calibration_by_uart' [-Wimplicit-function-declaration] [ 94s] if (is_calibration_by_uart()) [ 94s] ^ [ 94s] normal_mode.c:281:2: warning: implicit declaration of function 'get_fgu_vol' [-Wimplicit-function-declaration] [ 94s] ptr += sprintf(ptr, " fgu_init=%d,%d", get_fgu_vol(), get_fgu_cur()); [ 94s] ^ [ 94s] normal_mode.c:281:2: warning: implicit declaration of function 'get_fgu_cur' [-Wimplicit-function-declaration] [ 94s] normal_mode.c:170:14: warning: unused variable 'mmc' [-Wunused-variable] [ 94s] struct mmc *mmc; [ 94s] ^ [ 94s] normal_mode.c: At top level: [ 94s] normal_mode.c:295:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] static int start_linux() [ 94s] ^ [ 94s] normal_mode.c: In function 'start_linux': [ 94s] normal_mode.c:303:22: warning: initialization from incompatible pointer type [ 94s] boot_img_hdr *hdr = raw_header; [ 94s] ^ [ 94s] normal_mode.c:328:2: warning: implicit declaration of function 'load_nvitem' [-Wimplicit-function-declaration] [ 94s] load_nvitem(); [ 94s] ^ [ 94s] normal_mode.c:329:2: warning: implicit declaration of function 'load_modem_data' [-Wimplicit-function-declaration] [ 94s] load_modem_data(); [ 94s] ^ [ 94s] normal_mode.c:330:2: warning: implicit declaration of function 'load_dsp_data' [-Wimplicit-function-declaration] [ 94s] load_dsp_data(); [ 94s] ^ [ 94s] normal_mode.c:332:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 94s] sipc_addr_reset(); [ 94s] ^ [ 94s] normal_mode.c:333:2: warning: implicit declaration of function 'modem_entry' [-Wimplicit-function-declaration] [ 94s] modem_entry(); [ 94s] ^ [ 94s] normal_mode.c:337:2: warning: implicit declaration of function 'Emmc_DisSdClk' [-Wimplicit-function-declaration] [ 94s] Emmc_DisSdClk(); [ 94s] ^ [ 94s] normal_mode.c:350:2: warning: implicit declaration of function 'fdt_[ 83.224009] serial8250: too much work for irq4 [ 94s] fixup_adc_calibration_data' [-Wimplicit-function-declaration] [ 94s] fdt_fixup_adc_calibration_data(fdt_blob); [ 94s] ^ [ 94s] normal_mode.c:361:2: warning: implicit declaration of function 'fdt_fixup_boot_ram_log' [-Wimplicit-function-declaration] [ 94s] fdt_fixup_boot_ram_log(fdt_blob); [ 94s] ^ [ 94s] normal_mode.c:362:2: warning: implicit declaration of function 'fdt_fixup_chosen_bootargs_board_private' [-Wimplicit-function-declaration] [ 94s] fdt_fixup_chosen_bootargs_board_private(fdt_blob, boot_cmd); [ 94s] ^ [ 94s] normal_mode.c:303:16: warning: unused variable 'hdr' [-Wunused-variable] [ 94s] boot_img_hdr *hdr = raw_header; [ 94s] ^ [ 94s] normal_mode.c:299:6: warning: unused variable 'parm_at' [-Wunused-variable] [ 94s] u32 parm_at = (u32) - 1; [ 94s] ^ [ 94s] normal_mode.c:298:6: warning: unused variable 'exec_at' [-Wunused-variable] [ 94s] u32 exec_at = (u32) - 1; [ 94s] ^ [ 94s] normal_mode.c: In function 'lcd_display_logo': [ 94s] normal_mode.c:387:0: warning: "mdelay" redefined [ 94s] #define mdelay(t) ({unsigned long msec=(t); while (msec--) { udelay(1000);}}) //LiWei add [ 94s] ^ [ 94s] In file included from normal_mode.c:2:0: [ 94s] calibration_detect.h:51:0: note: this is the location of the previous definition [ 94s] #define mdelay(_ms) udelay(_ms*1000) [ 94s] ^ [ 94s] normal_mode.c:406:10: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 94s] memset((unsigned int)lcd_base, 0, size); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 94s] from normal_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 94s] void* memset(void*, int, size_t); [ 94s] ^ [ 94s] normal_mode.c: At top level: [ 94s] normal_mode.c:415:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] int is_factorymode() [ 94s] ^ [ 94s] normal_mode.c: In function 'is_factorymode': [ 94s] normal_mode.c:420:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 94s] if (do_fs_file_read(FACTORY_PART, "/factorymode.file", factorymode_falg, 8)) [ 94s] ^ [ 94s] normal_mode.c: In function 'get_product_sn': [ 94s] normal_mode.c:438:2: warning: implicit declaration of function 'do_raw_data_read' [-Wimplicit-function-declaration] [ 94s] if (do_raw_data_read(PRODUCTINFO_FILE_PATITION, sizeof(phase_check), 0, (char *)&phase_check)) { [ 94s] ^ [ 94s] normal_mode.c: In function 'cmdline_set_cp_cmdline': [ 94s] normal_mode.c:638:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'char *' [-Wformat=] [ 94s] debugf("nv_info:[%08x]%s \n", nv_info, nv_info); [ 94s] ^ [ 94s] normal_mode.c: In function 'creat_cmdline': [ 94s] normal_mode.c:658:6: warning: unused variable 'ret' [-Wunused-variable] [ 94s] int ret = 0; [ 94s] ^ [ 94s] normal_mode.c: At top level: [ 94s] normal_mode.c:740:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] void vlx_entry() [ 94s] ^ [ 94s] normal_mode.c: In function 'vlx_entry': [ 94s] normal_mode.c:745:3: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 94s] power_down_devices(); [ 94s] ^ [ 94s] normal_mode.c:753:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 94s] MMU_DisableIDCM(); [ 94s] ^ [ 94s] normal_mode.c: At top level: [ 94s] normal_mode.c:868:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] void sipc_addr_reset() [ 94s] ^ [ 94s] normal_mode.c:868:6: warning: conflicting types for 'sipc_addr_reset' [ 94s] normal_mode.c:332:2: note: previous implicit declaration of 'sipc_addr_reset' was here [ 94s] sipc_addr_reset(); [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o recv_emc_mode.o recv_emc_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from reboot_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 94s] from reboot_mode.c:6: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from reboot_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 94s] from reboot_mode.c:6: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from reboot_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from reboot_mode.c:9:0: [ 94s] /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] [ 94s] PUBLIC void BOOT_ResetHWFlag (); [ 94s] ^ [ 94s] reboot_mode.c: In function 'ResetMCU': [ 94s] reboot_mode.c:15:5: warning: implicit declaration of function 'CHIP_PHY_ResetHWFlag' [-Wimplicit-function-declaration] [ 94s] CHIP_PHY_ResetHWFlag(0x1FFF); [ 94s] ^ [ 94s] reboot_mode.c:16:5: warning: implicit declaration of function 'CHIP_PHY_SetWDGHWFlag' [-Wimplicit-function-declaration] [ 94s] CHIP_PHY_SetWDGHWFlag(TYPE_RESET, AUTO_TEST_MODE); [ 94s] ^ [ 94s] reboot_mode.c:18:5: warning: implicit declaration of function 'CHIP_ResetMCU' [-Wimplicit-function-declaration] [ 94s] CHIP_ResetMCU(); [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o recv_mode.o recv_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 94s] from recv_emc_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 94s] from recv_emc_mode.c:3: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from recv_emc_mode.c:1:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 94s] from recv_emc_mode.c:3: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from recv_emc_mode.c:1:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from recv_emc_mode.c:3:0: [ 94s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] PUBLIC void Emmc_DisSdClk(); [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 94s] from recv_emc_mode.c:5: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 94s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 94s] ^ [ 94s] /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 [ 94s] #define VLR_INFO_OFF (512) [ 94s] ^ [ 94s] In file included from recv_emc_mode.c:5:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 94s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 94s] ^ [ 94s] In file included from recv_emc_mode.c:5:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] int read_spldata(); [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] void vlx_entry(); [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o thor_mode.o thor_mode.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from recv_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from recv_mode.c:14: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from recv_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from recv_mode.c:14: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from recv_mode.c:2:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] recv_mode.c: In function 'get_mode_from_file': [ 94s] recv_mode.c:123:2: warning: implicit declaration of function 'reboot_devices' [-Wimplicit-function-declaration] [ 94s] reboot_devices(0); [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o tizen_misc.o tizen_misc.c -c [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 94s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3, [ 94s] from thor_mode.c:1: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 94s] #define CONFIG_MMC 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 94s] #define CONFIG_MMC [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 94s] #define CONFIG_EFI_PARTITION 1 [ 94s] ^ [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 94s] #define CONFIG_EFI_PARTITION [ 94s] ^ [ 94s] In file included from thor_mode.c:3:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 94s] #define MIN(x, y) min(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from thor_mode.c:1: [ 94s] /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 [ 94s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from thor_mode.c:3:0: [ 94s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 94s] #define MAX(x, y) max(x, y) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 94s] from thor_mode.c:1: [ 94s] /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 [ 94s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 94s] ^ [ 94s] In file included from thor_mode.c:9:0: [ 94s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 94s] PUBLIC void Emmc_DisSdClk(); [ 94s] ^ [ 94s] thor_mode.c: In function 'send_rsp': [ 94s] thor_mode.c:48:2: warning: implicit declaration of function 'USB_WriteEx' [-Wimplicit-function-declaration] [ 94s] USB_WriteEx(thor_tx_data_buf, sizeof(struct rsp_box)); [ 94s] ^ [ 94s] thor_mode.c: In function 'download_file_start': [ 94s] thor_mode.c:84:3: warning: implicit declaration of function 'USB_ReadEx' [-Wimplicit-function-declaration] [ 94s] ret = USB_ReadEx((char *) dn_addr, THOR_PACKET_SIZE); [ 94s] ^ [ 94s] thor_mode.c:99:3: warning: implicit declaration of function 'draw_progress' [-Wimplicit-function-declaration] [ 94s] draw_progress(per); [ 94s] ^ [ 94s] thor_mode.c:121:74: warning: passing argument 4 of 'Emmc_Write' makes pointer from integer without a cast [ 94s] ret = Emmc_Write(PARTITION_USER, part_info.offset + write_ofs, count, download_addr); [ 94s] ^ [ 94s] In file included from thor_mode.c:9:0: [ 94s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'u32' [ 94s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 94s] ^ [ 94s] thor_mode.c:75:6: warning: unused variable 'count' [-Wunused-variable] [ 94s] int count = 0; [ 94s] ^ [ 94s] thor_mode.c: In function 'process_rqt_download': [ 94s] thor_mode.c:174:3: warning: implicit declaration of function 'thor_get_part_info' [-Wimplicit-function-declaration] [ 94s] ret = thor_get_part_info(&part_info, f_name); [ 94s] ^ [ 94s] thor_mode.c:139:29: warning: unused variable 'ret_head' [-Wunused-variable] [ 94s] static long long int left, ret_head; [ 94s] ^ [ 94s] thor_mode.c:139:23: warning: unused variable 'left' [-Wunused-variable] [ 94s] static long long int left, ret_head; [ 94s] ^ [ 94s] thor_mode.c: In function 'process_rqt_cmd': [ 94s] thor_mode.c:248:3: warning: implicit declaration of function 'udc_power_off' [-Wimplicit-function-declaration] [ 94s] udc_power_off(); [ 94s] ^ [ 94s] thor_mode.c:249:3: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 94s] thor_save_env("thor"); [ 94s] ^ [ 94s] thor_mode.c: In function 'thor_handle': [ 94s] thor_mode.c:299:3: warning: implicit declaration of function 'thor_usb_is_connected' [-Wimplicit-function-declaration] [ 94s] if (thor_usb_is_connected()) { [ 94s] ^ [ 94s] thor_mode.c:301:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 94s] if (!strncmp(thor_rx_data_buf, "THOR", strlen("THOR"))) [ 94s] ^ [ 94s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 94s] from thor_mode.c:3: [ 94s] /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 *' [ 94s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 94s] ^ [ 94s] thor_mode.c: In function 'thor_mode': [ 94s] thor_mode.c:332:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 94s] MMU_DisableIDCM(); [ 94s] ^ [ 94s] thor_mode.c:333:2: warning: implicit declaration of function 'thor_USB_Init' [-Wimplicit-function-declaration] [ 94s] thor_USB_Init(); [ 94s] ^ [ 94s] thor_mode.c: In function 'do_thor_down': [ 94s] thor_mode.c:343:1: warning: control reaches end of non-void function [-Wreturn-type] [ 94s] } [ 94s] ^ [ 94s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 94s] -o usb/cdc_descriptor.o usb/cdc_descriptor.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 95s] from tizen_misc.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from tizen_misc.c:4: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from tizen_misc.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from tizen_misc.c:4: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from tizen_misc.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 95s] from tizen_misc.c:6: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 95s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 95s] from tizen_misc.c:6: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 95s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] PUBLIC void Emmc_DisSdClk(); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 95s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:7:0: note: this is the location of the previous definition [ 95s] #define VLR_INFO_OFF (512) [ 95s] ^ [ 95s] In file included from tizen_misc.c:12:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 95s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 95s] ^ [ 95s] In file included from tizen_misc.c:12:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] int read_spldata(); [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void vlx_entry(); [ 95s] ^ [ 95s] tizen_misc.c: In function 'convert_to_string': [ 95s] tizen_misc.c:18:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 95s] while (*buf++ = (char)*crap++); [ 95s] ^ [ 95s] tizen_misc.c: In function 'thor_save_env': [ 95s] tizen_misc.c:62:55: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Write(PARTITION_USER, part_info.start, 1, str); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c: In function 'thor_get_env': [ 95s] tizen_misc.c:82:54: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, 1, str); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:86:2: warning: function returns address of local variable [-Wreturn-local-addr] [ 95s] return str; [ 95s] ^ [ 95s] tizen_misc.c: In function 'check_pm_status': [ 95s] tizen_misc.c:103:2: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 95s] if (charger_connected()) { [ 95s] ^ [ 95s] tizen_misc.c: In function 'thor_get_part_info': [ 95s] tizen_misc.c:178:33: warning: passing argument 1 of 'strtok' discards 'const' qualifier from pointer target type [ 95s] const char *file_name = strtok(name, "."); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 95s] from tizen_misc.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:13:15: note: expected 'char *' but argument is of type 'const char *' [ 95s] extern char * strtok(char *,const char *); [ 95s] ^ [ 95s] tizen_misc.c: In function 'tizen_get_emmc_serial_number': [ 95s] tizen_misc.c:189:2: warning: implicit declaration of function 'get_global_cid' [-Wimplicit-function-declaration] [ 95s] unsigned char *regCID = get_global_cid(); [ 95s] ^ [ 95s] tizen_misc.c:189:26: warning: initialization makes pointer from integer without a cast [ 95s] unsigned char *regCID = get_global_cid(); [ 95s] ^ [ 95s] tizen_misc.c: In function 'tizen_board_key_scan': [ 95s] tizen_misc.c:212:2: warning: implicit declaration of function 'get_volumn_down_status2' [-Wimplicit-function-declaration] [ 95s] if(get_volumn_down_status2()) [ 95s] ^ [ 95s] tizen_misc.c:206:15: warning: unused variable 'key_code' [-Wunused-variable] [ 95s] unsigned int key_code = 0; [ 95s] ^ [ 95s] tizen_misc.c: At top level: [ 95s] tizen_misc.c:257:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void (*update)(); [ 95s] ^ [ 95s] tizen_misc.c: In function 'runtimenv_read_with_backup': [ 95s] tizen_misc.c:337:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, oribuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:346:2: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 95s] if (_chkNVEcc(oribuf + SECTOR_SIZE, RUNTIMENV_SIZE, checksum)) { [ 95s] ^ [ 95s] tizen_misc.c:347:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(runtimenv_adr,oribuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:356:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, bakbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h[ 83.628009] serial8250: too much work for irq4 [ 95s] :201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:367:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(runtimenv_adr,bakbuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:380:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:384:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(runtimenv_adr, bakbuf + SECTOR_SIZE, RUNTIMENV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:390:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 95s] tizen_misc.c:435:93: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, tmpbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:444:3: warning: implicit declaration of function 'calc_checksum' [-Wimplicit-function-declaration] [ 95s] tmp_header_p->checksum = (unsigned long)calc_checksum(tmpbuf, FIXNV_SIZE); [ 95s] ^ [ 95s] tizen_misc.c:452:50: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, 1, tmp_header); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:453:77: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, tmpbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:478:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong' [-Wformat=] [ 95s] printf("loading fixnv1 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 95s] ^ [ 95s] tizen_misc.c:481:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, oribuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:491:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, oribuf + SECTOR_SIZE, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:504:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong' [-Wformat=] [ 95s] printf("loading fixnv2 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 95s] ^ [ 95s] tizen_misc.c:506:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, bakbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:572:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:573:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:581:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:582:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 95s] ^ [ 95s] In file included from tizen_mi[ 83.672008] serial8250: too much work for irq4 [ 95s] sc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:584:11: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 95s] memset(fixnv_adr, 0xff, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memset(void*, int, size_t); [ 95s] ^ [ 95s] tizen_misc.c:585:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:596:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:597:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:606:12: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, bakbuf + SECTOR_SIZE,FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:619:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c:624:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 95s] memcpy(fixnv_adr, bakbuf+SECTOR_SIZE, FIXNV_SIZE); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 95s] from tizen_misc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 95s] void* memcpy(void*, const void*, size_t); [ 95s] ^ [ 95s] tizen_misc.c:630:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 95s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 95s] from tizen_misc.c:1: [ 95s] tizen_misc.c: In function 'load_modem_data': [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:83:24: warning: initialization makes pointer from integer without a cast [ 95s] #define WMODEM_ADR 0x88300000 [ 95s] ^ [ 95s] tizen_misc.c:666:23: note: in expansion of macro 'WMODEM_ADR' [ 95s] unsigned char *buf = WMODEM_ADR; [ 95s] ^ [ 95s] tizen_misc.c:671:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 95s] printf("load modem to addr 0x%08x\n", buf); [ 95s] ^ [ 95s] tizen_misc.c:693:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 95s] from tizen_misc.c:1: [ 95s] tizen_misc.c: In function 'load_dsp_data': [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:80:24: warning: initialization makes pointer from integer without a cast [ 95s] #define WDSP_ADR 0x88020000 [ 95s] ^ [ 95s] tizen_misc.c:712:23: note: in expansion of macro 'WDSP_ADR' [ 95s] unsigned char *buf = WDSP_ADR; [ 95s] ^ [ 95s] tizen_misc.c:717:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 95s] printf("load dsp to addr 0x%08x\n", buf); [ 95s] ^ [ 95s] tizen_misc.c:739:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 95s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c: In function 'load_binary_to_addr': [ 95s] tizen_misc.c:771:66: warning: passing argument 4 of 'Emmc_Read' makes pointer from integer without a cast [ 95s] ret = Emmc_Read(PARTITION_USER, info.offset, size / info.blksz, addr); [ 95s] ^ [ 95s] In file included from tizen_misc.c:9:0: [ 95s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'unsigned int' [ 95s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 95s] ^ [ 95s] tizen_misc.c: In function 'check_board_signature': [ 95s] tizen_misc.c:790:40: warning: passing argument 2 of 'load_binary_to_addr' makes integer from pointer without a cast [ 95s] ret = load_binary_to_addr(PARTS_BOOT, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 95s] ^ [ 95s] tizen_misc.c:762:12: note: expected 'unsigned int' but argument is of type 'char *' [ 95s] static int load_binary_to_addr(char *name, unsigned int addr, unsigned int size) [ 95s] ^ [ 95s] tizen_misc.c:794:40: warning: passing argument 2 of 'get_image_signature' makes integer from pointer without a cast [ 95s] ret = get_image_signature(&bh_target, bl_buf, CONFIG_SIG[ 83.718369] serial8250: too much work for irq4 [ 95s] _IMAGE_SIZE); [ 95s] ^ [ 95s] tizen_misc.c:750:5: note: expected 'unsigned int' but argument is of type 'char *' [ 95s] int get_image_signature(struct sig_header *hdr, unsigned int base_addr, [ 95s] ^ [ 95s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 95s] tizen_misc.c:550:3: warning: 'nv_backup_status' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 95s] printf("nv_backup_status = %d \n", nv_backup_status); [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o usb/drv_cdc.o usb/drv_cdc.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 95s] from usb/cdc_descriptor.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] usb/cdc_descriptor.c: In function 'thor_get_config_desc': [ 95s] usb/cdc_descriptor.c:265:2: warning: implicit declaration of function 'usb_gadget_config_buf' [-Wimplicit-function-declaration] [ 95s] usb_gadget_config_buf(&thor_config_desc, &function_desc_buf, 256, thor_function_high); [ 95s] ^ [ 95s] usb/cdc_descriptor.c: In function 'str2wide': [ 95s] usb/cdc_descriptor.c:278:2: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] [ 95s] for (i = 0; i < strlen (str) && str[i]; i++){ [ 95s] ^ [ 95s] usb/cdc_descriptor.c: At top level: [ 95s] usb/cdc_descriptor.c:236:13: warning: 'thor_device_qualifer_desc_buf' defined but not used [-Wunused-variable] [ 95s] static char thor_device_qualifer_desc_buf[sizeof(struct usb_qualifier_descriptor)] __align(32); [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o usb/usb_hw.o usb/usb_hw.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from usb/drv_cdc.c:11: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 95s] from usb/drv_cdc.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from usb/drv_cdc.c:12:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 95s] from usb/drv_cdc.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from usb/drv_cdc.c:12:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 95s] from usb/drv_cdc.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 95s] #define KPD_NUM (0x31 << 16) [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 95s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 95s] from usb/drv_cdc.c:14: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 95s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 95s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'usb_get_descriptor': [ 95s] usb/drv_cdc.c:254:4: warning: implicit declaration of function 'thor_get_device_desc' [-Wimplicit-function-declaration] [ 95s] send_data = (uint8 *) thor_get_device_desc(enum_speed); [ 95s] ^ [ 95s] usb/drv_cdc.c:260:4: warning: implicit declaration of function 'thor_get_config_desc' [-Wimplicit-function-declaration] [ 95s] send_data = (uint8 *) thor_get_config_desc(enum_speed); [ 95s] ^ [ 95s] usb/drv_cdc.c:278:4: warning: implicit declaration of function 'thor_get_string_desc' [-Wimplicit-function-declaration] [ 95s] send_data = thor_get_string_desc(str_index); [ 95s] ^ [ 95s] usb/drv_cdc.c:278:14: warning: assignment makes pointer from integer without a cast [ 95s] send_data = thor_get_string_desc(str_index); [ 95s] ^ [ 95s] usb/drv_cdc.c:292:4: warning: implicit declaration of function 'thor_get_qualifer_desc' [-Wimplicit-function-declaration] [ 95s] send_data = (uint8 *) thor_get_qualifer_desc(); [ 95s] ^ [ 95s] usb/drv_cdc.c:305:4: warning: implicit declaration of function 'thor_get_other_speed_config_desc' [-Wimplicit-function-declaration] [ 95s] send_data = (uint8 *) thor_get_other_speed_config_desc(); [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'usb_set_feature': [ 95s] usb/drv_cdc.c:389:21: warning: variable 'request1' set but not used [-Wunused-but-set-variable] [ 95s] USB_REQUEST_1_U *request1; [ 95s] ^ [ 95s] usb/drv_cdc.c:387:23: warning: unused variable 'dcfg_ptr' [-Wunused-variable] [ 95s] volatile USB_DCFG_U *dcfg_ptr = (volatile USB_DCFG_U *) USB_DCFG; [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'usb_handler': [ 95s] usb/drv_cdc.c:790:15: warning: unused variable 'string' [-Wunused-variable] [ 95s] char string[64] ={0,}; [ 95s] ^ [ 95s] usb/drv_cdc.c:789:9: warning: unused variable 'i' [-Wunused-variable] [ 95s] uint32 i=0; [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'USB_ReadEx_Internal': [ 95s] usb/drv_cdc.c:837:9: warning: unused variable 'i' [-Wunused-variable] [ 95s] int i; [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'thor_USB_Init': [ 95s] usb/drv_cdc.c:1034:2: warning: implicit declaration of function 'sprd_usb_thor_start' [-Wimplicit-function-declaration] [ 95s] sprd_usb_thor_start(); [ 95s] ^ [ 95s] usb/drv_cdc.c:1024:15: warning: unused variable 'len' [-Wunused-variable] [ 95s] unsigned int len = 0; [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'USB_DeInit': [ 95s] usb/drv_cdc.c:1045:2: warning: implicit declaration of function 'usb_power_off' [-Wimplicit-function-declaration] [ 95s] usb_power_off(); [ 95s] ^ [ 95s] usb/drv_cdc.c: At top level: [ 95s] usb/drv_cdc.c:1069:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 95s] void sprd_usb_thor_start() [ 95s] ^ [ 95s] usb/drv_cdc.c:1069:6: warning: conflicting types for 'sprd_usb_thor_start' [ 95s] usb/drv_cdc.c:1034:2: note: previous implicit declaration of 'sprd_usb_thor_start' was here [ 95s] sprd_usb_thor_start(); [ 95s] ^ [ 95s] usb/drv_cdc.c: In function 'sprd_usb_thor_start': [ 95s] usb/drv_cdc.c:1078:5: warning: 'return' with a value, in function returning void [ 95s] return -1; [ 95s] ^ [ 95s] usb/drv_cdc.c:1080:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 95s] if (!strncmp(sprd_thor_setup_buf, "THOR", strlen("THOR"))) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 95s] from usb/drv_cdc.c:12: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/string.h:39:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 95s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 95s] ^ [ 95s] usb/drv_cdc.c:1083:17: warning: pointer targets in passing argument 1 of 'USB_WriteEx' differ in signedness [-Wpointer-sign] [ 95s] USB_WriteEx("ROHT", strlen("ROHT")); [ 95s] ^ [ 95s] usb/drv_cdc.c:906:14: note: expected 'uint8 *' but argument is of type 'char *' [ 95s] PUBLIC int32 USB_WriteEx(uint8 *pBuf,uint32 len) [ 95s] ^ [ 95s] usb/drv_cdc.c:1097:2: warning: 'return' with a value, in function returning void [ 95s] return 0; [ 95s] ^ [ 95s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 95s] -o vbat_check.o vbat_check.c -c [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from usb/usb_hw.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from usb/usb_hw.c:3:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from usb/usb_hw.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from usb/usb_hw.c:3:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from usb/usb_hw.c:2:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] usb/usb_hw.c: In function 'usb_power_on': [ 95s] usb/usb_hw.c:132:6: warning: unused variable 'ret' [-Wunused-variable] [ 95s] int ret =0; [ 95s] ^ [ 95s] usb/usb_hw.c: At top level: [ 95s] usb/usb_hw.c:54:13: warning: 'ADIConfig' defined but not used [-Wunused-function] [ 95s] static void ADIConfig(void) [ 95s] ^ [ 95s] usb/usb_hw.c:67:21: warning: 'ADIAnalogdieRegRead' defined but not used [-Wunused-function] [ 95s] static unsigned int ADIAnalogdieRegRead(unsigned long addr) [ 95s] ^ [ 95s] usb/usb_hw.c:84:21: warning: 'ADIAnalogdieRegWrite' defined but not used [-Wunused-function] [ 95s] static unsigned int ADIAnalogdieRegWrite(unsigned long addr,uint16 data) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 95s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 95s] from vbat_check.c:1: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 95s] #define CONFIG_MMC 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 95s] #define CONFIG_MMC [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 95s] #define CONFIG_EFI_PARTITION 1 [ 95s] ^ [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 95s] #define CONFIG_EFI_PARTITION [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from vbat_check.c:3: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 95s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from vbat_check.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 95s] #define MAX(x, y) max(x, y) [ 95s] ^ [ 95s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 95s] from vbat_check.c:3: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 95s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 95s] ^ [ 95s] In file included from vbat_check.c:1:0: [ 95s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 95s] #define MIN(x, y) min(x, y) [ 95s] ^ [ 95s] vbat_check.c: In function 'is_bat_low': [ 95s] vbat_check.c:65:5: warning: implicit declaration of function 'sprdbat_auxadc2vbatvol' [-Wimplicit-function-declaration] [ 95s] if(sprdbat_auxadc2vbatvol (adc_value) < comp_vbat) [ 95s] ^ [ 95s] 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 [ 95s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 95s] make -C board/spreadtrum/tizen_tm1/ [ 95s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 96s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 96s] -o openphone.o openphone.c -c [ 96s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 96s] -o sprd_kp.o sprd_kp.c -c [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 96s] from openphone.c:1: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 96s] #define CONFIG_MMC 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 96s] #define CONFIG_MMC [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 96s] #define CONFIG_EFI_PARTITION 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 96s] #define CONFIG_EFI_PARTITION [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 96s] from openphone.c:3: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 96s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from openphone.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 96s] #define MAX(x, y) max(x, y) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 96s] from openphone.c:3: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 96s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from openphone.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 96s] #define MIN(x, y) min(x, y) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 96s] from openphone.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 96s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:55:0: note: this is the location of the previous definition [ 96s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 96s] ^ [ 96s] In file included from openphone.c:5:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 96s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 96s] ^ [ 96s] In file included from openphone.c:4:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:33:0: note: this is the location of the previous definition [ 96s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 96s] ^ [ 96s] In file included from openphone.c:5:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 96s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 96s] ^ [ 96s] In file included from openphone.c:4:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_ahb.h:37:0: note: this is the location of the previous definition [ 96s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 96s] from openphone.c:6: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 96s] #define KPD_NUM (0x31 << 16) [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:51:0: note: this is the location of the previous definition [ 96s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 96s] from openphone.c:12: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 96s] struct gpio_chip *chip); [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: its scope is only this definition or declaration, which is probably not what you want [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from openphone.c:14: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 96s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 96s] from openphone.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:223:0: note: this is the location of the previous definition [ 96s] #define ADC_BASE 0x40038300 //Aux ADC [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from openphone.c:14: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 96s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from openphone.c:14: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 96s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 96s] ^ [ 96s] openphone.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 96s] int mmc_sdcard_init(); [ 96s] ^ [ 96s] openphone.c:42:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 96s] void aon_26M_timer2_enable() [ 96s] ^ [ 96s] openphone.c: In function 'get_hw_rev': [ 96s] openphone.c:58:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 96s] sprd_gpio_request(NULL, hw_rev_gpio[i]); [ 96s] ^ [ 96s] openphone.c:59:3: warning: implicit declaration of function 'sprd_gpio_direction_input' [-Wimplicit-function-declaration] [ 96s] sprd_gpio_direction_input(NULL, hw_rev_gpio[i]); [ 96s] ^ [ 96s] openphone.c:60:3: warning: implicit declaration of function 'sprd_gpio_get' [-Wimplicit-function-declaration] [ 96s] hw_revision = (hw_revision << 1) | sprd_gpio_get(NULL, hw_rev_gpio[i]); [ 96s] ^ [ 96s] openphone.c:61:3: warning: implicit declaration of function 'sprd_gpio_free' [-Wimplicit-function-declaration] [ 96s] sprd_gpio_free(NULL, hw_rev_gpio[i]); [ 96s] ^ [ 96s] openphone.c: In function 'board_init': [ 96s] openphone.c:73:2: warning: implicit declaration of function 'misc_init' [-Wimplicit-function-declaration] [ 96s] misc_init(); [ 96s] ^ [ 96s] openphone.c:76:2: warning: implicit declaration of function 'sprd_eic_init' [-Wimplicit-function-declaration] [ 96s] sprd_eic_init(); [ 96s] ^ [ 96s] openphone.c:78:2: warning: implicit declaration of function 'init_ldo_sleep_gr' [-Wimplicit-function-declaration] [ 96s] init_ldo_sleep_gr(); [ 96s] ^ [ 96s] openphone.c:85:2: warning: implicit declaration of function 'check_smpl' [-Wimplicit-function-declaration] [ 96s] check_smpl(); [ 96s] ^ [ 96s] openphone.c: At top level: [ 96s] openphone.c:91:6: warning: conflicting types for 'check_smpl' [ 96s] void check_smpl(void) [ 96s] ^ [ 96s] openphone.c:85:2: note: previous implicit declaration of 'check_smpl' was here [ 96s] check_smpl(); [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 96s] from openphone.c:12: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:31:13: warning: 'gpio_is_valid' defined but not used [-Wunused-function] [ 96s] static bool gpio_is_valid(int number) [ 96s] ^ [ 96s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 96s] -o pinmap-sp7730.o pinmap-sp7730.c -c [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 96s] from sprd_kp.c:1: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 96s] #define CONFIG_MMC 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 96s] #define CONFIG_MMC [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 96s] #define CONFIG_EFI_PARTITION 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 96s] #define CONFIG_EFI_PARTITION [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 96s] from sprd_kp.c:4: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 96s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from sprd_kp.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 96s] #define MAX(x, y) max(x, y) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 96s] from sprd_kp.c:4: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 96s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 96s] ^ [ 96s] In file included from sprd_kp.c:1:0: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 96s] #define MIN(x, y) min(x, y) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 96s] from sprd_kp.c:6: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 96s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 96s] from sprd_kp.c:6: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 96s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 96s] ^ [ 96s] sprd_kp.c: In function 'board_keypad_init': [ 96s] sprd_kp.c:14:18: warning: unused variable 'key_type' [-Wunused-variable] [ 96s] unsigned int key_type; [ 96s] ^ [ 96s] sprd_kp.c: In function 'board_key_scan': [ 96s] sprd_kp.c:104:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 96s] sprd_eic_request(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 96s] ^ [ 96s] sprd_kp.c:106:2: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 96s] volumeup = sprd_eic_get(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 96s] ^ [ 96s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 96s] -o ldo_sleep.o ldo_sleep.c -c [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:19, [ 96s] from pinmap-sp7730.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 96s] #define CONFIG_MMC 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 96s] #define CONFIG_MMC [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 96s] #define CONFIG_EFI_PARTITION 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 96s] #define CONFIG_EFI_PARTITION [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from pinmap-sp7730.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 96s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 96s] from pinmap-sp7730.c:5: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 96s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 96s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 96s] from ldo_sleep.c:1: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 96s] #define CONFIG_MMC 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 96s] #define CONFIG_MMC [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 96s] #define CONFIG_EFI_PARTITION 1 [ 96s] ^ [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 96s] #define CONFIG_EFI_PARTITION [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 96s] from ldo_sleep.c:4: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h:28:0: warning: "BIT_GPU_SOFT_RST" redefined [ 96s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 96s] ^ [ 96s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 96s] from ldo_sleep.c:4: [ 96s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_pmu_apb_tshark2.h:399:0: note: this is the location of the previous definition [ 96s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 96s] ^ [ 96s] ldo_sleep.c: In function 'init_ldo_sleep_gr': [ 96s] ldo_sleep.c:774:2: warning: implicit declaration of function 'CSP_Init' [-Wimplicit-function-declaration] [ 96s] CSP_Init(0); [ 96s] ^ [ 96s] ar crv libtizen_tm1.o openphone.o sprd_kp.o pinmap-sp7730.o ldo_sleep.o [ 96s] a - openphone.o [ 96s] a - sprd_kp.o [ 96s] a - pinmap-sp7730.o [ 96s] a - ldo_sleep.o [ 96s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 96s] 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.2 -lgcc -Map u-boot.map -o u-boot [ 96s] objcopy -O srec u-boot u-boot.srec [ 96s] objcopy --gap-fill 0xff -O binary u-boot u-boot.bin [ 96s] + chmod 755 tools/mkimage_signed.sh [ 96s] + mkimage_signed.sh u-boot.bin tizen_tm1 [ 96s] ##################################### [ 96s] Running script: tools/mkimage_signed.sh [ 96s] Config: tizen_tm1 [ 96s] Input binary: u-boot.bin [ 97s] Input bytes: 616804 (Max size: 1048064 B) [ 97s] [ 97s] Header info: [ 97s] HDR length: 512 Bytes [ 97s] SIG magic: "BoOt" [ 97s] SIG size: 0 [ 97s] SIG valid: 0 [ 97s] SIG date: "2017010503" (YYMMDDHH) [ 97s] SIG version: "none" [ 97s] SIG board: "tizen_tm1" [ 97s] [ 97s] Output signed binary: u-boot-mmc.bin [ 97s] ##################################### [ 97s] + exit 0 [ 97s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aUA8nK [ 97s] + umask 022 [ 97s] + cd /home/abuild/rpmbuild/BUILD [ 97s] + cd u-boot-sprd-2010.12 [ 97s] + LANG=C [ 97s] + export LANG [ 97s] + unset DISPLAY [ 97s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm [ 97s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm [ 97s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm [ 97s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm/boot/u-boot [ 97s] + install -d /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm/boot/u-boot [ 97s] + install -m 755 u-boot.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm/boot/u-boot [ 97s] + install -m 755 u-boot-mmc.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm/boot/u-boot [ 97s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12 [ 97s] + /usr/lib/rpm/check-buildroot [ 97s] + /usr/lib/rpm//brp-compress [ 97s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 97s] + /usr/lib/rpm/brp-python-hardlink [ 97s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm [ 97s] Processing files: u-boot-sprd-debugsource-2010.12-1.2.armv7l [ 97s] Provides: u-boot-sprd-debugsource = 2010.12-1.2 u-boot-sprd-debugsource(armv7l-32) = 2010.12-1.2 [ 97s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 97s] Processing files: u-boot-tm1-2010.12-1.2.armv7l [ 97s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 97s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 97s] [ 97s] Provides: u-boot-tm1 = 2010.12-1.2 u-boot-tm1(armv7l-32) = 2010.12-1.2 [ 97s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 97s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm [ 97s] warning: Could not canonicalize hostname: w11 [ 97s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-1.2.src.rpm [ 97s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-1.2.armv7l.rpm [ 98s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-1.2.armv7l.rpm [ 98s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YAmGeb [ 98s] + umask 022 [ 98s] + cd /home/abuild/rpmbuild/BUILD [ 98s] + cd u-boot-sprd-2010.12 [ 98s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.2.arm [ 98s] + exit 0 [ 98s] ... checking for files with abuild user/group [ 98s] ... creating baselibs [ 99s] ... comparing built packages with the former built [ 99s] /usr/lib/build/pkg-diff.sh [ 99s] /usr/lib/build/same-build-result.sh: line 36: is_prerelease_project: command not found [ 99s] This is a prerelease project. Do not check the existence of source rpm files. [ 99s] compare /.build.oldpackages/u-boot-sprd-debugsource-2010.12-1.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-1.2.armv7l.rpm [ 99s] Comparing u-boot-sprd-debugsource-2010.12-1.1.armv7l.rpm to u-boot-sprd-debugsource-2010.12-1.2.armv7l.rpm [ 99s] This is not a prerelease project. Compare the project name. [ 99s] comparing rpmtags [ 99s] comparing RELEASE [ 99s] comparing PROVIDES [ 99s] comparing scripts [ 99s] comparing filelist [ 99s] comparing file checksum [ 99s] creating rename script [ 99s] RPM meta information is identical [ 99s] compare /.build.oldpackages/u-boot-tm1-2010.12-1.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-1.2.armv7l.rpm [ 100s] Comparing u-boot-tm1-2010.12-1.1.armv7l.rpm to u-boot-tm1-2010.12-1.2.armv7l.rpm [ 100s] This is not a prerelease project. Compare the project name. [ 100s] comparing rpmtags [ 100s] comparing RELEASE [ 100s] comparing PROVIDES [ 100s] comparing scripts [ 100s] comparing filelist [ 100s] comparing file checksum [ 100s] creating rename script [ 100s] RPM file checksum differs. [ 100s] Extracting packages [ 100s] /boot/u-boot/u-boot-mmc.bin differs (data) [ 104s] --- /tmp/tmp.UTINm20187/tmp.tGZHq20286 2017-01-05 03:14:34.610300536 +0000 [ 104s] +++ /tmp/tmp.UTINm20187/tmp.azFhI20288 2017-01-05 03:14:34.598300537 +0000 [ 104s] @@ -17507,7 +17507,7 @@ [ 104s] 00044620 6f 74 20 32 30 31 30 2e 31 32 2d 67 66 62 32 38 |ot 2010.12-gfb28| [ 104s] 00044630 66 30 36 36 62 2d 54 49 5a 45 4e 2e 6f 72 67 20 |f066b-TIZEN.org | [ 104s] 00044640 28 4a 61 6e 20 30 35 20 32 30 31 37 20 2d 20 30 |(Jan 05 2017 - 0| [ 104s] -00044650 32 3a 35 37 3a 31 38 29 00 00 00 00 04 92 64 9f |2:57:18)......d.| [ 104s] +00044650 33 3a 31 34 3a 31 33 29 00 00 00 00 04 92 64 9f |3:14:13)......d.| [ 104s] 00044660 0c 92 64 9f 13 92 64 9f 1a 92 64 9f 21 92 64 9f |..d...d...d.!.d.| [ 104s] 00044670 28 92 64 9f 2f 92 64 9f 36 92 64 9f 3d 92 64 9f |(.d./.d.6.d.=.d.| [ 104s] 00044680 44 92 64 9f 4b 92 64 9f 53 92 64 9f 5b 92 64 9f |D.d.K.d.S.d.[.d.| [ 104s] @@ -37995,7 +37995,7 @@ [ 104s] 00096970 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [ 104s] * [ 104s] 000ffe00 42 6f 4f 74 00 00 00 00 00 00 00 00 32 30 31 37 |BoOt........2017| [ 104s] -000ffe10 30 31 30 35 30 32 00 00 6e 6f 6e 65 00 00 00 00 |010502..none....| [ 104s] +000ffe10 30 31 30 35 30 33 00 00 6e 6f 6e 65 00 00 00 00 |010503..none....| [ 104s] 000ffe20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [ 104s] 000ffe30 74 69 7a 65 6e 5f 74 6d 31 00 00 00 00 00 00 00 |tizen_tm1.......| [ 104s] 000ffe40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [ 104s] do not compare rpmlint.log if it is a prerelease project! [ 104s] ... saving built statistics [ 104s] ... saving built packages [ 104s] /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-1.2.armv7l.rpm [ 104s] /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-1.2.armv7l.rpm [ 104s] /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-1.2.src.rpm [ 104s] /home/abuild/rpmbuild/OTHER/_statistics [ 104s] [ 104s] w11 finished "build u-boot-tm1.spec" at Thu Jan 5 03:14:34 UTC 2017. [ 104s] [ 107s] [ 96.527158] SysRq : Power Off [ 108s] [ 96.644209] Power down. [ 108s] build: extracting built packages... [ 109s] u-boot-sprd-debugsource-2010.12-1.2.armv7l.rpm [ 109s] u-boot-tm1-2010.12-1.2.armv7l.rpm [ 109s] u-boot-sprd-2010.12-1.2.src.rpm [ 109s] _statistics