[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_5 [ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel [ 0s] [ 0s] [ 0s] obsnw18 started "build _service:gbs:u-boot-tm1.spec" at Fri May 17 01:48:01 UTC 2019. [ 0s] [ 0s] Building u-boot-tm1 for project 'Tizen:3.0:Mobile' repository 'target-TM1' arch 'armv7l' srcmd5 'dabba8ba4f9b9b2d4d47511ef9c4d44b' [ 0s] [ 0s] processing recipe /var/cache/build/root_5/.build-srcdir/_service:gbs:u-boot-tm1.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_5/.build-srcdir/_service:gbs:u-boot-tm1.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/5/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_5/.build.rpmlist /var/cache/build/root_5/.build-srcdir/_service:gbs:u-boot-tm1.spec build rpmlint-Factory ... [ 0s] copying qemu [ 0s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 0s] [ 0s] registering binfmt handlers for cross build [ 0s] write: Invalid argument [ 0s] /proc/sys/fs/binfmt_misc/register: write failed [ 0s] /var/run/obs/worker/5/build/qemu-reg: line 8: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P [ 0s] [ 0s] /.build/qemu-reg: No such file or directory [ 0s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 0s] /usr/lib/build/qemu-reg: No such file or directory [ 0s] /usr/lib/build/qemu-reg: binfmt registration failed [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/40] preinstalling libmagic-data... [ 1s] [2/40] preinstalling setup... [ 1s] [3/40] preinstalling filesystem... [ 1s] [4/40] preinstalling glibc... [ 1s] [5/40] preinstalling libgcc... [ 1s] [6/40] preinstalling bash... [ 1s] [7/40] preinstalling diffutils... [ 1s] [8/40] preinstalling grep... [ 1s] [9/40] preinstalling libattr... [ 1s] [10/40] preinstalling libbz2... [ 1s] [11/40] preinstalling libcap... [ 1s] [12/40] preinstalling libelf... [ 1s] [13/40] preinstalling libfreebl3... [ 1s] [14/40] preinstalling liblua... [ 1s] [15/40] preinstalling liblzma... [ 1s] [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... [ 5s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 5s] [26/40] preinstalling coreutils... [ 5s] [27/40] preinstalling libacl... [ 5s] [28/40] preinstalling libblkid... [ 5s] [29/40] preinstalling libreadline... [ 6s] [30/40] preinstalling smack... [ 6s] [31/40] preinstalling bzip2... [ 6s] [32/40] preinstalling libmagic... [ 6s] [33/40] preinstalling libxml2... [ 6s] [34/40] preinstalling tar... [ 6s] [35/40] preinstalling libmount... [ 6s] [36/40] preinstalling util-linux... [ 6s] [37/40] preinstalling util-linux-su... [ 6s] [38/40] preinstalling nss... [ 6s] [39/40] preinstalling libsoftokn3... [ 6s] [40/40] preinstalling rpm... [ 6s] [ 6s] running qemu-linux-user-x86_64-cross postinstall script [ 6s] running qemu-accel-x86_64-armv7l postinstall script [ 6s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/liblto_plugin.so': No such file or directory [ 6s] running setup postinstall script [ 6s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 6s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 6s] initializing rpm db... [ 6s] reordering...cycle: libsoftokn3 -> nss [ 6s] breaking dependency nss -> libsoftokn3 [ 6s] done [ 6s] [1/89] installing libmagic-data-5.28-2.20 [ 6s] [2/89] installing setup-0.9-2.6 [ 6s] [3/89] installing terminfo-base-5.9-1.39 [ 7s] [4/89] installing filesystem-3.1-1.2 [ 7s] [5/89] installing glibc-2.20-3.2 [ 7s] [6/89] installing libatomic-4.9.2-1.18 [ 7s] [7/89] installing libgcc-4.9.2-1.18 [ 8s] [8/89] installing libgomp-4.9.2-1.18 [ 8s] [9/89] installing bash-3.2.57-2.1 [ 8s] [10/89] installing cpio-2.11-1.3 [ 8s] [11/89] installing diffutils-3.3-1.3 [ 8s] [12/89] installing findutils-4.3.8-1.40 [ 8s] [13/89] installing hostname-3.12-1.3 [ 8s] [14/89] installing libattr-2.4.47-1.39 [ 8s] [15/89] installing libbz2-1.0.6-1.61 [ 9s] [16/89] installing libcap-2.24-1.39 [ 9s] [17/89] installing libelf-0.153-1.39 [ 9s] [18/89] installing libext2fs-1.42.13-1.3 [ 9s] [19/89] installing libfreebl3-3.23-1.54 [ 10s] [20/89] installing libitm-4.9.2-1.18 [ 10s] [21/89] installing libltdl-2.4.2-1.43 [ 10s] [22/89] installing liblua-5.1.5-2.1 [ 10s] [23/89] installing liblzma-5.2.2-1.33 [ 11s] [24/89] installing libpcre-8.39-2.2 [ 11s] [25/89] installing libpopt-1.16-1.15 [ 11s] [26/89] installing libsmack-1.3.0-2.18 [ 12s] [27/89] installing libsmartcols-2.28-2.1 [ 12s] [28/89] installing libsqlite-3.8.10.2-2.5 [ 12s] [29/89] installing libstdc++-4.9.2-1.18 [ 12s] [30/89] installing libuuid-2.28-2.1 [ 13s] [31/89] installing m4-1.4.17-1.3 [ 13s] [32/89] installing net-tools-2.0_20121208git-1.3 [ 13s] [33/89] installing nspr-4.12-1.20 [ 13s] [34/89] installing patch-2.7-1.15 [ 13s] [35/89] installing pkg-config-0.28-1.42 [ 13s] [36/89] installing sed-4.1c-1.3 [ 13s] [37/89] installing update-alternatives-1.16.3-1.3 [ 13s] [38/89] installing which-2.20-1.3 [ 13s] [39/89] installing zlib-1.2.8-1.43 [ 13s] [40/89] installing libncurses-5.9-1.39 [ 14s] [41/89] installing build-compare-2015.04.28-1.34 [ 14s] [42/89] installing libstdc++-devel-4.9.2-1.18 [ 14s] [43/89] installing qemu-linux-user-x86_64-cross-2.7.0-1.5.1 [ 15s] [44/89] installing cpp-4.9.2-1.18 [ 16s] [45/89] installing gcc-c++-4.9.2-1.18 [ 16s] [46/89] installing binutils-2.25-1.11 [ 16s] [47/89] installing coreutils-6.9-1.3 [ 17s] [48/89] installing db4-4.8.30.NC-1.46 [ 17s] [49/89] installing gawk-3.1.5-1.3 [ 17s] [50/89] installing grep-2.5.2-1.3 [ 17s] [51/89] installing less-466-1.3 [ 17s] [52/89] installing libacl-2.2.52-1.40 [ 17s] [53/89] installing libasm-0.153-1.39 [ 17s] [54/89] installing libblkid-2.28-2.1 [ 18s] [55/89] installing libreadline-5.2-1.38 [ 18s] [56/89] installing libubsan-4.9.2-1.18 [ 18s] [57/89] installing make-4.0-1.15 [ 19s] [58/89] installing nss-certs-3.23-1.54 [ 19s] [59/89] installing smack-1.3.0-2.18 [ 19s] [60/89] installing bzip2-1.0.6-1.61 [ 19s] [61/89] installing libmagic-5.28-2.20 [ 19s] [62/89] installing libxml2-2.9.4-2.35 [ 19s] [63/89] installing xz-5.2.2-1.33 [ 19s] [64/89] installing libdw-0.153-1.39 [ 20s] [65/89] installing linux-glibc-devel-3.10-1.44 [ 20s] [66/89] installing file-5.28-2.20 [ 20s] [67/89] installing glibc-locale-2.20-3.2 [ 21s] [68/89] installing tar-1.17-1.3 [ 21s] [69/89] installing gzip-1.3.12-1.39 [ 21s] [70/89] installing libfdisk1-2.28-2.1 [ 21s] [71/89] installing libmount-2.28-2.1 [ 21s] [72/89] installing pam-1.1.6-1.2 [ 22s] [73/89] installing perl-5.20.0-1.43 [ 23s] [74/89] installing tzdata-2016i-2.3 [ 23s] [75/89] installing elfutils-0.153-1.39 [ 23s] [76/89] installing gcc-4.9.2-1.18 [ 24s] [77/89] installing build-mkbaselibs-20120927-1.3 [ 24s] [78/89] installing glibc-devel-2.20-3.2 [ 24s] [79/89] installing qemu-accel-x86_64-armv7l-0.4-1.12 [ 28s] [80/89] installing autoconf-2.69-1.46 [ 28s] [81/89] installing util-linux-2.28-2.1 [ 28s] [82/89] installing automake-1.14.1-1.41 [ 29s] [83/89] installing util-linux-su-2.28-2.1 [ 29s] [84/89] installing build-20120927-1.3 [ 29s] [85/89] installing libtool-2.4.2-1.43 [ 29s] [86/89] installing nss-3.23-1.54 [ 29s] [87/89] installing libsoftokn3-3.23-1.54 [ 30s] [88/89] installing rpm-4.11.0.1-2.15 [ 30s] [89/89] installing rpm-build-4.11.0.1-2.15 [ 30s] removing nis flags from /var/cache/build/root_5/etc/nsswitch.conf... [ 30s] now finalizing build dir... [ 30s] Running build time source services... [ 31s] build target is armv7l-tizen-linux [ 31s] ----------------------------------------------------------------- [ 31s] I have the following modifications for u-boot-tm1.spec: [ 31s] 5c5 [ 31s] < Release: 0 [ 31s] --- [ 31s] > Release: 1.11 [ 31s] ----------------------------------------------------------------- [ 31s] ----- building u-boot-tm1.spec (user abuild) [ 31s] ----------------------------------------------------------------- [ 31s] ----------------------------------------------------------------- [ 31s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:3.0:Mobile/target-TM1/dabba8ba4f9b9b2d4d47511ef9c4d44b-u-boot-tm1' -ba /home/abuild/rpmbuild/SOURCES/u-boot-tm1.spec [ 31s] Building target platforms: armv7l-tizen-linux [ 31s] Building for target armv7l-tizen-linux [ 31s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.58csDD [ 31s] + umask 022 [ 31s] + cd /home/abuild/rpmbuild/BUILD [ 31s] + cd /home/abuild/rpmbuild/BUILD [ 31s] + rm -rf u-boot-sprd-2010.12 [ 31s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-sprd-2010.12.tar.bz2 [ 31s] + /bin/tar -xf - [ 32s] + STATUS=0 [ 32s] + '[' 0 -ne 0 ']' [ 32s] + cd u-boot-sprd-2010.12 [ 32s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 32s] + exit 0 [ 32s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MlNc2S [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + cd u-boot-sprd-2010.12 [ 32s] ++ uname -m [ 32s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 32s] + LANG=C [ 32s] + export LANG [ 32s] + unset DISPLAY [ 32s] + 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' [ 32s] + export CFLAGS [ 32s] + 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' [ 32s] + export CXXFLAGS [ 32s] + 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' [ 32s] + export FFLAGS [ 32s] + LDFLAGS= [ 32s] + export LDFLAGS [ 32s] + LD_AS_NEEDED=1 [ 32s] + export LD_AS_NEEDED [ 32s] + cp /home/abuild/rpmbuild/SOURCES/u-boot-tm1.manifest . [ 33s] + make distclean [ 33s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 33s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 33s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 33s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 33s] + make tizen_tm1_config [ 33s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 33s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 33s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 33s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 33s] Configuring for tizen_tm1 board... [ 33s] + make -j4 '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 [ 33s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 33s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 33s] Generating include/autoconf.mk [ 33s] Generating include/autoconf.mk.dep [ 33s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 33s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 34s] gcc -DDO_DEPS_ONLY \ [ 34s] -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 34s] -o lib/asm-offsets.s lib/asm-offsets.c -c -S [ 34s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 34s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 34s] from lib/asm-offsets.c:18: [ 34s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 34s] #define CONFIG_MMC 1 [ 34s] ^ [ 34s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 34s] #define CONFIG_MMC [ 34s] ^ [ 34s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 34s] #define CONFIG_EFI_PARTITION 1 [ 34s] ^ [ 34s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 34s] #define CONFIG_EFI_PARTITION [ 34s] ^ [ 34s] Generating include/generated/generic-asm-offsets.h [ 34s] tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h [ 34s] 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 \ [ 34s] make -C $dir _depend ; done [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 34s] make[1]: Nothing to be done for '_depend'. [ 34s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 35s] make[1]: Nothing to be done for '_depend'. [ 35s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 35s] make[1]: Nothing to be done for '_depend'. [ 35s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 36s] make[1]: Nothing to be done for '_depend'. [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 36s] make[1]: Nothing to be done for '_depend'. [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 36s] make -C tools all [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 36s] 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 [ 36s] 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 [ 36s] 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 [ 36s] 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 [ 36s] 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 [ 36s] 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 [ 36s] 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 [ 36s] 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 [ 36s] kwbimage.c: In function 'kwbimage_verify_header': [ 36s] kwbimage.c:351:10: warning: variable 'calc_exthdrcsum' set but not used [-Wunused-but-set-variable] [ 36s] uint8_t calc_exthdrcsum; [ 36s] ^ [ 36s] 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 [ 36s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/md5.c: In function 'MD5Final': [ 36s] /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] [ 36s] ((__u32 *) ctx->in)[14] = ctx->bits[0]; [ 36s] ^ [ 36s] /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] [ 36s] ((__u32 *) ctx->in)[15] = ctx->bits[1]; [ 36s] ^ [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] /bin/true bmp_logo [ 37s] ./bmp_logo logos/denx.bmp >/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/bmp_logo.h [ 37s] /bin/true mkimage [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 37s] + make -j4 '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 [ 37s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 37s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 37s] make -C tools/env all MTD_VERSION= [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 38s] ln -s ../../lib/crc32.c crc32.c [ 38s] 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 [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 38s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 38s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 38s] ++ echo profile/mobile/platform/kernel/u-boot-tm1#fdb943defeec50b831204a8027fad1e4b3a4f5a7 [ 38s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 38s] + make -j4 EXTRAVERSION=-gfdb943def-TIZEN.org [ 39s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 39s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 39s] 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 \ [ 39s] make -C $dir _depend ; done [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 39s] make[1]: Nothing to be done for '_depend'. [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 39s] make[1]: Nothing to be done for '_depend'. [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 39s] make[1]: Nothing to be done for '_depend'. [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 39s] make[1]: Nothing to be done for '_depend'. [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 39s] make[1]: Nothing to be done for '_depend'. [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 39s] make -C tools all [ 40s] make -C examples/standalone all [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 40s] make -C examples/api all [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 40s] make -C arch/arm/cpu/armv7 start.o [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 40s] make -C /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ u-boot.lds [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 40s] -o hello_world.o hello_world.c -c [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 40s] from hello_world.c:24: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 40s] #define CONFIG_MMC 1 [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 40s] #define CONFIG_MMC [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 40s] #define CONFIG_EFI_PARTITION 1 [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 40s] #define CONFIG_EFI_PARTITION [ 40s] ^ [ 40s] make[1]: Nothing to be done for 'all'. [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 40s] -o stubs.o stubs.c -c [ 40s] 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 \ [ 40s] -o start.o start.S -c [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/exports.h:6, [ 40s] from stubs.c:1: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 40s] #define CONFIG_MMC 1 [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 40s] #define CONFIG_MMC [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 40s] #define CONFIG_EFI_PARTITION 1 [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 40s] #define CONFIG_EFI_PARTITION [ 40s] ^ [ 40s] ld -r -o libstubs.o stubs.o [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 40s] from start.S:33: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 40s] #define CONFIG_MMC 1 [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 40s] #define CONFIG_MMC [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 40s] #define CONFIG_EFI_PARTITION 1 [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 40s] #define CONFIG_EFI_PARTITION [ 40s] ^ [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 40s] make[1]: Nothing to be done for 'u-boot.lds'. [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 40s] 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 [ 40s] ld -g -Ttext 0xc100000 \ [ 40s] -o hello_world -e hello_world hello_world.o libstubs.o \ [ 40s] -L/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2 -lgcc [ 40s] objcopy -O srec hello_world hello_world.srec 2>/dev/null [ 40s] objcopy -O binary hello_world hello_world.bin 2>/dev/null [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 40s] make -C api/ [ 40s] make -C arch/arm/cpu/armv7/ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 40s] make -C arch/arm/cpu/armv7/sc8830/ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 40s] make -C arch/arm/lib/ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 40s] -o cpu.o cpu.c -c [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 40s] from cpu.c:34: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 40s] #define CONFIG_MMC 1 [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 40s] #define CONFIG_MMC [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 40s] #define CONFIG_EFI_PARTITION 1 [ 40s] ^ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 40s] #define CONFIG_EFI_PARTITION [ 40s] ^ [ 40s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 40s] -o syslib.o syslib.c -c [ 40s] rm -f libapi.o; ar rcs libapi.o [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 41s] from syslib.c:24: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 41s] #define CONFIG_MMC 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 41s] #define CONFIG_MMC [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 41s] #define CONFIG_EFI_PARTITION 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 41s] #define CONFIG_EFI_PARTITION [ 41s] ^ [ 41s] ld -r -o libarmv7.o cpu.o syslib.o [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 41s] make -C common/ [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 41s] make -C disk/ [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 41s] -o part.o part.c -c [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 41s] -o board.o board.c -c [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 41s] from part.c:24: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 41s] #define CONFIG_MMC 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 41s] #define CONFIG_MMC [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 41s] #define CONFIG_EFI_PARTITION 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 41s] #define CONFIG_EFI_PARTITION [ 41s] ^ [ 41s] part.c: In function 'get_partition_info_with_partnum': [ 41s] part.c:397:3: warning: implicit declaration of function 'get_partition_info_efi_with_partnum' [-Wimplicit-function-declaration] [ 41s] if (get_partition_info_efi_with_partnum(dev_desc,part,info, total, sdidx, sdpart, sdinfo) == 0) { [ 41s] ^ [ 41s] part.c: In function 'get_all_partition_info': [ 41s] part.c:414:3: warning: implicit declaration of function 'get_all_partition_info_efi' [-Wimplicit-function-declaration] [ 41s] if (get_all_partition_info_efi(dev_desc,info,total_partition_num) == 0) { [ 41s] ^ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 41s] from board.c:41: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 41s] #define CONFIG_MMC 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 41s] #define CONFIG_MMC [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 41s] #define CONFIG_EFI_PARTITION 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 41s] #define CONFIG_EFI_PARTITION [ 41s] ^ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 41s] -o part_dos.o part_dos.c -c [ 41s] board.c: In function 'board_init_r': [ 41s] board.c:468:2: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 41s] performance_debug("1:"); [ 41s] ^ [ 41s] board.c:468:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 41s] board.c:493:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 41s] performance_debug("2:"); [ 41s] ^ [ 41s] board.c:548:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 41s] performance_debug("3:"); [ 41s] ^ [ 41s] board.c:557:2: warning: implicit declaration of function 'mmc_legacy_init' [-Wimplicit-function-declaration] [ 41s] mmc_legacy_init(1); [ 41s] ^ [ 41s] board.c:574:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 41s] performance_debug("4:"); [ 41s] ^ [ 41s] board.c:683:5: warning: implicit declaration of function 'MMU_Init' [-Wimplicit-function-declaration] [ 41s] MMU_Init(CONFIG_MMU_TABLE_ADDR); [ 41s] ^ [ 41s] board.c:699:13: warning: implicit declaration of function 'DCDC_Cal_ArmCore' [-Wimplicit-function-declaration] [ 41s] DCDC_Cal_ArmCore(); [ 41s] ^ [ 41s] board.c:700:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 41s] performance_debug("6:"); [ 41s] ^ [ 41s] board.c:706:5: warning: implicit declaration of function 'board_keypad_init' [-Wimplicit-function-declaration] [ 41s] board_keypad_init(); [ 41s] ^ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 41s] -o bootm.o bootm.c -c [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 41s] from part_dos.c:33: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 41s] #define CONFIG_MMC 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 41s] #define CONFIG_MMC [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 41s] #define CONFIG_EFI_PARTITION 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 41s] #define CONFIG_EFI_PARTITION [ 41s] ^ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 41s] from bootm.c:24: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 41s] #define CONFIG_MMC 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 41s] #define CONFIG_MMC [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 41s] #define CONFIG_EFI_PARTITION 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 41s] #define CONFIG_EFI_PARTITION [ 41s] ^ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 41s] -o part_efi.o part_efi.c -c [ 41s] bootm.c: In function 'bootm_linux_fdt': [ 41s] bootm.c:186:8: warning: unused variable 'of_size' [-Wunused-variable] [ 41s] ulong of_size = images->ft_len; [ 41s] ^ [ 41s] bootm.c:185:8: warning: unused variable 'bootmap_base' [-Wunused-variable] [ 41s] ulong bootmap_base = getenv_bootm_low(); [ 41s] ^ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 41s] -o cache.o cache.c -c [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 41s] from part_efi.c:34: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 41s] #define CONFIG_MMC 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 41s] #define CONFIG_MMC [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 41s] #define CONFIG_EFI_PARTITION 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 41s] #define CONFIG_EFI_PARTITION [ 41s] ^ [ 41s] part_efi.c:600:12: warning: 'format_gpt_valid' defined but not used [-Wunused-function] [ 41s] static int format_gpt_valid(block_dev_desc_t * dev_desc, unsigned long long lba, [ 41s] ^ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 41s] from cache.c:26: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 41s] #define CONFIG_MMC 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 41s] #define CONFIG_MMC [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 41s] #define CONFIG_EFI_PARTITION 1 [ 41s] ^ [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 41s] #define CONFIG_EFI_PARTITION [ 41s] ^ [ 41s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 41s] -o cache-cp15.o cache-cp15.c -c [ 42s] ld -r -o libdisk.o part.o part_dos.o part_efi.o [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from cache-cp15.c:24: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o interrupts.o interrupts.c -c [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 42s] make -C drivers/bios_emulator/ [ 42s] 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 \ [ 42s] -o mmu_asm.o mmu_asm.S -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from interrupts.c:38: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from mmu_asm.S:13: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o generic.o generic.c -c [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o reset.o reset.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from generic.c:25: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from reset.c:40: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o timer.o timer.c -c [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o eabi_compat.o eabi_compat.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from timer.c:39: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from eabi_compat.c:12: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] In file included from timer.c:44:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 42s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from timer.c:39:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 42s] #define MAX(x, y) max(x, y) [ 42s] ^ [ 42s] In file included from timer.c:44:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 42s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from timer.c:39:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 42s] #define MIN(x, y) min(x, y) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 42s] from timer.c:46: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 42s] from timer.c:46: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 42s] ^ [ 42s] ld -r -o libarm.o board.o bootm.o cache.o cache-cp15.o interrupts.o reset.o [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o reset.o reset.c -c [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 42s] make -C drivers/block/ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from reset.c:35: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] In file included from reset.c:37:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 42s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from reset.c:35:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 42s] #define MAX(x, y) max(x, y) [ 42s] ^ [ 42s] In file included from reset.c:37:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 42s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from reset.c:35:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 42s] #define MIN(x, y) min(x, y) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 42s] from reset.c:38: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 42s] #define KPD_NUM (0x31 << 16) [ 42s] ^ [ 42s] /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 [ 42s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 42s] from reset.c:38: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 42s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 42s] ^ [ 42s] /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 [ 42s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 42s] from reset.c:40: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 42s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 42s] from reset.c:38: [ 42s] /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 [ 42s] #define ADC_BASE 0x40038300 //Aux ADC [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 42s] from reset.c:40: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 42s] from reset.c:40: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 42s] ^ [ 42s] reset.c: In function 'reset_cpu': [ 42s] reset.c:46:2: warning: implicit declaration of function 'start_watchdog' [-Wimplicit-function-declaration] [ 42s] start_watchdog(5); [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o ldo.o ldo.c -c [ 42s] rm -f libatibiosemu.o; ar rcs libatibiosemu.o [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from ldo.c:19: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 42s] from ldo.c:22: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 42s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from ldo.c:19:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 42s] #define MAX(x, y) max(x, y) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 42s] from ldo.c:22: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 42s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from ldo.c:19:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 42s] #define MIN(x, y) min(x, y) [ 42s] ^ [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o mfp_sprd.o mfp_sprd.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 42s] from ldo.c:24: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 42s] from ldo.c:24: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 42s] ^ [ 42s] ldo.c: In function '__LDO_IDX': [ 42s] ldo.c:139:17: warning: comparison between 'LDO_ID_E' and 'SLP_LDO_E' [-Wenum-compare] [ 42s] if(ldo_id == s_ldo_ctl_data[i].id) [ 42s] ^ [ 42s] ldo.c: In function 'LDO_Init': [ 42s] ldo.c:157:2: warning: implicit declaration of function 'regulator_init' [-Wimplicit-function-declaration] [ 42s] return regulator_init(); [ 42s] ^ [ 42s] ldo.c: In function 'LDO_GetLdoCtl': [ 42s] ldo.c:217:28: warning: comparison between 'SLP_LDO_E' and 'LDO_ID_E' [-Wenum-compare] [ 42s] if (s_ldo_ctl_data[i].id == ldo_id) [ 42s] ^ [ 42s] ldo.c:219:8: warning: assignment from incompatible pointer type [ 42s] ctl = &s_ldo_ctl_data[i]; [ 42s] ^ [ 42s] make -C drivers/clk/ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 42s] from mfp_sprd.c:20: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 42s] from mfp_sprd.c:20: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from mfp_sprd.c:23: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o cmd_bdinfo.o cmd_bdinfo.c -c [ 42s] mfp_sprd.c:111:22: warning: 'spi_cs1_gpio_cfg' defined but not used [-Wunused-variable] [ 42s] static unsigned long spi_cs1_gpio_cfg = MFP_CFG_X(SPI_CSN0, GPIO, DS1, F_PULL_NONE, S_PULL_DOWN, IO_NONE); [ 42s] ^ [ 42s] mfp_sprd.c: In function 'mfp_to_gpio': [ 42s] mfp_sprd.c:44:1: warning: control reaches end of non-void function [-Wreturn-type] [ 42s] } [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o mmu.o mmu.c -c [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from cmd_bdinfo.c:27: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o cmd_boot.o cmd_boot.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 42s] from mmu.c:2: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] mmu.c: In function 'MMU_Init': [ 42s] mmu.c:55:22: warning: assignment makes pointer from integer without a cast [ 42s] g_mmu_page_table = const_MMUTableStartAddr; [ 42s] ^ [ 42s] mmu.c:77:5: warning: implicit declaration of function 'MMU_InvalideICACHEALL' [-Wimplicit-function-declaration] [ 42s] MMU_InvalideICACHEALL();//steve.zhan add. [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o adc.o adc.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from cmd_boot.c:27: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from adc.c:1: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o cmd_bootm.o cmd_bootm.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 42s] from adc.c:3: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 42s] from adc.c:3: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 42s] from adc.c:5: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 42s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from adc.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 42s] #define MAX(x, y) max(x, y) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 42s] from adc.c:5: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 42s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from adc.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 42s] #define MIN(x, y) min(x, y) [ 42s] ^ [ 42s] rm -f libblock.o; ar rcs libblock.o [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o rtc-sprd.o rtc-sprd.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from cmd_bootm.c:28: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o cmd_console.o cmd_console.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from rtc-sprd.c:11: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 42s] from rtc-sprd.c:13: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 42s] from rtc-sprd.c:13: [ 42s] /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 [ 42s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 42s] from rtc-sprd.c:14: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 42s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from rtc-sprd.c:11:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 42s] #define MAX(x, y) max(x, y) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 42s] from rtc-sprd.c:14: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 42s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from rtc-sprd.c:11:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 42s] #define MIN(x, y) min(x, y) [ 42s] ^ [ 42s] rtc-sprd.c: In function 'sprd_clean_rtc': [ 42s] rtc-sprd.c:183:6: warning: unused variable 'err' [-Wunused-variable] [ 42s] int err; [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from cmd_console.c:27: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o sec_boot.o sec_boot.c -c [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o cmd_echo.o cmd_echo.c -c [ 42s] rm -f libclk.o; ar rcs libclk.o [ 42s] make -C drivers/dma/ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from sec_boot.c:1: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 42s] from cmd_echo.c:24: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 42s] #define CONFIG_MMC 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 42s] #define CONFIG_MMC [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 42s] #define CONFIG_EFI_PARTITION 1 [ 42s] ^ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 42s] #define CONFIG_EFI_PARTITION [ 42s] ^ [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 42s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 42s] -o cmd_ext4.o cmd_ext4.c -c [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 42s] from sec_boot.c:3: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 42s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from sec_boot.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 42s] #define MAX(x, y) max(x, y) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 42s] from sec_boot.c:3: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 42s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 42s] ^ [ 42s] In file included from sec_boot.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 42s] #define MIN(x, y) min(x, y) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 42s] from sec_boot.c:3: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 42s] #define KPD_NUM (0x31 << 16) [ 42s] ^ [ 42s] /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 [ 42s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 42s] from sec_boot.c:3: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 42s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 42s] ^ [ 42s] /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 [ 42s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 42s] from sec_boot.c:4: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 42s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 42s] ^ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 42s] from sec_boot.c:3: [ 42s] /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 [ 42s] #define ADC_BASE 0x40038300 //Aux ADC [ 42s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 43s] from sec_boot.c:4: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 43s] from sec_boot.c:4: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 43s] ^ [ 43s] In file included from sec_boot.c:5:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 43s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 43s] ^ [ 43s] /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 [ 43s] #define VLR_INFO_OFF (512) [ 43s] ^ [ 43s] sec_boot.c: In function 'harshVerify': [ 43s] sec_boot.c:298:22: warning: passing argument 2 of 'SHA1Result_32' from incompatible pointer type [ 43s] SHA1Result_32(&sha, soft_hash_data); [ 43s] ^ [ 43s] sec_boot.c:205:12: note: expected 'unsigned char *' but argument is of type 'unsigned int *' [ 43s] PUBLIC int SHA1Result_32(SHA1Context_32 * context, unsigned char *Message_Digest) [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o glb.o glb.c -c [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from cmd_ext4.c:43: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from glb.c:16: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o cmd_fat.o cmd_fat.c -c [ 43s] glb.c: In function 'sci_glb_write': [ 43s] glb.c:40:23: warning: unused variable 'hw_flags' [-Wunused-variable] [ 43s] unsigned long flags, hw_flags; [ 43s] ^ [ 43s] glb.c:40:16: warning: unused variable 'flags' [-Wunused-variable] [ 43s] unsigned long flags, hw_flags; [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o adi.o adi.c -c [ 43s] make -C drivers/fpga/ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from cmd_fat.c:27: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from adi.c:20: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 43s] from adi.c:23: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 43s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 43s] ^ [ 43s] In file included from adi.c:20:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 43s] #define MAX(x, y) max(x, y) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 43s] from adi.c:23: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 43s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 43s] ^ [ 43s] In file included from adi.c:20:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 43s] #define MIN(x, y) min(x, y) [ 43s] ^ [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 43s] from adi.c:26: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 43s] from adi.c:26: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 43s] ^ [ 43s] adi.c: In function '__adi_read': [ 43s] adi.c:172:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 43s] printf("[0x%s]: ADI READ timeout!!! reg = 0x%x, value = 0x%x\n", __func__, regPddr, val); [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o cmd_fdt.o cmd_fdt.c -c [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o gpio.o gpio.c -c [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from cmd_fdt.c:27: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 43s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 43s] ^ [ 43s] /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 [ 43s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 43s] struct gpio_chip *chip); [ 43s] ^ [ 43s] /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 [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 43s] from gpio.c:16: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 43s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 43s] #define MAX(x, y) max(x, y) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 43s] from gpio.c:16: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 43s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 43s] #define MIN(x, y) min(x, y) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 43s] from gpio.c:16: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 43s] #define KPD_NUM (0x31 << 16) [ 43s] ^ [ 43s] /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 [ 43s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 43s] ^ [ 43s] In file included from gpio.c:16:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 43s] /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] [ 43s] __raw_bits_and(value, reg_addr); [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 43s] /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] [ 43s] __raw_bits_or(value, reg_addr); [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from gpio.c:17: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h: At top level: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 43s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 43s] from gpio.c:15: [ 43s] /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 [ 43s] #define ADC_BASE 0x40038300 //Aux ADC [ 43s] ^ [ 43s] rm -f libdma.o; ar rcs libdma.o [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 43s] from gpio.c:17: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 43s] from gpio.c:17: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 43s] ^ [ 43s] In file included from gpio.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:32:0: warning: "ANA_GPIO_BASE" redefined [ 43s] #define ANA_GPIO_BASE SPRD_ANA_GPIO_PHYS [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 43s] from gpio.c:15: [ 43s] /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 [ 43s] #define ANA_GPIO_BASE 0x40038480 [ 43s] ^ [ 43s] In file included from gpio.c:18:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:33:0: warning: "GPIO_BASE" redefined [ 43s] #define GPIO_BASE SPRD_GPIO_PHYS [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 43s] from gpio.c:15: [ 43s] /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 [ 43s] #define GPIO_BASE CTL_BASE_GPIO [ 43s] ^ [ 43s] gpio.c:22:0: warning: "KERN_WARNING" redefined [ 43s] #define KERN_WARNING "" [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:145:0: note: this is the location of the previous definition [ 43s] #define KERN_WARNING [ 43s] ^ [ 43s] gpio.c:23:0: warning: "WARN" redefined [ 43s] #define WARN(nmu, fmt...) printf(fmt) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:275:0: note: this is the location of the previous definition [ 43s] #define WARN(condition, format...) ({ \ [ 43s] ^ [ 43s] gpio.c:24:0: warning: "WARN_ON" redefined [ 43s] #define WARN_ON(num) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:266:0: note: this is the location of the previous definition [ 43s] #define WARN_ON(condition) ({ \ [ 43s] ^ [ 43s] gpio.c:25:0: warning: "BUG_ON" redefined [ 43s] #define BUG_ON(__cond__) if(__cond__) printf("%s line: %d bug on\n", __FUNCTION__, __LINE__) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:148:0: note: this is the location of the previous definition [ 43s] #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) [ 43s] ^ [ 43s] gpio.c:26:0: warning: "pr_err" redefined [ 43s] #define pr_err(fmt...) printf(fmt) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:241:0: note: this is the location of the previous definition [ 43s] #define pr_err(fmt, ...) \ [ 43s] ^ [ 43s] gpio.c:27:0: warning: "ARRAY_SIZE" redefined [ 43s] #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:753:0: note: this is the location of the previous definition [ 43s] #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) [ 43s] ^ [ 43s] gpio.c:28:0: warning: "pr_debug" redefined [ 43s] #define pr_debug(fmt...) printf(fmt) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 43s] from gpio.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 43s] #define pr_debug(fmt, ...) [ 43s] ^ [ 43s] gpio.c:36:0: warning: "GPIO_DBG" redefined [ 43s] #define GPIO_DBG(fmt...) [ 43s] ^ [ 43s] In file included from gpio.c:16:0: [ 43s] /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 [ 43s] #define GPIO_DBG(fmt...) printf(fmt) [ 43s] ^ [ 43s] gpio.c:60:0: warning: "GPIO_INVALID_ID" redefined [ 43s] #define GPIO_INVALID_ID 0xffff [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 43s] from gpio.c:16: [ 43s] /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 [ 43s] #define GPIO_INVALID_ID 0x0FF [ 43s] ^ [ 43s] gpio.c: In function '__gpio_set_dir': [ 43s] gpio.c:101:16: warning: unused variable 'flags' [-Wunused-variable] [ 43s] unsigned long flags; [ 43s] ^ [ 43s] gpio.c: In function '__gpio_set_pin_data': [ 43s] gpio.c:265:16: warning: unused variable 'flags' [-Wunused-variable] [ 43s] unsigned long flags; [ 43s] ^ [ 43s] gpio.c: In function '__gpio_set_data_mask': [ 43s] gpio.c:294:16: warning: unused variable 'flags' [-Wunused-variable] [ 43s] unsigned long flags; [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 43s] from gpio.c:15: [ 43s] gpio.c: At top level: [ 43s] /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] [ 43s] static bool gpio_is_valid(int number) [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o gpio_phy.o gpio_phy.c -c [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o cmd_help.o cmd_help.c -c [ 43s] make -C drivers/gpio/ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from gpio_phy.c:1: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from cmd_help.c:24: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 43s] from gpio_phy.c:3: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 43s] from gpio_phy.c:3: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 43s] from gpio_phy.c:4: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 43s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 43s] ^ [ 43s] In file included from gpio_phy.c:1:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 43s] #define MAX(x, y) max(x, y) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 43s] from gpio_phy.c:4: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 43s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 43s] ^ [ 43s] In file included from gpio_phy.c:1:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 43s] #define MIN(x, y) min(x, y) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 43s] from gpio_phy.c:5: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 43s] #define KPD_NUM (0x31 << 16) [ 43s] ^ [ 43s] /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 [ 43s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 43s] ^ [ 43s] In file included from gpio_phy.c:5:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function '__get_gpio_die': [ 43s] /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] [ 43s] WARN(1, "wrong gpio %d\r\n", gpio); [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 43s] /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] [ 43s] __raw_bits_and(value, reg_addr); [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 43s] /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] [ 43s] __raw_bits_or(value, reg_addr); [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o cmd_itest.o cmd_itest.c -c [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o clock.o clock.c -c [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 43s] rm -f libfpga.o; ar rcs libfpga.o [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from cmd_itest.c:31: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 43s] from clock.c:15: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o clock_test.o clock_test.c -c [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 43s] from clock.c:25: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 43s] from clock.c:25: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o cmd_load.o cmd_load.c -c [ 43s] clock.c: In function 'clk_set_rate': [ 43s] clock.c:138:16: warning: unused variable 'flags' [-Wunused-variable] [ 43s] unsigned long flags; [ 43s] ^ [ 43s] clock.c: In function 'clk_set_parent': [ 43s] clock.c:171:16: warning: unused variable 'flags' [-Wunused-variable] [ 43s] unsigned long flags; [ 43s] ^ [ 43s] clock.c: In function 'sci_clk_enable': [ 43s] clock.c:222:4: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 43s] sci_glb_set(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 43s] ^ [ 43s] clock.c:224:4: warning: implicit declaration of function 'sci_glb_clr' [-Wimplicit-function-declaration] [ 43s] sci_glb_clr(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 43s] ^ [ 43s] clock.c: In function 'sci_clk_is_enable': [ 43s] clock.c:240:7: warning: implicit declaration of function 'sci_glb_read' [-Wimplicit-function-declaration] [ 43s] ! !sci_glb_read(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 43s] ^ [ 43s] clock.c: In function 'sci_clk_set_rate': [ 43s] clock.c:258:2: warning: implicit declaration of function 'sci_glb_write' [-Wimplicit-function-declaration] [ 43s] sci_glb_write(c->regs->div.reg, div << div_shift, c->regs->div.mask); [ 43s] ^ [ 43s] clock.c: In function 'sci_clk_register': [ 43s] clock.c:444:2: warning: implicit declaration of function 'clkdev_add' [-Wimplicit-function-declaration] [ 43s] clkdev_add(cl); [ 43s] ^ [ 43s] clock.c: At top level: [ 43s] clock.c:480:19: warning: initialization from incompatible pointer type [ 43s] .notifier_call = __clk_cpufreq_notifier [ 43s] ^ [ 43s] clock.c:480:19: warning: (near initialization for '__clk_cpufreq_notifier_block.notifier_call') [ 43s] clock.c:518:1: warning: data definition has no type or storage class [ 43s] arch_initcall(sci_clock_init); [ 43s] ^ [ 43s] clock.c:518:1: warning: type defaults to 'int' in declaration of 'arch_initcall' [-Wimplicit-int] [ 43s] clock.c:518:1: warning: parameter names (without types) in function declaration [ 43s] clock.c:519:1: warning: data definition has no type or storage class [ 43s] late_initcall_sync(sci_clock_dump); [ 43s] ^ [ 43s] clock.c:519:1: warning: type defaults to 'int' in declaration of 'late_initcall_sync' [-Wimplicit-int] [ 43s] clock.c:519:1: warning: parameter names (without types) in function declaration [ 43s] clock.c:452:19: warning: 'sci_clock_dump' defined but not used [-Wunused-function] [ 43s] static int __init sci_clock_dump(void) [ 43s] ^ [ 43s] clock.c:479:30: warning: '__clk_cpufreq_notifier_block' defined but not used [-Wunused-variable] [ 43s] static struct notifier_block __clk_cpufreq_notifier_block = { [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 43s] from clock_test.c:1: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from cmd_load.c:27: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] clock_test.c: In function 'get_clock_rate': [ 43s] clock_test.c:13:2: warning: implicit declaration of function 'clk_get' [-Wimplicit-function-declaration] [ 43s] clk =clk_get(0, clk_name); [ 43s] ^ [ 43s] clock_test.c:13:6: warning: assignment makes pointer from integer without a cast [ 43s] clk =clk_get(0, clk_name); [ 43s] ^ [ 43s] clock_test.c:17:3: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 43s] printf("%s can't find!\r\n"); [ 43s] ^ [ 43s] clock_test.c: At top level: [ 43s] clock_test.c:33:46: warning: type defaults to 'int' in declaration of 'clk_name' [-Wimplicit-int] [ 43s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 43s] ^ [ 43s] clock_test.c: In function 'change_clock_rate': [ 43s] clock_test.c:37:6: warning: assignment makes pointer from integer without a cast [ 43s] clk =clk_get(0, clk_name); [ 43s] ^ [ 43s] clock_test.c:41:3: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 43s] printf("%s can't find!\r\n"); [ 43s] ^ [ 43s] clock_test.c:60:2: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'const int *' [-Wformat=] [ 43s] printf("%s ==> %d\r\n", clk_name, rate); [ 43s] ^ [ 43s] clock_test.c: At top level: [ 43s] clock_test.c:64:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 43s] void clock_test() [ 43s] ^ [ 43s] clock_test.c: In function 'clock_test': [ 43s] clock_test.c:68:2: warning: implicit declaration of function 'sci_clock_init' [-Wimplicit-function-declaration] [ 43s] sci_clock_init(); [ 43s] ^ [ 43s] clock_test.c:71:3: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'const u32 *' [-Wformat=] [ 43s] &__clkinit_begin, __clkinit_begin, &__clkinit_end, __clkinit_end); [ 43s] ^ [ 43s] clock_test.c:71:3: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'const u32 *' [-Wformat=] [ 43s] clock_test.c:77:8: warning: assignment makes pointer from integer without a cast [ 43s] clk =clk_get(0, cl->con_id); [ 43s] ^ [ 43s] clock_test.c:82:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] printf("1.clk: %s, rate: %d\r\n", cl->con_id, clk->ops->get_rate(clk)); [ 43s] ^ [ 43s] clock_test.c:86:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] printf("2.clk: %s, rate: %d\r\n", cl->con_id, clk->rate); [ 43s] ^ [ 43s] clock_test.c:103:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 43s] change_clock_rate("clk_emmc", 192000000); [ 43s] ^ [ 43s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 43s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 43s] ^ [ 43s] clock_test.c:107:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 43s] change_clock_rate("clk_apb", 100000000); [ 43s] ^ [ 43s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 43s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 43s] ^ [ 43s] clock_test.c:112:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 43s] change_clock_rate("clk_emc", 100000000); [ 43s] ^ [ 43s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 43s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 43s] ^ [ 43s] clock_test.c:116:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [ 43s] change_clock_rate("clk_dbg", 200000000); [ 43s] ^ [ 43s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 43s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o cmd_mem.o cmd_mem.c -c [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o check_reboot.o check_reboot.c -c [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from cmd_mem.c:30: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 43s] from check_reboot.c:1: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 43s] from check_reboot.c:2: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 43s] #define KPD_NUM (0x31 << 16) [ 43s] ^ [ 43s] /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 [ 43s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 43s] from check_reboot.c:2: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 43s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 43s] ^ [ 43s] /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 [ 43s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 43s] ^ [ 43s] make -C drivers/hwmon/ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from check_reboot.c:4: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 43s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 43s] from check_reboot.c:2: [ 43s] /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 [ 43s] #define ADC_BASE 0x40038300 //Aux ADC [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 43s] from check_reboot.c:4: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 43s] from check_reboot.c:4: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 43s] ^ [ 43s] cmd_mem.c: In function 'do_mem_loop': [ 43s] cmd_mem.c:477:25: warning: variable 'junk' set but not used [-Wunused-but-set-variable] [ 43s] ulong addr, length, i, junk; [ 43s] ^ [ 43s] In file included from check_reboot.c:6:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 43s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 43s] from check_reboot.c:2: [ 43s] /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 [ 43s] #define RTC_BASE 0x40038080 [ 43s] ^ [ 43s] In file included from check_reboot.c:7:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 43s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from check_reboot.c:4: [ 43s] /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 [ 43s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 43s] ^ [ 43s] check_reboot.c: In function 'check_reboot_mode': [ 43s] check_reboot.c:47:11: warning: unused variable 'val' [-Wunused-variable] [ 43s] unsigned val, rst_mode= 0; [ 43s] ^ [ 43s] check_reboot.c: At top level: [ 43s] check_reboot.c:123:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 43s] int get_mode_from_gpio() [ 43s] ^ [ 43s] check_reboot.c: In function 'get_mode_from_gpio': [ 43s] check_reboot.c:129:2: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 43s] ret = (hw_rst_mode & HW_PBINT2_STATUS) && !charger_connected(); [ 43s] ^ [ 43s] check_reboot.c: In function 'reboot_devices': [ 43s] check_reboot.c:150:2: warning: implicit declaration of function 'reset_cpu' [-Wimplicit-function-declaration] [ 43s] reset_cpu(0); [ 43s] ^ [ 43s] check_reboot.c: In function 'power_down_devices': [ 43s] check_reboot.c:154:2: warning: implicit declaration of function 'power_down_cpu' [-Wimplicit-function-declaration] [ 43s] power_down_cpu(0); [ 43s] ^ [ 43s] check_reboot.c: In function 'power_button_pressed': [ 43s] check_reboot.c:167:2: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 43s] sci_glb_set(REG_AON_APB_APB_EB0,BIT_AON_GPIO_EB | BIT_EIC_EB); [ 43s] ^ [ 43s] check_reboot.c:179:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 43s] udelay(3000); [ 43s] ^ [ 43s] check_reboot.c: In function 'charger_connected': [ 43s] check_reboot.c:192:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 43s] sprd_eic_request(EIC_CHG_INT); [ 43s] ^ [ 43s] check_reboot.c:201:2: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 43s] return !!sprd_eic_get(EIC_CHG_INT); [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o eic.o eic.c -c [ 43s] rm -f libgpio.o; ar rcs libgpio.o [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o cmd_misc.o cmd_misc.c -c [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 43s] from eic.c:15: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 43s] from eic.c:15: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 43s] from eic.c:16: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from eic.c:20:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 43s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:34:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from eic.c:15: [ 43s] /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 [ 43s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 43s] ^ [ 43s] eic.c: In function '__get_eic_base_info': [ 43s] eic.c:81:24: warning: unused variable 'section_table' [-Wunused-variable] [ 43s] struct gpio_section *section_table; [ 43s] ^ [ 43s] eic.c:80:6: warning: unused variable 'table_size' [-Wunused-variable] [ 43s] u32 table_size = 0; [ 43s] ^ [ 43s] eic.c:79:6: warning: unused variable 'i' [-Wunused-variable] [ 43s] int i = 0; [ 43s] ^ [ 43s] eic.c: In function '__eic_get_pin_data': [ 43s] eic.c:108:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 43s] u32 offset_addr = 0; [ 43s] ^ [ 43s] eic.c: In function '__eic_get_data_mask': [ 43s] eic.c:129:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 43s] u32 offset_addr = 0; [ 43s] ^ [ 43s] eic.c: In function '__eic_set_data_mask': [ 43s] eic.c:153:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 43s] u32 offset_addr = 0; [ 43s] ^ [ 43s] eic.c: In function 'sprd_eic_get': [ 43s] eic.c:200:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 43s] WARN(1, "GPIO_%d data mask hasn't been opened!\n", eic_id); [ 43s] ^ [ 43s] eic.c: At top level: [ 43s] eic.c:244:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 43s] int get_volumn_down_status2() [ 43s] ^ [ 43s] eic.c: In function 'get_volumn_down_status2': [ 43s] eic.c:250:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 43s] udelay(3000); [ 43s] ^ [ 43s] eic.c: At top level: [ 43s] eic.c:226:13: warning: 'sprd_eic_free' defined but not used [-Wunused-function] [ 43s] static void sprd_eic_free(unsigned offset) [ 43s] ^ [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 43s] make -C drivers/i2c/ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o vibrator_sc2723.o vibrator_sc2723.c -c [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 43s] from cmd_misc.c:27: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o cmd_mmc.o cmd_mmc.c -c [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from vibrator_sc2723.c:1: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 43s] #define CONFIG_MMC 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 43s] #define CONFIG_MMC [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 43s] #define CONFIG_EFI_PARTITION 1 [ 43s] ^ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 43s] #define CONFIG_EFI_PARTITION [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 43s] from vibrator_sc2723.c:3: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 43s] #define KPD_NUM (0x31 << 16) [ 43s] ^ [ 43s] /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 [ 43s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 43s] from vibrator_sc2723.c:3: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 43s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 43s] ^ [ 43s] /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 [ 43s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 43s] from vibrator_sc2723.c:6: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 43s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 43s] from vibrator_sc2723.c:3: [ 43s] /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 [ 43s] #define ADC_BASE 0x40038300 //Aux ADC [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 43s] from vibrator_sc2723.c:6: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 43s] from vibrator_sc2723.c:6: [ 43s] /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 [ 43s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 43s] ^ [ 43s] In file included from vibrator_sc2723.c:6:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 43s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 43s] ^ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 43s] from vibrator_sc2723.c:6: [ 43s] /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 [ 43s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 43s] ^ [ 43s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 43s] -o otp-helper.o otp-helper.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from cmd_mmc.c:24: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from otp-helper.c:21: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o cmd_nvedit.o cmd_nvedit.c -c [ 44s] otp-helper.c: In function 'efuse_prog': [ 44s] otp-helper.c:44:2: warning: implicit declaration of function '__ddie_efuse_prog' [-Wimplicit-function-declaration] [ 44s] return __ddie_efuse_prog(blk_index,val); [ 44s] ^ [ 44s] otp-helper.c: In function 'sci_efuse_calibration_get': [ 44s] otp-helper.c:56:9: warning: implicit declaration of function '__adie_efuse_read' [-Wimplicit-function-declaration] [ 44s] adc_temp = (__adie_efuse_read(0) & (1 << 7)); [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o efuse.o efuse.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from cmd_nvedit.c:41: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from efuse.c:43: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] cmd_nvedit.c: In function 'do_env_edit': [ 44s] cmd_nvedit.c:427:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] [ 44s] int len; [ 44s] ^ [ 44s] rm -f libhwmon.o; ar rcs libhwmon.o [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 44s] from efuse.c:48: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 44s] from efuse.c:48: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o ana_efuse.o ana_efuse.c -c [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o cmd_pcmcia.o cmd_pcmcia.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from ana_efuse.c:20: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o watchdog.o watchdog.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from cmd_pcmcia.c:56: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 44s] from ana_efuse.c:25: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 44s] from ana_efuse.c:25: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 44s] ^ [ 44s] ana_efuse.c:85:13: warning: 'adie_efuse_reset' defined but not used [-Wunused-function] [ 44s] static void adie_efuse_reset(void) [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o cmd_source.o cmd_source.c -c [ 44s] make -C drivers/input/ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from watchdog.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 44s] from watchdog.c:3: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 44s] #define KPD_NUM (0x31 << 16) [ 44s] ^ [ 44s] /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 [ 44s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from watchdog.c:3: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 44s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 44s] ^ [ 44s] /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 [ 44s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 44s] ^ [ 44s] watchdog.c: In function 'start_watchdog': [ 44s] watchdog.c:9:2: warning: implicit declaration of function 'WDG_ClockOn' [-Wimplicit-function-declaration] [ 44s] WDG_ClockOn(); [ 44s] ^ [ 44s] watchdog.c:10:5: warning: implicit declaration of function 'WDG_ResetMCU' [-Wimplicit-function-declaration] [ 44s] WDG_ResetMCU(); [ 44s] ^ [ 44s] watchdog.c: In function 'stop_watchdog': [ 44s] watchdog.c:15:5: warning: implicit declaration of function 'WDG_TimerStop' [-Wimplicit-function-declaration] [ 44s] WDG_TimerStop(); [ 44s] ^ [ 44s] watchdog.c: In function 'init_watchdog': [ 44s] watchdog.c:21:5: warning: implicit declaration of function 'WDG_TimerInit' [-Wimplicit-function-declaration] [ 44s] WDG_TimerInit(); [ 44s] ^ [ 44s] watchdog.c: In function 'load_watchdog': [ 44s] watchdog.c:30:5: warning: implicit declaration of function 'WDG_TimerLoad' [-Wimplicit-function-declaration] [ 44s] WDG_TimerLoad(time_ms); [ 44s] ^ [ 44s] watchdog.c: In function 'hw_watchdog_rst_pending': [ 44s] watchdog.c:41:2: warning: implicit declaration of function 'WDG_PHY_RST_INT_ON' [-Wimplicit-function-declaration] [ 44s] return WDG_PHY_RST_INT_ON(); [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o watchdog_phy_v3.o watchdog_phy_v3.c -c [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o sprd_i2c.o sprd_i2c.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from cmd_source.c:34: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/os_api.h:12, [ 44s] from watchdog_phy_v3.c:19: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from watchdog_phy_v3.c:20: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 44s] #define KPD_NUM (0x31 << 16) [ 44s] ^ [ 44s] /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 [ 44s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from watchdog_phy_v3.c:20: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 44s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 44s] ^ [ 44s] /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 [ 44s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 44s] from watchdog_phy_v3.c:23: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 44s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from watchdog_phy_v3.c:20: [ 44s] /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 [ 44s] #define ADC_BASE 0x40038300 //Aux ADC [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o cmd_version.o cmd_version.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 44s] from sprd_i2c.c:25: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 44s] from watchdog_phy_v3.c:23: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 44s] from watchdog_phy_v3.c:23: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:34:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 44s] #define KPD_NUM (0x31 << 16) [ 44s] ^ [ 44s] /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 [ 44s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 44s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 44s] ^ [ 44s] /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 [ 44s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 44s] ^ [ 44s] In file included from watchdog_phy_v3.c:23:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 44s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from watchdog_phy_v3.c:20: [ 44s] /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 [ 44s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 44s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 44s] ^ [ 44s] watchdog_phy_v3.c:40:67: warning: backslash and newline separated by space [ 44s] ANA_REG_SET( WDG_LOAD_LOW , (uint16)((value) & 0xffff) );\ [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /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 [ 44s] #define ADC_BASE 0x40038300 //Aux ADC [ 44s] ^ [ 44s] watchdog_phy_v3.c: In function 'WDG_PHY_CONFIG': [ 44s] watchdog_phy_v3.c:103:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 44s] WDG_TRACE ("Watch Dog Trace: Watch Dog Control 0x%8.8x", ANA_REG_GET (WDG_CTRL)); [ 44s] ^ [ 44s] watchdog_phy_v3.c:65:12: warning: unused variable 'val' [-Wunused-variable] [ 44s] uint32 val = 0; [ 44s] ^ [ 44s] watchdog_phy_v3.c:64:12: warning: unused variable 'ctrl' [-Wunused-variable] [ 44s] uint32 ctrl = 0; [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 44s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 44s] ^ [ 44s] /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 [ 44s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 44s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 44s] ^ [ 44s] /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 [ 44s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 44s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 44s] ^ [ 44s] /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 [ 44s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 44s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /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 [ 44s] #define RTC_BASE 0x40038080 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 44s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 44s] from sprd_i2c.c:30: [ 44s] /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 [ 44s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 44s] ^ [ 44s] sprd_i2c.c:283:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] PUBLIC uint32 I2C_GetSCLclk() [ 44s] ^ [ 44s] sprd_i2c.c: In function 'I2C_WriteCmdArr': [ 44s] sprd_i2c.c:470:21: warning: unused variable 'curtime' [-Wunused-variable] [ 44s] volatile uint32 curtime = 0; [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o watchdog_hal.o watchdog_hal.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from cmd_version.c:24: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o i2c_hal.o i2c_hal.c -c [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o cmd_ximg.o cmd_ximg.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 44s] from watchdog_hal.c:22: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from watchdog_hal.c:23: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 44s] #define KPD_NUM (0x31 << 16) [ 44s] ^ [ 44s] /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 [ 44s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from watchdog_hal.c:23: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 44s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 44s] ^ [ 44s] /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 [ 44s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 44s] from watchdog_hal.c:28: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 44s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from watchdog_hal.c:23: [ 44s] /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 [ 44s] #define ADC_BASE 0x40038300 //Aux ADC [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 44s] from watchdog_hal.c:28: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 44s] from watchdog_hal.c:28: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 44s] ^ [ 44s] In file included from watchdog_hal.c:28:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 44s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from watchdog_hal.c:23: [ 44s] /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 [ 44s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 44s] ^ [ 44s] watchdog_hal.c: In function 'WDG_TimerStop': [ 44s] watchdog_hal.c:49:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 44s] WDG_TRACE ("Watch Dog Trace: WDG_TimerStop"); [ 44s] ^ [ 44s] watchdog_hal.c:47:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 44s] int32 ret; [ 44s] ^ [ 44s] watchdog_hal.c: In function 'WDG_TimerStart': [ 44s] watchdog_hal.c:73:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 44s] int32 ret; [ 44s] ^ [ 44s] watchdog_hal.c: In function 'WDG_TimerInit': [ 44s] watchdog_hal.c:104:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 44s] int32 ret; [ 44s] ^ [ 44s] watchdog_hal.c:103:18: warning: unused variable 'status' [-Wunused-variable] [ 44s] uint32 status; [ 44s] ^ [ 44s] watchdog_hal.c: In function 'WDG_ResetMCU': [ 44s] watchdog_hal.c:123:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 44s] int32 ret; [ 44s] ^ [ 44s] watchdog_hal.c: In function 'WDG_TimerLoad': [ 44s] watchdog_hal.c:141:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 44s] int32 ret; [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o chip_cfg.o chip_cfg.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 44s] from i2c_hal.c:19: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] i2c_hal.c: In function 'I2C_Bus_Init': [ 44s] i2c_hal.c:120:15: warning: statement with no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Init"); [ 44s] ^ [ 44s] i2c_hal.c: In function 'I2C_Bus_Exit': [ 44s] i2c_hal.c:154:51: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 44s] ^ [ 44s] i2c_hal.c:154:15: warning: statement with no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 44s] ^ [ 44s] i2c_hal.c: In function 'I2C_HAL_Open': [ 44s] i2c_hal.c:222:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 44s] ^ [ 44s] i2c_hal.c:222:67: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 44s] ^ [ 44s] i2c_hal.c:222:15: warning: statement with no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 44s] ^ [ 44s] i2c_hal.c: In function 'I2C_HAL_Close': [ 44s] i2c_hal.c:268:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 44s] ^ [ 44s] i2c_hal.c:268:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 44s] ^ [ 44s] i2c_hal.c:268:15: warning: statement with no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from cmd_ximg.c:31: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 44s] from chip_cfg.c:21: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from chip_cfg.c:23: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 44s] #define KPD_NUM (0x31 << 16) [ 44s] ^ [ 44s] /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 [ 44s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from chip_cfg.c:23: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 44s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 44s] ^ [ 44s] /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 [ 44s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o chip_x30g/chip_phy_x30g.o chip_x30g/chip_phy_x30g.c -c [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o sc8830_i2c_cfg.o sc8830_i2c_cfg.c -c [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o command.o command.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 44s] from sc8830_i2c_cfg.h:21, [ 44s] from sc8830_i2c_cfg.c:20: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:23, [ 44s] from chip_x30g/chip_phy_x30g.c:22: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from chip_x30g/chip_phy_x30g.c:22: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 44s] #define KPD_NUM (0x31 << 16) [ 44s] ^ [ 44s] /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 [ 44s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from chip_x30g/chip_phy_x30g.c:22: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 44s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 44s] ^ [ 44s] /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 [ 44s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o v0/i2c_phy_v0.o v0/i2c_phy_v0.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from chip_x30g/chip_phy_x30g.c:25: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 44s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 44s] from chip_x30g/chip_phy_x30g.c:22: [ 44s] /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 [ 44s] #define ADC_BASE 0x40038300 //Aux ADC [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 44s] from chip_x30g/chip_phy_x30g.c:25: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 44s] from chip_x30g/chip_phy_x30g.c:25: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 44s] ^ [ 44s] In file included from chip_x30g/chip_phy_x30g.c:26:0: [ 44s] /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] [ 44s] PUBLIC void BOOT_ResetHWFlag (); [ 44s] ^ [ 44s] In file included from chip_x30g/chip_phy_x30g.c:27:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 44s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 44s] from chip_x30g/chip_phy_x30g.c:25: [ 44s] /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 [ 44s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 44s] ^ [ 44s] chip_x30g/chip_phy_x30g.c:203:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] PUBLIC void CHIP_PHY_BootIramEn () [ 44s] ^ [ 44s] chip_x30g/chip_phy_x30g.c:236:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] PUBLIC BOOLEAN CHIP_PHY_IsResetByPowerUp() [ 44s] ^ [ 44s] chip_x30g/chip_phy_x30g.c:255:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] PUBLIC BOOLEAN CHIP_PHY_IsResetByWatchDog() [ 44s] ^ [ 44s] chip_x30g/chip_phy_x30g.c: In function 'TDPllRefConfig': [ 44s] chip_x30g/chip_phy_x30g.c:297:5: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 44s] udelay(1); [ 44s] ^ [ 44s] chip_x30g/chip_phy_x30g.c: In function 'dcdc_core_ds_config': [ 44s] chip_x30g/chip_phy_x30g.c:721:16: warning: unused variable 'reg_val' [-Wunused-variable] [ 44s] uint32 reg_val = 0; [ 44s] ^ [ 44s] chip_x30g/chip_phy_x30g.c:720:16: warning: unused variable 'dcdc_core_ctl_adi' [-Wunused-variable] [ 44s] uint32 dcdc_core_ctl_adi = 0; [ 44s] ^ [ 44s] chip_x30g/chip_phy_x30g.c: At top level: [ 44s] chip_x30g/chip_phy_x30g.c:846:2: warning: missing braces around initializer [-Wmissing-braces] [ 44s] 0x402b006c, [ 44s] ^ [ 44s] chip_x30g/chip_phy_x30g.c:846:2: warning: (near initialization for 'lp_cfg.reg') [-Wmissing-braces] [ 44s] chip_x30g/chip_phy_x30g.c: In function 'setup_ap_cp_sync_sleep_code': [ 44s] chip_x30g/chip_phy_x30g.c:868:16: warning: unused variable 'sa' [-Wunused-variable] [ 44s] unsigned int *sa = (unsigned int*)start_addr; [ 44s] ^ [ 44s] chip_x30g/chip_phy_x30g.c: In function 'CSP_Init': [ 44s] chip_x30g/chip_phy_x30g.c:888:2: warning: implicit declaration of function 'calibrate_register_callback' [-Wimplicit-function-declaration] [ 44s] calibrate_register_callback((void*)dcdc_core_ds_config); [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from command.c:28: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] rm -f libinput.o; ar rcs libinput.o [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o Tshark_boot_cp.o Tshark_boot_cp.c -c [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o console.o console.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 44s] from v0/i2c_reg_v0.h:28, [ 44s] from v0/i2c_phy_v0.c:22: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 44s] from v0/i2c_phy_v0.c:23: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 44s] from v0/i2c_phy_v0.c:23: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 44s] ^ [ 44s] v0/i2c_phy_v0.c: In function 'I2C_PHY_ControlInit_V0': [ 44s] v0/i2c_phy_v0.c:250:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 44s] ^ [ 44s] v0/i2c_phy_v0.c:250:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 44s] ^ [ 44s] v0/i2c_phy_v0.c:250:15: warning: statement with no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 44s] ^ [ 44s] v0/i2c_phy_v0.c: In function 'I2C_PHY_StartBus_V0': [ 44s] v0/i2c_phy_v0.c:283:55: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 44s] ^ [ 44s] v0/i2c_phy_v0.c:283:15: warning: statement with no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 44s] ^ [ 44s] v0/i2c_phy_v0.c: In function 'I2C_PHY_WriteBytes_V0': [ 44s] v0/i2c_phy_v0.c:326:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 44s] ^ [ 44s] v0/i2c_phy_v0.c:326:19: warning: statement with no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 44s] ^ [ 44s] v0/i2c_phy_v0.c: In function 'I2C_PHY_ReadBytes_V0': [ 44s] v0/i2c_phy_v0.c:369:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 44s] ^ [ 44s] v0/i2c_phy_v0.c:369:19: warning: statement with no effect [-Wunused-value] [ 44s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 44s] ^ [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o misc.o misc.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 44s] from Tshark_boot_cp.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] ld -r -o libi2c.o sprd_i2c.o i2c_hal.o sc8830_i2c_cfg.o v0/i2c_phy_v0.o [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from console.c:24: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 44s] from Tshark_boot_cp.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 44s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 44s] from Tshark_boot_cp.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 44s] #define MAX(x, y) max(x, y) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 44s] from Tshark_boot_cp.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 44s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 44s] from Tshark_boot_cp.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 44s] #define MIN(x, y) min(x, y) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 44s] from Tshark_boot_cp.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 44s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 44s] ^ [ 44s] /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 [ 44s] #define VLR_INFO_OFF (512) [ 44s] ^ [ 44s] In file included from Tshark_boot_cp.c:1:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 44s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 44s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 44s] ^ [ 44s] In file included from Tshark_boot_cp.c:1:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] int read_spldata(); [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] void vlx_entry(); [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 44s] from Tshark_boot_cp.c:1: [ 44s] Tshark_boot_cp.c: In function 'boot_cp0': [ 44s] /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 [ 44s] #define CP0_CODE_COPY_ADR 0x50000000 [ 44s] ^ [ 44s] Tshark_boot_cp.c:9:9: note: in expansion of macro 'CP0_CODE_COPY_ADR' [ 44s] memcpy(CP0_CODE_COPY_ADR, m_data, sizeof(m_data)); /* copy cp0 source code */ [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 44s] from Tshark_boot_cp.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 44s] void* memcpy(void*, const void*, size_t); [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 44s] from Tshark_boot_cp.c:1: [ 44s] Tshark_boot_cp.c: In function 'boot_cp2': [ 44s] /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 [ 44s] #define CP2_CODE_COPY_ADR 0x50003000 [ 44s] ^ [ 44s] Tshark_boot_cp.c:35:9: note: in expansion of macro 'CP2_CODE_COPY_ADR' [ 44s] memcpy(CP2_CODE_COPY_ADR, wcndata, sizeof(wcndata)); /* copy cp2 source code */ [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 44s] from Tshark_boot_cp.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 44s] void* memcpy(void*, const void*, size_t); [ 44s] ^ [ 44s] console.c: In function 'ram_puts': [ 44s] console.c:210:4: warning: assignment from incompatible pointer type [ 44s] p = (unsigned char*)CONFIG_RAM_CONSOLE_START + used_size; [ 44s] ^ [ 44s] make -C drivers/misc/ [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from misc.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o dcdc_cal_sc2723.o dcdc_cal_sc2723.c -c [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 44s] from misc.c:3: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 44s] from misc.c:3: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 44s] ^ [ 44s] In file included from misc.c:4:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 44s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 44s] ^ [ 44s] In file included from misc.c:1:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 44s] #define MAX(x, y) max(x, y) [ 44s] ^ [ 44s] In file included from misc.c:4:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 44s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 44s] ^ [ 44s] In file included from misc.c:1:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 44s] #define MIN(x, y) min(x, y) [ 44s] ^ [ 44s] misc.c:23:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] int sprd_jtag_enable() [ 44s] ^ [ 44s] misc.c:38:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] int sprd_jtag_disable() [ 44s] ^ [ 44s] misc.c:54:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] static void ap_slp_cp_dbg_cfg() [ 44s] ^ [ 44s] misc.c:59:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] static void ap_cpll_rel_cfg() [ 44s] ^ [ 44s] misc.c:64:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] static void bb_bg_auto_en() [ 44s] ^ [ 44s] misc.c:70:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] static void ap_close_wpll_en() [ 44s] ^ [ 44s] misc.c:75:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] static void ap_close_cpll_en() [ 44s] ^ [ 44s] misc.c:80:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] static void ap_close_wifipll_en() [ 44s] ^ [ 44s] misc.c:86:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] static void bb_ldo_auto_en() [ 44s] ^ [ 44s] misc.c: In function 'pmic_init': [ 44s] misc.c:410:6: warning: unused variable 'val' [-Wunused-variable] [ 44s] u32 val; [ 44s] ^ [ 44s] misc.c: At top level: [ 44s] misc.c:446:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] void gpu_clk_auto_gate_disable() [ 44s] ^ [ 44s] misc.c:451:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 44s] void misc_init() [ 44s] ^ [ 44s] misc.c: In function 'misc_init': [ 44s] misc.c:477:2: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 44s] __raw_bits_or((BIT_CSI1_PHY_PD | BIT_CSI0_PHY_PD), REG_AON_APB_PWR_CTRL); [ 44s] ^ [ 44s] misc.c: In function 'get_dram_cs_number': [ 44s] misc.c:493:31: warning: initialization makes pointer from integer without a cast [ 44s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 44s] ^ [ 44s] misc.c: In function 'get_dram_cs0_size': [ 44s] misc.c:498:31: warning: initialization makes pointer from integer without a cast [ 44s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 44s] ^ [ 44s] misc.c: At top level: [ 44s] misc.c:64:13: warning: 'bb_bg_auto_en' defined but not used [-Wunused-function] [ 44s] static void bb_bg_auto_en() [ 44s] ^ [ 44s] misc.c:70:13: warning: 'ap_close_wpll_en' defined but not used [-Wunused-function] [ 44s] static void ap_close_wpll_en() [ 44s] ^ [ 44s] misc.c:75:13: warning: 'ap_close_cpll_en' defined but not used [-Wunused-function] [ 44s] static void ap_close_cpll_en() [ 44s] ^ [ 44s] misc.c:80:13: warning: 'ap_close_wifipll_en' defined but not used [-Wunused-function] [ 44s] static void ap_close_wifipll_en() [ 44s] ^ [ 44s] misc.c:86:13: warning: 'bb_ldo_auto_en' defined but not used [-Wunused-function] [ 44s] static void bb_ldo_auto_en() [ 44s] ^ [ 44s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 44s] -o dlmalloc.o dlmalloc.c -c [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 44s] make -C drivers/mmc/ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from dcdc_cal_sc2723.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 44s] from dcdc_cal_sc2723.c:4: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 44s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 44s] ^ [ 44s] In file included from dcdc_cal_sc2723.c:1:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 44s] #define MAX(x, y) max(x, y) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 44s] from dcdc_cal_sc2723.c:4: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 44s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 44s] ^ [ 44s] In file included from dcdc_cal_sc2723.c:1:0: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 44s] #define MIN(x, y) min(x, y) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 44s] from dcdc_cal_sc2723.c:5: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 44s] from dcdc_cal_sc2723.c:5: [ 44s] /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 [ 44s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 44s] ^ [ 44s] dcdc_cal_sc2723.c:789:27: warning: initialization makes pointer from integer without a cast [ 44s] vol_para_t **ppvol_para = 0x50003C20; [ 44s] ^ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 44s] from dlmalloc.c:1: [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 44s] #define CONFIG_MMC 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 44s] #define CONFIG_MMC [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 44s] #define CONFIG_EFI_PARTITION 1 [ 44s] ^ [ 44s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 44s] #define CONFIG_EFI_PARTITION [ 44s] ^ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 45s] {standard input}: Assembler messages: [ 45s] {standard input}:3136: Warning: setting incorrect section attributes for .rodata.regu.init1 [ 45s] 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 [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o env_common.o env_common.c -c [ 45s] a - mmu_asm.o [ 45s] a - generic.o [ 45s] a - timer.o [ 45s] a - reset.o [ 45s] a - ldo.o [ 45s] a - mfp_sprd.o [ 45s] a - mmu.o [ 45s] a - adc.o [ 45s] a - rtc-sprd.o [ 45s] a - sec_boot.o [ 45s] a - glb.o [ 45s] a - adi.o [ 45s] a - gpio.o [ 45s] a - gpio_phy.o [ 45s] a - clock.o [ 45s] a - clock_test.o [ 45s] a - check_reboot.o [ 45s] a - eic.o [ 45s] a - vibrator_sc2723.o [ 45s] a - otp-helper.o [ 45s] a - efuse.o [ 45s] a - ana_efuse.o [ 45s] a - watchdog.o [ 45s] a - watchdog_phy_v3.o [ 45s] a - watchdog_hal.o [ 45s] a - chip_cfg.o [ 45s] a - chip_x30g/chip_phy_x30g.o [ 45s] a - Tshark_boot_cp.o [ 45s] a - misc.o [ 45s] a - dcdc_cal_sc2723.o [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 45s] make -C drivers/mtd/ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 45s] from env_common.c:27: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] rm -f libmisc.o; ar rcs libmisc.o [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o env_nowhere.o env_nowhere.c -c [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 45s] make -C drivers/mtd/nand/ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 45s] from env_nowhere.c:27: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o exports.o exports.c -c [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 45s] from exports.c:1: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o fdt_support.o fdt_support.c -c [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o mmc.o mmc.c -c [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 45s] from fdt_support.c:26: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 45s] from fdt_support.c:35: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 45s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 45s] ^ [ 45s] In file included from fdt_support.c:26:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 45s] #define MAX(x, y) max(x, y) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 45s] from fdt_support.c:35: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 45s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 45s] ^ [ 45s] In file included from fdt_support.c:26:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 45s] #define MIN(x, y) min(x, y) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 45s] from fdt_support.c:35: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 45s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 45s] ^ [ 45s] /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 [ 45s] #define VLR_INFO_OFF (512) [ 45s] ^ [ 45s] In file included from fdt_support.c:35:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 45s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 45s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 45s] ^ [ 45s] In file included from fdt_support.c:35:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 45s] int read_spldata(); [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 45s] void vlx_entry(); [ 45s] ^ [ 45s] fdt_support.c: In function 'fdt_initrd_norsvmem': [ 45s] fdt_support.c:222:17: warning: unused variable 'size' [-Wunused-variable] [ 45s] uint64_t addr, size; [ 45s] ^ [ 45s] fdt_support.c:222:11: warning: unused variable 'addr' [-Wunused-variable] [ 45s] uint64_t addr, size; [ 45s] ^ [ 45s] fdt_support.c: In function 'fdt_chosen_bootargs_replace': [ 45s] fdt_support.c:376:13: warning: assignment discards 'const' qualifier from pointer target type [ 45s] src = path; [ 45s] ^ [ 45s] fdt_support.c: In function 'fdt_fixup_lcdid': [ 45s] fdt_support.c:471:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 45s] extern uint32_t load_lcd_id_to_kernel(); [ 45s] ^ [ 45s] fdt_support.c: In function 'fdt_fixup_lcdbase': [ 45s] fdt_support.c:501:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] [ 45s] sprintf(&buf[str_len], "%x",lcd_base); [ 45s] ^ [ 45s] fdt_support.c: In function 'fdt_fixup_adc_calibration_data': [ 45s] fdt_support.c:628:41: warning: passing argument 1 of 'read_adc_calibration_data' from incompatible pointer type [ 45s] int ret = read_adc_calibration_data(adc_data,48); [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18:0, [ 45s] from fdt_support.c:35: [ 45s] /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 *' [ 45s] int read_adc_calibration_data(char *buffer,int size); [ 45s] ^ [ 45s] fdt_support.c:634:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 45s] int ret; [ 45s] ^ [ 45s] fdt_support.c: In function 'fdt_fixup_chosen_bootargs_board_private': [ 45s] fdt_support.c:732:2: warning: implicit declaration of function 'poweron_by_calibration' [-Wimplicit-function-declaration] [ 45s] fdt_fixup_chosen_bootargs_board(buf, boot_mode, poweron_by_calibration()); [ 45s] ^ [ 45s] fdt_support.c: In function 'fdt_debug_print_prop': [ 45s] fdt_support.c:1687:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 45s] printf("fdt addr: 0x%x\n", fdt); [ 45s] ^ [ 45s] fdt_support.c:1683:8: warning: unused variable 'strargs' [-Wunused-variable] [ 45s] char *strargs; [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from mmc.c:26: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] rm -f libmtd.o; ar rcs libmtd.o [ 45s] In file included from mmc.c:37:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 45s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 45s] ^ [ 45s] /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 [ 45s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 45s] from mmc.c:47: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 45s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 45s] ^ [ 45s] In file included from mmc.c:27:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 45s] #define MAX(x, y) max(x, y) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 45s] from mmc.c:47: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 45s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 45s] ^ [ 45s] In file included from mmc.c:27:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 45s] #define MIN(x, y) min(x, y) [ 45s] ^ [ 45s] In file included from mmc.c:52:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 45s] #define KPD_NUM (0x31 << 16) [ 45s] ^ [ 45s] /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 [ 45s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 45s] ^ [ 45s] mmc.c: In function 'mmc_bwrite': [ 45s] mmc.c:160:3: warning: implicit declaration of function 'Emmc_Write' [-Wimplicit-function-declaration] [ 45s] if(Emmc_Write(0, start, blkcnt, (uint8*)src)) [ 45s] ^ [ 45s] mmc.c: In function 'mmc_bread': [ 45s] mmc.c:240:3: warning: implicit declaration of function 'Emmc_Read' [-Wimplicit-function-declaration] [ 45s] if(Emmc_Read(0, start, blkcnt, (uint8*)dst)) [ 45s] ^ [ 45s] mmc.c: In function 'mmc_register': [ 45s] mmc.c:915:3: warning: implicit declaration of function 'Emmc_GetCapacity' [-Wimplicit-function-declaration] [ 45s] mmc->block_dev.lba = Emmc_GetCapacity(0);; [ 45s] ^ [ 45s] mmc.c: In function 'mmc_legacy_init': [ 45s] mmc.c:1027:2: warning: implicit declaration of function 'Emmc_Init' [-Wimplicit-function-declaration] [ 45s] if(TRUE == Emmc_Init()) [ 45s] ^ [ 45s] mmc.c:1025:11: warning: unused variable 'rca' [-Wunused-variable] [ 45s] uint16_t rca = 0; [ 45s] ^ [ 45s] mmc.c:1024:12: warning: unused variable 'resp' [-Wunused-variable] [ 45s] uint32_t *resp; [ 45s] ^ [ 45s] mmc.c:1023:11: warning: unused variable 'cid_resp' [-Wunused-variable] [ 45s] uint32_t cid_resp[4]; [ 45s] ^ [ 45s] mmc.c:1022:6: warning: unused variable 'retries' [-Wunused-variable] [ 45s] int retries, rc = -ENODEV; [ 45s] ^ [ 45s] mmc.c: At top level: [ 45s] mmc.c:1053:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 45s] int mmc_sdcard_init() [ 45s] ^ [ 45s] mmc.c: In function 'mmc_sdcard_init': [ 45s] mmc.c:1056:2: warning: implicit declaration of function 'SDCARD_PowerOn' [-Wimplicit-function-declaration] [ 45s] if (TRUE == SDCARD_PowerOn()) { [ 45s] ^ [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o mv_sdhci.o mv_sdhci.c -c [ 45s] rm -f libnand.o; ar rcs libnand.o [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 45s] from mv_sdhci.c:1: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] mv_sdhci.c: In function 'sdhci_dumpregs': [ 45s] mv_sdhci.c:18:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 45s] printf(KERN_DEBUG DRIVER_NAME ": address 0x%08x | value 0x%08x\n", host->ioaddr + i*4, sdhci_readl(host, i*4)); [ 45s] ^ [ 45s] mv_sdhci.c: In function 'sdhci_sprd_set_base_clock': [ 45s] mv_sdhci.c:65:16: warning: unused variable 'flags' [-Wunused-variable] [ 45s] unsigned long flags; [ 45s] ^ [ 45s] mv_sdhci.c: At top level: [ 45s] mv_sdhci.c:63:13: warning: 'sdhci_sprd_set_base_clock' defined but not used [-Wunused-function] [ 45s] static void sdhci_sprd_set_base_clock(unsigned int clock) [ 45s] ^ [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o sdhci.o sdhci.c -c [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o flash.o flash.c -c [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 45s] make -C drivers/mtd/onenand/ [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o sdio_card_pal.o sdio_card_pal.c -c [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 45s] from sdhci.c:27: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 45s] from flash.c:26: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 45s] sdhci.c: In function 'sdhci_send_command': [ 45s] sdhci.c:198:3: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 45s] Dcache_CleanRegion(start_addr, trans_bytes); [ 45s] ^ [ 45s] sdhci.c:199:3: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 45s] Dcache_InvalRegion(start_addr, trans_bytes); [ 45s] ^ [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o idh_layout.o idh_layout.c -c [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 45s] from sdio_card_pal.c:2: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 45s] from sdio_card_pal.c:7: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 45s] #define KPD_NUM (0x31 << 16) [ 45s] ^ [ 45s] /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 [ 45s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 45s] from sdio_card_pal.c:7: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 45s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 45s] ^ [ 45s] /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 [ 45s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 45s] ^ [ 45s] sdio_card_pal.c: In function 'SDIO_Card_Pal_Pwr': [ 45s] sdio_card_pal.c:524:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 45s] udelay(5000); [ 45s] ^ [ 45s] sdio_card_pal.c: In function 'SDIO_Card_Pal_SendCmd': [ 45s] sdio_card_pal.c:809:16: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 45s] Dcache_CleanRegion((unsigned int)(dataParam->databuf), bufferSize); [ 45s] ^ [ 45s] sdio_card_pal.c:810:16: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 45s] Dcache_InvalRegion((unsigned int)(dataParam->databuf), bufferSize); [ 45s] ^ [ 45s] sdio_card_pal.c:826:3: warning: implicit declaration of function '_SDHOST_IrqHandle' [-Wimplicit-function-declaration] [ 45s] _SDHOST_IrqHandle(handle->sdio_No); [ 45s] ^ [ 45s] sdio_card_pal.c:754:13: warning: unused variable 'isr_status' [-Wunused-variable] [ 45s] uint32 isr_status; [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 45s] from idh_layout.c:1: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o image.o image.c -c [ 45s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 45s] -o sdhost_phy.o sdhost_phy.c -c [ 45s] idh_layout.c: In function 'create_mtdpart_buffer': [ 45s] idh_layout.c:54:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 45s] while (strcmp(mtd_partition_cfg[i].name, "cache") != 0) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 45s] from idh_layout.c:1: [ 45s] /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 *' [ 45s] extern int strcmp(const char *,const char *); [ 45s] ^ [ 45s] idh_layout.c:64:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 45s] while (strcmp(mtd_partition_cfg[i].name, "userdata") != 0) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 45s] from idh_layout.c:1: [ 45s] /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 *' [ 45s] extern int strcmp(const char *,const char *); [ 45s] ^ [ 45s] idh_layout.c:79:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 45s] sprintf(mtdpartbuffer, "mtdparts=sprd-nand:"); [ 45s] ^ [ 45s] In file included from idh_layout.c:1:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 45s] int sprintf(char * buf, const char *fmt, ...) [ 45s] ^ [ 45s] idh_layout.c:80:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 45s] str_len = strlen(mtdpartbuffer); [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 45s] from idh_layout.c:1: [ 45s] /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 *' [ 45s] extern __kernel_size_t strlen(const char *); [ 45s] ^ [ 45s] idh_layout.c:83:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 45s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 45s] ^ [ 45s] In file included from idh_layout.c:1:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 45s] int sprintf(char * buf, const char *fmt, ...) [ 45s] ^ [ 45s] idh_layout.c:83:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 45s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 45s] ^ [ 45s] idh_layout.c:84:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 45s] str_len = strlen(mtdpartbuffer); [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 45s] from idh_layout.c:1: [ 45s] /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 *' [ 45s] extern __kernel_size_t strlen(const char *); [ 45s] ^ [ 45s] idh_layout.c:87:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 45s] str_len = strlen(mtdpartbuffer); [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 45s] from idh_layout.c:1: [ 45s] /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 *' [ 45s] extern __kernel_size_t strlen(const char *); [ 45s] ^ [ 45s] idh_layout.c: At top level: [ 45s] idh_layout.c:22:22: warning: 'nandsize' defined but not used [-Wunused-variable] [ 45s] static unsigned long nandsize = 0; [ 45s] ^ [ 45s] make -C drivers/mtd/spi/ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 45s] from image.c:27: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 45s] from sdhost_phy.c:19: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 45s] #define CONFIG_MMC 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 45s] #define CONFIG_MMC [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 45s] #define CONFIG_EFI_PARTITION 1 [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 45s] #define CONFIG_EFI_PARTITION [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:34:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 45s] #define KPD_NUM (0x31 << 16) [ 45s] ^ [ 45s] /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 [ 45s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 45s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 45s] ^ [ 45s] /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 [ 45s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 45s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define ADC_BASE 0x40038300 //Aux ADC [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 45s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 45s] ^ [ 45s] /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 [ 45s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 45s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 45s] ^ [ 45s] /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 [ 45s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 45s] ^ [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 45s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 45s] ^ [ 45s] /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 [ 45s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 45s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define RTC_BASE 0x40038080 [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 45s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 45s] ^ [ 45s] In file included from sdhost_phy.c:34:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 45s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 45s] ^ [ 45s] In file included from sdhost_phy.c:34:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:38:0: warning: "USB_PHY_CTRL" redefined [ 45s] #define USB_PHY_CTRL (AHB_REG_BASE + 0xA0) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:21:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define USB_PHY_CTRL (CTL_BASE_APB+0x10) [ 45s] ^ [ 45s] In file included from sdhost_phy.c:34:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 45s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 45s] ^ [ 45s] In file included from sdhost_phy.c:39:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:21:0: warning: "REG_SETCLRBIT" redefined [ 45s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 45s] ^ [ 45s] In file included from sdhost_phy.c:39:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:34:0: warning: "GET_LEVELBIT" redefined [ 45s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 45s] ^ [ 45s] In file included from sdhost_phy.c:39:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:41:0: warning: "GET_LEVEL" redefined [ 45s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 45s] ^ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 45s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 45s] from sdhost_phy.c:21: [ 45s] /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 [ 45s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 45s] ^ [ 45s] sdhost_phy.c: In function '_GetIntSDHOSTSlotNum': [ 45s] sdhost_phy.c:2341:12: warning: unused variable 'tmpReg' [-Wunused-variable] [ 45s] uint32 tmpReg; [ 45s] ^ [ 45s] sdhost_phy.c: In function 'SdhostHisrFunc': [ 45s] sdhost_phy.c:2484:5: warning: implicit declaration of function 'threadReadBuffer' [-Wimplicit-function-declaration] [ 45s] while (!threadReadBuffer (&buffer)) [ 45s] ^ [ 45s] sdhost_phy.c: In function 'SDHOST_Register': [ 45s] sdhost_phy.c:2515:24: warning: unused variable 'i' [-Wunused-variable] [ 45s] uint32 status = 0, i = 0; [ 45s] ^ [ 45s] sdhost_phy.c:2515:12: warning: unused variable 'status' [-Wunused-variable] [ 45s] uint32 status = 0, i = 0; [ 45s] ^ [ 45s] sdhost_phy.c: At top level: [ 45s] sdhost_phy.c:2480:13: warning: 'SdhostHisrFunc' defined but not used [-Wunused-function] [ 45s] LOCAL void SdhostHisrFunc (uint32 cnt, void *pData) [ 45s] ^ [ 45s] sdhost_phy.c:115:15: warning: '_RegisterVerifyHOST' defined but not used [-Wunused-function] [ 45s] LOCAL BOOLEAN _RegisterVerifyHOST (SDHOST_HANDLE sdhost_handler) [ 45s] ^ [ 45s] sdhost_phy.c:1621:12: warning: '_GetSDHOSTCapbility' defined but not used [-Wunused-function] [ 45s] LOCAL void _GetSDHOSTCapbility (SDHOST_HANDLE sdhost_handler,SDHOST_CAPBILIT_T *capbility) [ 45s] ^ [ 45s] sdhost_phy.c:2339:22: warning: '_GetIntSDHOSTSlotNum' defined but not used [-Wunused-function] [ 45s] LOCAL SDHOST_SLOT_NO _GetIntSDHOSTSlotNum (uint32 port) [ 45s] ^ [ 45s] sdhost_phy.c:2490:12: warning: '_SDHOST_Pin_select' defined but not used [-Wunused-function] [ 45s] LOCAL void _SDHOST_Pin_select(SDHOST_SLOT_NO slot_NO) [ 45s] ^ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 46s] -o lcd.o lcd.c -c [ 46s] rm -f libonenand.o; ar rcs libonenand.o [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 46s] -o card_sdio.o card_sdio.c -c [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 46s] from lcd.c:31: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 46s] #define CONFIG_MMC 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 46s] #define CONFIG_MMC [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 46s] #define CONFIG_EFI_PARTITION 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 46s] #define CONFIG_EFI_PARTITION [ 46s] ^ [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 46s] -o main.o main.c -c [ 46s] In file included from lcd.c:65:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) sp_palette[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:26:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) sp_bitmap[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:791:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned int __attribute__((packed, aligned(4))) sp_num_bitmap[] = { [ 46s] ^ [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 46s] from card_sdio.c:20: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 46s] #define CONFIG_MMC 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 46s] #define CONFIG_MMC [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 46s] #define CONFIG_EFI_PARTITION 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 46s] #define CONFIG_EFI_PARTITION [ 46s] ^ [ 46s] In file included from card_sdio.c:22:0: [ 46s] card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 46s] PUBLIC void Emmc_DisSdClk(); [ 46s] ^ [ 46s] card_sdio.c:362:1: warning: missing braces around initializer [-Wmissing-braces] [ 46s] LOCAL CARD_PORT_T cardPort[CARD_SDIO_SLOT_MAX] = {0}; [ 46s] ^ [ 46s] card_sdio.c:362:1: warning: (near initialization for 'cardPort[0]') [-Wmissing-braces] [ 46s] In file included from lcd.c:66:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) thor_palette[] = { [ 46s] ^ [ 46s] card_sdio.c: In function 'CARD_SDIO_Select_CurPartition': [ 46s] card_sdio.c:1394:9: warning: unused variable 'RCA' [-Wunused-variable] [ 46s] uint16 RCA = cardHandle->RCA; [ 46s] ^ [ 46s] card_sdio.c: In function '_SetBusWidth': [ 46s] card_sdio.c:1442:9: warning: unused variable 'RCA' [-Wunused-variable] [ 46s] uint16 RCA = cardHandle->RCA; [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:44:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) thor_bitmap[] = { [ 46s] ^ [ 46s] card_sdio.c: In function 'CARD_SDIO_InitCard': [ 46s] card_sdio.c:1648:8: warning: variable 'extcsd_Part_Config' set but not used [-Wunused-but-set-variable] [ 46s] uint8 extcsd_Part_Config; [ 46s] ^ [ 46s] card_sdio.c:1646:24: warning: unused variable 'errCode' [-Wunused-variable] [ 46s] SDIO_CARD_PAL_ERROR_E errCode; [ 46s] ^ [ 46s] card_sdio.c:1645:10: warning: unused variable 'vertion_flag' [-Wunused-variable] [ 46s] BOOLEAN vertion_flag; //TRUE: SD2.0 FALSE: SD1.x [ 46s] ^ [ 46s] card_sdio.c: In function 'CARD_SDIO_getCID': [ 46s] card_sdio.c:1930:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 46s] 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]; [ 46s] ^ [ 46s] card_sdio.c:1930:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 46s] 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]; [ 46s] ^ [ 46s] card_sdio.c:1932:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 46s] 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; [ 46s] ^ [ 46s] card_sdio.c:1932:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 46s] 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; [ 46s] ^ [ 46s] card_sdio.c:1932:135: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 46s] 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; [ 46s] ^ [ 46s] card_sdio.c:1933:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 46s] 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; [ 46s] ^ [ 46s] card_sdio.c:1933:110: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 46s] 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; [ 46s] ^ [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 46s] from card_sdio.c:1964: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h: In function 'SDCARD_SDIO_InitCard': [ 46s] /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 [ 46s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 46s] ^ [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 46s] from card_sdio.c:1964: [ 46s] /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 [ 46s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 46s] ^ [ 46s] card_sdio.c:1968:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 46s] sprd_gpio_request(NULL, 100); [ 46s] ^ [ 46s] card_sdio.c:1969:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 46s] sprd_gpio_direction_output(NULL, 100, 1); [ 46s] ^ [ 46s] card_sdio.c:1976:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 46s] udelay(5000); [ 46s] ^ [ 46s] card_sdio.c:2165:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 46s] printf("SDCARD_SDIO_ReadRCA failed!\r\n"); [ 46s] ^ [ 46s] card_sdio.c:1953:19: warning: unused variable 'busWidth' [-Wunused-variable] [ 46s] CARD_BUS_WIDTH_E busWidth = CARD_WIDTH_1_BIT; [ 46s] ^ [ 46s] In file included from card_sdio.c:1964:0: [ 46s] /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] [ 46s] } pinmap_t; [ 46s] ^ [ 46s] card_sdio.c: At top level: [ 46s] card_sdio.c:2783:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 46s] PUBLIC BOOLEAN SDCARD_Init() [ 46s] ^ [ 46s] card_sdio.c: In function 'SDCARD_Init': [ 46s] card_sdio.c:2785:9: warning: unused variable 'ret' [-Wunused-variable] [ 46s] uint32 ret = 0; [ 46s] ^ [ 46s] card_sdio.c: At top level: [ 46s] card_sdio.c:2797:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 46s] PUBLIC BOOLEAN SDCARD_PowerOn() [ 46s] ^ [ 46s] card_sdio.c:2907:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 46s] PUBLIC void Emmc_DisSdClk() [ 46s] ^ [ 46s] card_sdio.c:370:15: warning: '_IsCardHandleValid' defined but not used [-Wunused-function] [ 46s] LOCAL BOOLEAN _IsCardHandleValid(CARD_SDIO_HANDLE cardHandle) [ 46s] ^ [ 46s] card_sdio.c:457:12: warning: '_SD_CID_Analyze' defined but not used [-Wunused-function] [ 46s] LOCAL void _SD_CID_Analyze(uint8* CIDbuf,CARD_SD_CID_T *CID) [ 46s] ^ [ 46s] card_sdio.c:1580:12: warning: '_CMD6_Response_Analyze' defined but not used [-Wunused-function] [ 46s] LOCAL void _CMD6_Response_Analyze(uint8* resBuf,CARD_CMD6_STATUS_T* cmdStatus) [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:2908:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned int __attribute__((packed, aligned(4))) thor_num_bitmap[] = { [ 46s] ^ [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 46s] from main.c:30: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 46s] #define CONFIG_MMC 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 46s] #define CONFIG_MMC [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 46s] #define CONFIG_EFI_PARTITION 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 46s] #define CONFIG_EFI_PARTITION [ 46s] ^ [ 46s] In file included from lcd.c:67:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) charge_palette[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) charge_bitmap[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:381:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned int __attribute__((packed, aligned(4))) charge_num_bitmap[] = { [ 46s] ^ [ 46s] In file included from lcd.c:68:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) prog_start_palette[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:13:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) prog_start_bitmap[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned int __attribute__((packed, aligned(4))) prog_start_num_bitmap[] = { [ 46s] ^ [ 46s] In file included from lcd.c:69:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) prog_mid_palette[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) prog_mid_bitmap[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:10:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned int __attribute__((packed, aligned(4))) prog_mid_num_bitmap[] = { [ 46s] ^ [ 46s] In file included from lcd.c:70:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) prog_end_palette[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:12:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned short __attribute__((packed, aligned(4))) prog_end_bitmap[] = { [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 46s] unsigned int __attribute__((packed, aligned(4))) prog_end_num_bitmap[] = { [ 46s] ^ [ 46s] lcd.c: In function 'lcd_drawchars': [ 46s] lcd.c:224:9: warning: variable 'off' set but not used [-Wunused-but-set-variable] [ 46s] ushort off, row; [ 46s] ^ [ 46s] lcd.c: In function '_draw_image': [ 46s] lcd.c:510:15: warning: unused variable 'tmp' [-Wunused-variable] [ 46s] unsigned int tmp; [ 46s] ^ [ 46s] lcd.c: In function 'bitmap_plot': [ 46s] lcd.c:677:3: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 46s] lcd_display(); [ 46s] ^ [ 46s] lcd.c:608:10: warning: unused variable 'fb16' [-Wunused-variable] [ 46s] ushort *fb16; [ 46s] ^ [ 46s] lcd.c:605:12: warning: unused variable 'j' [-Wunused-variable] [ 46s] ushort i, j; [ 46s] ^ [ 46s] lcd.c: In function 'lcd_display_bitmap': [ 46s] lcd.c:709:16: warning: variable 'compression' set but not used [-Wunused-but-set-variable] [ 46s] unsigned long compression; [ 46s] ^ [ 46s] rm -f libspi_flash.o; ar rcs libspi_flash.o [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 46s] -o memsize.o memsize.c -c [ 46s] make -C drivers/mtd/ubi/ [ 46s] ld -r -o libmmc.o mmc.o mv_sdhci.o sdhci.o sdio_card_pal.o sdhost_phy.o card_sdio.o [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 46s] -o s_record.o s_record.c -c [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 46s] from memsize.c:24: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 46s] #define CONFIG_MMC 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 46s] #define CONFIG_MMC [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 46s] #define CONFIG_EFI_PARTITION 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 46s] #define CONFIG_EFI_PARTITION [ 46s] ^ [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 46s] make -C drivers/net/ [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 46s] -o stdio.o stdio.c -c [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 46s] from s_record.c:24: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 46s] #define CONFIG_MMC 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 46s] #define CONFIG_MMC [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 46s] #define CONFIG_EFI_PARTITION 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 46s] #define CONFIG_EFI_PARTITION [ 46s] ^ [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 46s] make -C drivers/net/phy/ [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 46s] from stdio.c:24: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 46s] #define CONFIG_MMC 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 46s] #define CONFIG_MMC [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 46s] #define CONFIG_EFI_PARTITION 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 46s] #define CONFIG_EFI_PARTITION [ 46s] ^ [ 46s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 46s] -o xyzModem.o xyzModem.c -c [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 46s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 46s] from xyzModem.c:57: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 46s] #define CONFIG_MMC 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 46s] #define CONFIG_MMC [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 46s] #define CONFIG_EFI_PARTITION 1 [ 46s] ^ [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 46s] #define CONFIG_EFI_PARTITION [ 46s] ^ [ 46s] rm -f libubi.o; ar rcs libubi.o [ 46s] 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 [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 46s] make -C drivers/pci/ [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 46s] rm -f libnet.o; ar rcs libnet.o [ 46s] make -C drivers/pcmcia/ [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 46s] rm -f libphy.o; ar rcs libphy.o [ 46s] make -C drivers/power/ [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 47s] make -C drivers/rtc/ [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 47s] rm -f libpci.o; ar rcs libpci.o [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 47s] make -C drivers/serial/ [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 47s] -o rpx_pcmcia.o rpx_pcmcia.c -c [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 47s] -o sprd_battery.o sprd_battery.c -c [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 47s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 47s] from rpx_pcmcia.c:4: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 47s] #define CONFIG_MMC 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 47s] #define CONFIG_MMC [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 47s] #define CONFIG_EFI_PARTITION 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 47s] #define CONFIG_EFI_PARTITION [ 47s] ^ [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 47s] -o tqm8xx_pcmcia.o tqm8xx_pcmcia.c -c [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 47s] -o date.o date.c -c [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 47s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 47s] from sprd_battery.c:1: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 47s] #define CONFIG_MMC 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 47s] #define CONFIG_MMC [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 47s] #define CONFIG_EFI_PARTITION 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 47s] #define CONFIG_EFI_PARTITION [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 47s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 47s] from sprd_battery.c:4: [ 47s] /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 [ 47s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 47s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 47s] from sprd_battery.c:4: [ 47s] /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 [ 47s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 47s] ^ [ 47s] In file included from sprd_battery.c:4:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 47s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 47s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 47s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 47s] from sprd_battery.c:4: [ 47s] /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 [ 47s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 47s] from sprd_battery.c:5: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 47s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 47s] ^ [ 47s] In file included from sprd_battery.c:1:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 47s] #define MAX(x, y) max(x, y) [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 47s] from sprd_battery.c:5: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 47s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 47s] ^ [ 47s] In file included from sprd_battery.c:1:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 47s] #define MIN(x, y) min(x, y) [ 47s] ^ [ 47s] sprd_battery.c:232:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 47s] unsigned int get_fgu_vol() { [ 47s] ^ [ 47s] sprd_battery.c:236:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 47s] unsigned int get_fgu_cur() { [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 47s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 47s] from tqm8xx_pcmcia.c:5: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 47s] #define CONFIG_MMC 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 47s] #define CONFIG_MMC [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 47s] #define CONFIG_EFI_PARTITION 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 47s] #define CONFIG_EFI_PARTITION [ 47s] ^ [ 47s] ld -r -o libpcmcia.o rpx_pcmcia.o tqm8xx_pcmcia.o [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 47s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 47s] from date.c:28: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 47s] #define CONFIG_MMC 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 47s] #define CONFIG_MMC [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 47s] #define CONFIG_EFI_PARTITION 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 47s] #define CONFIG_EFI_PARTITION [ 47s] ^ [ 47s] ld -r -o libpower.o sprd_battery.o [ 47s] ld -r -o librtc.o date.o [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 47s] make -C drivers/sound/codec/ [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 47s] make -C drivers/sound/dai/ [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 47s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 47s] -o serial_sc8800x.o serial_sc8800x.c -c [ 47s] make -C drivers/sound/ [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 47s] from serial_sc8800x.c:1: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 47s] #define CONFIG_MMC 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 47s] #define CONFIG_MMC [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 47s] #define CONFIG_EFI_PARTITION 1 [ 47s] ^ [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 47s] #define CONFIG_EFI_PARTITION [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 47s] from serial_sc8800x.c:6: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 47s] #define KPD_NUM (0x31 << 16) [ 47s] ^ [ 47s] /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 [ 47s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 47s] from serial_sc8800x.c:6: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 47s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 47s] ^ [ 47s] /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 [ 47s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 47s] from serial_sc8800x.c:7: [ 47s] /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] [ 47s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:5:0, [ 47s] from serial_sc8800x.c:7: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 47s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:2:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 47s] #define MAX(x, y) max(x, y) [ 47s] ^ [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:5:0, [ 47s] from serial_sc8800x.c:7: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 47s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:2:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 47s] #define MIN(x, y) min(x, y) [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:42:0: warning: "BIT_0" redefined [ 47s] #define BIT_0 0x00000001 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_0 0x01 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:43:0: warning: "BIT_1" redefined [ 47s] #define BIT_1 0x00000002 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_1 0x02 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:44:0: warning: "BIT_2" redefined [ 47s] #define BIT_2 0x00000004 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_2 0x04 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:45:0: warning: "BIT_3" redefined [ 47s] #define BIT_3 0x00000008 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_3 0x08 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:46:0: warning: "BIT_4" redefined [ 47s] #define BIT_4 0x00000010 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_4 0x10 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:47:0: warning: "BIT_5" redefined [ 47s] #define BIT_5 0x00000020 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_5 0x20 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:48:0: warning: "BIT_6" redefined [ 47s] #define BIT_6 0x00000040 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_6 0x40 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:49:0: warning: "BIT_7" redefined [ 47s] #define BIT_7 0x00000080 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_7 0x80 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:50:0: warning: "BIT_8" redefined [ 47s] #define BIT_8 0x00000100 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_8 0x0100 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:51:0: warning: "BIT_9" redefined [ 47s] #define BIT_9 0x00000200 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_9 0x0200 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:52:0: warning: "BIT_10" redefined [ 47s] #define BIT_10 0x00000400 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_10 0x0400 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:53:0: warning: "BIT_11" redefined [ 47s] #define BIT_11 0x00000800 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/bits.h:21:0: note: this is the location of the previous definition [ 47s] #define BIT_11 0x0800 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:54:0: warning: "BIT_12" redefined [ 47s] #define BIT_12 0x00001000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_12 0x1000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:55:0: warning: "BIT_13" redefined [ 47s] #define BIT_13 0x00002000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_13 0x2000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:56:0: warning: "BIT_14" redefined [ 47s] #define BIT_14 0x00004000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_14 0x4000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:57:0: warning: "BIT_15" redefined [ 47s] #define BIT_15 0x00008000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_15 0x8000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:58:0: warning: "BIT_16" redefined [ 47s] #define BIT_16 0x00010000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_16 0x010000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:59:0: warning: "BIT_17" redefined [ 47s] #define BIT_17 0x00020000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_17 0x020000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:60:0: warning: "BIT_18" redefined [ 47s] #define BIT_18 0x00040000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_18 0x040000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:61:0: warning: "BIT_19" redefined [ 47s] #define BIT_19 0x00080000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_19 0x080000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:62:0: warning: "BIT_20" redefined [ 47s] #define BIT_20 0x00100000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_20 0x100000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:63:0: warning: "BIT_21" redefined [ 47s] #define BIT_21 0x00200000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_21 0x200000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:64:0: warning: "BIT_22" redefined [ 47s] #define BIT_22 0x00400000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_22 0x400000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:10:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:65:0: warning: "BIT_23" redefined [ 47s] #define BIT_23 0x00800000 [ 47s] ^ [ 47s] In file included from serial_sc8800x.c:4:0: [ 47s] /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 [ 47s] #define BIT_23 0x800000 [ 47s] ^ [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 47s] ld -r -o libserial.o serial_sc8800x.o [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 47s] make -C drivers/spi/ [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 47s] rm -f libcodec.o; ar rcs libcodec.o [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 47s] make -C drivers/twserial/ [ 47s] rm -f libdai.o; ar rcs libdai.o [ 48s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 48s] make -C drivers/usb/gadget/dwc_otg/ [ 48s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 48s] rm -f libsound.o; ar rcs libsound.o [ 48s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 48s] make -C drivers/usb/gadget/ [ 48s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 48s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 48s] -o sprd_spi.o sprd_spi.c -c [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 48s] from sprd_spi.c:1: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 48s] #define CONFIG_MMC 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 48s] #define CONFIG_MMC [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 48s] #define CONFIG_EFI_PARTITION 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 48s] #define CONFIG_EFI_PARTITION [ 48s] ^ [ 48s] In file included from sprd_spi.c:4:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 48s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 48s] ^ [ 48s] /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 [ 48s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 48s] ^ [ 48s] In file included from sprd_spi.c:7:0: [ 48s] /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] [ 48s] PUBLIC void SPI_WaitTxFinish(); [ 48s] ^ [ 48s] sprd_spi.c: In function 'SPI_Reset': [ 48s] sprd_spi.c:94:9: warning: unused variable 'i' [-Wunused-variable] [ 48s] uint32 i = 0; [ 48s] ^ [ 48s] sprd_spi.c: In function 'SPI_SetCsLow': [ 48s] sprd_spi.c:153:9: warning: unused variable 'temp' [-Wunused-variable] [ 48s] uint32 temp; [ 48s] ^ [ 48s] sprd_spi.c: In function 'SPI_Init': [ 48s] sprd_spi.c:335:27: warning: unused variable 'ctl3' [-Wunused-variable] [ 48s] uint32 ctl0, ctl1, ctl2, ctl3; [ 48s] ^ [ 48s] sprd_spi.c:335:21: warning: unused variable 'ctl2' [-Wunused-variable] [ 48s] uint32 ctl0, ctl1, ctl2, ctl3; [ 48s] ^ [ 48s] sprd_spi.c:335:15: warning: unused variable 'ctl1' [-Wunused-variable] [ 48s] uint32 ctl0, ctl1, ctl2, ctl3; [ 48s] ^ [ 48s] sprd_spi.c:335:9: warning: unused variable 'ctl0' [-Wunused-variable] [ 48s] uint32 ctl0, ctl1, ctl2, ctl3; [ 48s] ^ [ 48s] sprd_spi.c: At top level: [ 48s] sprd_spi.c:366:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 48s] PUBLIC void SPI_WaitTxFinish() [ 48s] ^ [ 48s] sprd_spi.c: In function 'SPI_WaitTxFinish': [ 48s] sprd_spi.c:370:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] [ 48s] while( !(spi_ctr_ptr->iraw)&BIT_8 ) // IS tx finish [ 48s] ^ [ 48s] sprd_spi.c: In function 'SPI_WriteData': [ 48s] sprd_spi.c:387:9: warning: unused variable 'command' [-Wunused-variable] [ 48s] uint32 command; [ 48s] ^ [ 48s] sprd_spi.c: At top level: [ 48s] sprd_spi.c:120:12: warning: 'SPI_PinConfig' defined but not used [-Wunused-function] [ 48s] LOCAL void SPI_PinConfig(void) [ 48s] ^ [ 48s] ld -r -o libspi.o sprd_spi.o [ 48s] rm -f libtws.o; ar rcs libtws.o [ 48s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 48s] make -C drivers/usb/host/ [ 48s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 48s] make -C drivers/usb/musb/ [ 48s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 48s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 48s] -o epautoconf.o epautoconf.c -c [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 48s] from epautoconf.c:24: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 48s] #define CONFIG_MMC 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 48s] #define CONFIG_MMC [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 48s] #define CONFIG_EFI_PARTITION 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 48s] #define CONFIG_EFI_PARTITION [ 48s] ^ [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 48s] -o config.o config.c -c [ 48s] rm -f libusb_host.o; ar rcs libusb_host.o [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 48s] from dwc_otg_driver.c:57: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 48s] #define CONFIG_MMC 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 48s] #define CONFIG_MMC [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 48s] #define CONFIG_EFI_PARTITION 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 48s] #define CONFIG_EFI_PARTITION [ 48s] ^ [ 48s] dwc_otg_driver.c: In function 'dwc_otg_driver_remove': [ 48s] dwc_otg_driver.c:548:3: warning: implicit declaration of function 'pcd_remove' [-Wimplicit-function-declaration] [ 48s] pcd_remove(dwc_otg_device); [ 48s] ^ [ 48s] dwc_otg_driver.c: In function 'dwc_otg_driver_probe': [ 48s] dwc_otg_driver.c:626:23: warning: assignment makes pointer from integer without a cast [ 48s] dwc_otg_device->base = USB_PHYS; [ 48s] ^ [ 48s] dwc_otg_driver.c:606:6: warning: unused variable 'irq' [-Wunused-variable] [ 48s] int irq; [ 48s] ^ [ 48s] dwc_otg_driver.c: In function 'dwc_otg_driver_init': [ 48s] dwc_otg_driver.c:793:6: warning: unused variable 'error' [-Wunused-variable] [ 48s] int error; [ 48s] ^ [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 [ 48s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 48s] -o usbstring.o usbstring.c -c [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 48s] from config.c:24: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 48s] #define CONFIG_MMC 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 48s] #define CONFIG_MMC [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 48s] #define CONFIG_EFI_PARTITION 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 48s] #define CONFIG_EFI_PARTITION [ 48s] ^ [ 48s] rm -f libusb_musb.o; ar rcs libusb_musb.o [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 48s] from dwc_os.h:220, [ 48s] from dwc_otg_cil.c:60: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 48s] #define CONFIG_MMC 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 48s] #define CONFIG_MMC [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 48s] #define CONFIG_EFI_PARTITION 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 48s] #define CONFIG_EFI_PARTITION [ 48s] ^ [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 48s] from usbstring.c:13: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 48s] #define CONFIG_MMC 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 48s] #define CONFIG_MMC [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 48s] #define CONFIG_EFI_PARTITION 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 48s] #define CONFIG_EFI_PARTITION [ 48s] ^ [ 48s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 48s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 48s] -o serial.o serial.c -c [ 48s] dwc_otg_cil.c: In function 'calc_num_in_eps': [ 48s] dwc_otg_cil.c:436:11: warning: unused variable 'num_tx_fifos' [-Wunused-variable] [ 48s] uint32_t num_tx_fifos = core_if->hwcfg4.b.num_in_eps; [ 48s] ^ [ 48s] dwc_otg_cil.c: In function 'dwc_otg_ep0_continue_transfer': [ 48s] dwc_otg_cil.c:2886:19: warning: variable 'tx_status' set but not used [-Wunused-but-set-variable] [ 48s] gnptxsts_data_t tx_status = {.d32 = 0 }; [ 48s] ^ [ 48s] dwc_otg_cil.c: In function 'dwc_otg_dump_dev_registers': [ 48s] dwc_otg_cil.c:3257:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 48s] volatile uint32_t *addr; [ 48s] ^ [ 48s] dwc_otg_cil.c: In function 'dwc_otg_dump_host_registers': [ 48s] dwc_otg_cil.c:3414:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 48s] volatile uint32_t *addr; [ 48s] ^ [ 48s] dwc_otg_cil.c: In function 'dwc_otg_dump_global_registers': [ 48s] dwc_otg_cil.c:3471:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 48s] volatile uint32_t *addr; [ 48s] ^ [ 48s] dwc_otg_cil.c: In function 'dwc_otg_set_prtpower': [ 48s] dwc_otg_cil.c:5089:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 48s] hprt0_data_t hprt0; [ 48s] ^ [ 48s] dwc_otg_cil.c: In function 'dwc_otg_set_prtsuspend': [ 48s] dwc_otg_cil.c:5105:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 48s] hprt0_data_t hprt0; [ 48s] ^ [ 48s] dwc_otg_cil.c: In function 'dwc_otg_set_prtresume': [ 48s] dwc_otg_cil.c:5113:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 48s] hprt0_data_t hprt0; [ 48s] ^ [ 48s] make -C drivers/usb/phy/ [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 48s] from dwc_os.h:220, [ 48s] from dwc_otg_cil_intr.c:42: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 48s] #define CONFIG_MMC 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 48s] #define CONFIG_MMC [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 48s] #define CONFIG_EFI_PARTITION 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 48s] #define CONFIG_EFI_PARTITION [ 48s] ^ [ 48s] dwc_otg_cil_intr.c: In function 'dwc_otg_handle_usb_suspend_intr': [ 48s] dwc_otg_cil_intr.c:651:14: warning: variable 'dsts' set but not used [-Wunused-but-set-variable] [ 48s] dsts_data_t dsts; [ 48s] ^ [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 48s] from serial.c:12: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 48s] #define CONFIG_MMC 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 48s] #define CONFIG_MMC [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 48s] #define CONFIG_EFI_PARTITION 1 [ 48s] ^ [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 48s] #define CONFIG_EFI_PARTITION [ 48s] ^ [ 48s] In file included from u_serial.h:15:0, [ 48s] from serial.c:25: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:379:0: warning: "pr_warning" redefined [ 48s] #define pr_warning(args...) [ 48s] ^ [ 48s] In file included from serial.c:13:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:243:0: note: this is the location of the previous definition [ 48s] #define pr_warning(fmt, ...) \ [ 48s] ^ [ 48s] In file included from u_serial.h:15:0, [ 48s] from serial.c:25: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:380:0: warning: "pr_debug" redefined [ 48s] #define pr_debug(args...) [ 48s] ^ [ 48s] In file included from serial.c:13:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 48s] #define pr_debug(fmt, ...) [ 48s] ^ [ 49s] In file included from serial.c:52:0: [ 49s] f_acm.c: In function 'acm_complete_set_line_coding': [ 49s] f_acm.c:270:28: warning: unused variable 'cdev' [-Wunused-variable] [ 49s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 49s] ^ [ 49s] f_acm.c: In function 'acm_disable': [ 49s] f_acm.c:421:28: warning: unused variable 'cdev' [-Wunused-variable] [ 49s] struct usb_composite_dev *cdev = f->config->cdev; [ 49s] ^ [ 49s] f_acm.c: In function 'acm_notify_serial_state': [ 49s] f_acm.c:488:28: warning: unused variable 'cdev' [-Wunused-variable] [ 49s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 49s] ^ [ 49s] In file included from serial.c:53:0: [ 49s] f_obex.c: In function 'obex_disable': [ 49s] f_obex.c:266:28: warning: unused variable 'cdev' [-Wunused-variable] [ 49s] struct usb_composite_dev *cdev = f->config->cdev; [ 49s] ^ [ 49s] f_obex.c: In function 'obex_connect': [ 49s] f_obex.c:277:28: warning: unused variable 'cdev' [-Wunused-variable] [ 49s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 49s] ^ [ 49s] f_obex.c: In function 'obex_disconnect': [ 49s] f_obex.c:292:28: warning: unused variable 'cdev' [-Wunused-variable] [ 49s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 49s] ^ [ 49s] In file included from serial.c:54:0: [ 49s] f_serial.c: In function 'gser_disable': [ 49s] f_serial.c:199:28: warning: unused variable 'cdev' [-Wunused-variable] [ 49s] struct usb_composite_dev *cdev = f->config->cdev; [ 49s] ^ [ 49s] In file included from serial.c:55:0: [ 49s] u_serial.c: In function 'gs_start_tx': [ 49s] u_serial.c:369:9: warning: variable 'do_tty_wake' set but not used [-Wunused-but-set-variable] [ 49s] bool do_tty_wake = false; [ 49s] ^ [ 49s] u_serial.c: In function 'gs_read': [ 49s] u_serial.c:779:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [ 49s] memcpy(buf, packet, size); [ 49s] ^ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 49s] from serial.c:13: [ 49s] /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 *' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^ [ 49s] In file included from serial.c:55:0: [ 49s] u_serial.c:782:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [ 49s] memcpy(buf, packet, *count); [ 49s] ^ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 49s] from serial.c:13: [ 49s] /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 *' [ 49s] void* memcpy(void*, const void*, size_t); [ 49s] ^ [ 49s] In file included from serial.c:55:0: [ 49s] u_serial.c:788:1: warning: label 'recycle' defined but not used [-Wunused-label] [ 49s] recycle: [ 49s] ^ [ 49s] u_serial.c: In function 'gs_write': [ 49s] u_serial.c:808:45: warning: pointer targets in passing argument 2 of 'gs_buf_put' differ in signedness [-Wpointer-sign] [ 49s] count = gs_buf_put(&port->port_write_buf, buf, count); [ 49s] ^ [ 49s] u_serial.c:224:1: note: expected 'const char *' but argument is of type 'const unsigned char *' [ 49s] gs_buf_put(struct gs_buf *gb, const char *buf, unsigned count) [ 49s] ^ [ 49s] u_serial.c: In function 'gserial_connect': [ 49s] u_serial.c:1540:16: warning: unused variable 'flags' [-Wunused-variable] [ 49s] unsigned long flags; [ 49s] ^ [ 49s] u_serial.c: In function 'gserial_disconnect': [ 49s] u_serial.c:1614:16: warning: unused variable 'flags' [-Wunused-variable] [ 49s] unsigned long flags; [ 49s] ^ [ 49s] serial.c: At top level: [ 49s] serial.c:57:0: warning: "pr_warning" redefined [ 49s] #define pr_warning(args...) printf(##args) [ 49s] ^ [ 49s] In file included from u_serial.h:15:0, [ 49s] from serial.c:25: [ 49s] /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 [ 49s] #define pr_warning(args...) [ 49s] ^ [ 49s] In file included from serial.c:55:0: [ 49s] u_serial.c:1456:12: warning: 'gs_closed' defined but not used [-Wunused-function] [ 49s] static int gs_closed(struct gs_port *port) [ 49s] ^ [ 49s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 49s] from dwc_otg_pcd_linux.c:60: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 49s] #define CONFIG_MMC 1 [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 49s] #define CONFIG_MMC [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 49s] #define CONFIG_EFI_PARTITION 1 [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 49s] #define CONFIG_EFI_PARTITION [ 49s] ^ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 49s] from dwc_otg_pcd_linux.c:63: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 49s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 49s] ^ [ 49s] In file included from dwc_otg_pcd_linux.c:60:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 49s] #define MAX(x, y) max(x, y) [ 49s] ^ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 49s] from dwc_otg_pcd_linux.c:63: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 49s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 49s] ^ [ 49s] In file included from dwc_otg_pcd_linux.c:60:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 49s] #define MIN(x, y) min(x, y) [ 49s] ^ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 49s] from dwc_otg_pcd_linux.c:525: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 49s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 49s] ^ [ 49s] /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 [ 49s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 49s] ^ [ 49s] In file included from dwc_otg_pcd_linux.c:527:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: warning: "GREG_BASE" redefined [ 49s] #define GREG_BASE 0x4B000000 [ 49s] ^ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 49s] from dwc_otg_pcd_linux.c:525: [ 49s] /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 [ 49s] #define GREG_BASE CTL_BASE_GLB_REG [ 49s] ^ [ 49s] dwc_otg_pcd_linux.c: In function 'alloc_wrapper': [ 49s] dwc_otg_pcd_linux.c:1015:6: warning: unused variable 'retval' [-Wunused-variable] [ 49s] int retval; [ 49s] ^ [ 49s] dwc_otg_pcd_linux.c: In function 'pcd_init': [ 49s] dwc_otg_pcd_linux.c:1076:6: warning: unused variable 'irq' [-Wunused-variable] [ 49s] int irq; [ 49s] ^ [ 49s] dwc_otg_pcd_linux.c: In function 'pcd_remove': [ 49s] dwc_otg_pcd_linux.c:1128:17: warning: unused variable 'pcd' [-Wunused-variable] [ 49s] dwc_otg_pcd_t *pcd = otg_dev->pcd; [ 49s] ^ [ 49s] dwc_otg_pcd_linux.c: At top level: [ 49s] dwc_otg_pcd_linux.c:1002:13: warning: 'dwc_otg_pcd_gadget_release' defined but not used [-Wunused-function] [ 49s] static void dwc_otg_pcd_gadget_release(struct device *dev) [ 49s] ^ [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 49s] from dwc_os.h:220, [ 49s] from usb.h:44, [ 49s] from dwc_otg_pcd.h:37, [ 49s] from dwc_otg_pcd.c:51: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 49s] #define CONFIG_MMC 1 [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 49s] #define CONFIG_MMC [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 49s] #define CONFIG_EFI_PARTITION 1 [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 49s] #define CONFIG_EFI_PARTITION [ 49s] ^ [ 49s] rm -f libusb_phy.o; ar rcs libusb_phy.o [ 49s] dwc_otg_pcd.c: In function 'start_xfer_tasklet_func': [ 49s] dwc_otg_pcd.c:1064:17: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 49s] depctl_data_t diepctl; [ 49s] ^ [ 49s] dwc_otg_pcd.c:1051:16: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 49s] depctl_data_t diepctl; [ 49s] ^ [ 49s] dwc_otg_pcd.c: In function 'dwc_otg_pcd_ep_queue': [ 49s] dwc_otg_pcd.c:1534:6: warning: unused variable 'prevented' [-Wunused-variable] [ 49s] int prevented = 0; [ 49s] ^ [ 49s] dwc_otg_pcd.c: At top level: [ 49s] dwc_otg_pcd.c:77:13: warning: 'dump_log' defined but not used [-Wunused-function] [ 49s] static void dump_log(unsigned char * buf, int len, int direction) [ 49s] ^ [ 49s] dwc_otg_pcd.c:996:13: warning: 'srp_timeout' defined but not used [-Wunused-function] [ 49s] static void srp_timeout(void *ptr) [ 49s] ^ [ 49s] dwc_otg_pcd.c:1045:13: warning: 'start_xfer_tasklet_func' defined but not used [-Wunused-function] [ 49s] static void start_xfer_tasklet_func(void *data) [ 49s] ^ [ 49s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 [ 49s] ld -r -o libusb_gadget.o epautoconf.o config.o usbstring.o serial.o [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 49s] from dwc_os.h:220, [ 49s] from usb.h:44, [ 49s] from dwc_otg_pcd.h:37, [ 49s] from dwc_otg_pcd_intr.c:34: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 49s] #define CONFIG_MMC 1 [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 49s] #define CONFIG_MMC [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 49s] #define CONFIG_EFI_PARTITION 1 [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 49s] #define CONFIG_EFI_PARTITION [ 49s] ^ [ 49s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_np_tx_fifo_empty_intr': [ 49s] dwc_otg_pcd_intr.c:456:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 49s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 49s] ^ [ 49s] dwc_otg_pcd_intr.c: In function 'write_empty_tx_fifo': [ 49s] dwc_otg_pcd_intr.c:520:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 49s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 49s] ^ [ 49s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_in_ep_intr': [ 49s] dwc_otg_pcd_intr.c:3290:13: warning: variable 'empty_msk' set but not used [-Wunused-but-set-variable] [ 49s] uint32_t empty_msk; [ 49s] ^ [ 49s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 49s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 [ 49s] make -C drivers/video/ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 49s] from dwc_common_linux.c:4: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 49s] #define CONFIG_MMC 1 [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 49s] #define CONFIG_MMC [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 49s] #define CONFIG_EFI_PARTITION 1 [ 49s] ^ [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 49s] #define CONFIG_EFI_PARTITION [ 49s] ^ [ 49s] make -C drivers/video/sprdfb/dsi_1_21a/ [ 49s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 49s] make -C drivers/video/sprdfb/lcd/ [ 49s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 49s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 49s] 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 [ 49s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 49s] make -C drivers/video/sprdfb/ [ 49s] rm -f libvideo.o; ar rcs libvideo.o [ 49s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 49s] make -C drivers/watchdog/ [ 49s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 50s] -o lcd_s6e8aa5x01_mipi.o lcd_s6e8aa5x01_mipi.c -c [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 50s] -o mipi_dsih_api.o mipi_dsih_api.c -c [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20, [ 50s] from lcd_s6e8aa5x01_mipi.c:16: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 50s] #define CONFIG_MMC 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 50s] #define CONFIG_MMC [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 50s] #define CONFIG_EFI_PARTITION 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 50s] #define CONFIG_EFI_PARTITION [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:23:0, [ 50s] from lcd_s6e8aa5x01_mipi.c:16: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 50s] #define MIN(x, y) min(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from lcd_s6e8aa5x01_mipi.c:16: [ 50s] /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 [ 50s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:23:0, [ 50s] from lcd_s6e8aa5x01_mipi.c:16: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 50s] #define MAX(x, y) max(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from lcd_s6e8aa5x01_mipi.c:16: [ 50s] /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 [ 50s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 50s] from mipi_dsih_local.h:44, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 50s] #define CONFIG_MMC 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 50s] #define CONFIG_MMC [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 50s] #define CONFIG_EFI_PARTITION 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 50s] #define CONFIG_EFI_PARTITION [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_readid': [ 50s] lcd_s6e8aa5x01_mipi.c:134:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 50s] int32_t read_rtn = 0; [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_mtp': [ 50s] lcd_s6e8aa5x01_mipi.c:296:2: warning: implicit declaration of function 'save_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 50s] save_mtp_offset_to_kernel(mtp_offset); [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c:261:19: warning: unused variable 'mipi_dcs_write' [-Wunused-variable] [ 50s] mipi_dcs_write_t mipi_dcs_write = [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c:256:10: warning: unused variable 'size' [-Wunused-variable] [ 50s] int32_t size = 0; [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c:254:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 50s] int32_t read_rtn = 0; [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c:251:17: warning: unused variable 'g_para' [-Wunused-variable] [ 50s] LCM_Init_Code *g_para = NULL; [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_elvss': [ 50s] lcd_s6e8aa5x01_mipi.c:347:2: warning: implicit declaration of function 'save_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 50s] save_elvss_offset_to_kernel(elvss_offset); [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c:309:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 50s] int32_t size = 0; [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c:304:17: warning: unused variable 'hbm' [-Wunused-variable] [ 50s] LCM_Init_Code *hbm = NULL; [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_hbm': [ 50s] lcd_s6e8aa5x01_mipi.c:398:2: warning: implicit declaration of function 'save_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 50s] save_hbm_offset_to_kernel(hbm_g); [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c:360:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 50s] int32_t size = 0; [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c:355:17: warning: unused variable 'hbm' [-Wunused-variable] [ 50s] LCM_Init_Code *hbm = NULL; [ 50s] ^ [ 50s] lcd_s6e8aa5x01_mipi.c: At top level: [ 50s] lcd_s6e8aa5x01_mipi.c:72:22: warning: 'disp_on' defined but not used [-Wunused-variable] [ 50s] static LCM_Init_Code disp_on = {LCM_SEND(1), {0x29}}; [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 50s] from ../sprdfb_chip_common.h:18, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 50s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 50s] ^ [ 50s] /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 [ 50s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from ../sprdfb_chip_common.h:19, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 50s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from mipi_dsih_local.h:44:0, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 50s] #define MAX(x, y) max(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from ../sprdfb_chip_common.h:19, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 50s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from mipi_dsih_local.h:44:0, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 50s] #define MIN(x, y) min(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 50s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 50s] ^ [ 50s] In file included from ../sprdfb_chip_common.h:19:0, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /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 [ 50s] #define SPRD_PWM_BASE 0x88000000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 50s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 50s] from ../sprdfb_chip_common.h:18, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /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 [ 50s] #define ADC_BASE 0x40038300 //Aux ADC [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_api.h:40, [ 50s] from mipi_dsih_api.c:9: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 50s] ^ [ 50s] ld -r -o liblcd.o lcd_s6e8aa5x01_mipi.o [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 50s] -o mipi_dsih_hal.o mipi_dsih_hal.c -c [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 50s] from mipi_dsih_local.h:44, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 50s] #define CONFIG_MMC 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 50s] #define CONFIG_MMC [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 50s] #define CONFIG_EFI_PARTITION 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 50s] #define CONFIG_EFI_PARTITION [ 50s] ^ [ 50s] rm -f libwatchdog.o; ar rcs libwatchdog.o [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 50s] from ../sprdfb_chip_common.h:18, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 50s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 50s] ^ [ 50s] /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 [ 50s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from ../sprdfb_chip_common.h:19, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 50s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from mipi_dsih_local.h:44:0, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 50s] #define MAX(x, y) max(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from ../sprdfb_chip_common.h:19, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 50s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from mipi_dsih_local.h:44:0, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 50s] #define MIN(x, y) min(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 50s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 50s] ^ [ 50s] In file included from ../sprdfb_chip_common.h:19:0, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /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 [ 50s] #define SPRD_PWM_BASE 0x88000000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 50s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 50s] from ../sprdfb_chip_common.h:18, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /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 [ 50s] #define ADC_BASE 0x40038300 //Aux ADC [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_hal.h:41, [ 50s] from mipi_dsih_hal.c:8: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 50s] ^ [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 50s] -o mipi_dsih_dphy.o mipi_dsih_dphy.c -c [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 50s] make -C fs/cramfs/ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 50s] from mipi_dsih_local.h:44, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 50s] #define CONFIG_MMC 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 50s] #define CONFIG_MMC [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 50s] #define CONFIG_EFI_PARTITION 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 50s] #define CONFIG_EFI_PARTITION [ 50s] ^ [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 50s] from ../sprdfb_chip_common.h:18, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 50s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 50s] ^ [ 50s] /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 [ 50s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from ../sprdfb_chip_common.h:19, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 50s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from mipi_dsih_local.h:44:0, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 50s] #define MAX(x, y) max(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from ../sprdfb_chip_common.h:19, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 50s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from mipi_dsih_local.h:44:0, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 50s] #define MIN(x, y) min(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 50s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 50s] ^ [ 50s] In file included from ../sprdfb_chip_common.h:19:0, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /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 [ 50s] #define SPRD_PWM_BASE 0x88000000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 50s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 50s] from ../sprdfb_chip_common.h:18, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /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 [ 50s] #define ADC_BASE 0x40038300 //Aux ADC [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 50s] from ../sprdfb_chip_8830.h:18, [ 50s] from ../sprdfb_chip_common.h:30, [ 50s] from mipi_dsih_local.h:45, [ 50s] from mipi_dsih_dphy.h:11, [ 50s] from mipi_dsih_dphy.c:8: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 50s] ^ [ 50s] make -C fs/ext2/ [ 50s] mipi_dsih_dphy.c: In function 'mipi_dsih_dphy_calibration': [ 50s] mipi_dsih_dphy.c:98:28: warning: 'sv_data[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 50s] sv_data[1] =(sv_data[1]&0x1c) >>2; [ 50s] ^ [ 50s] mipi_dsih_dphy.c:97:28: warning: 'sv_data[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 50s] sv_data[0] =(sv_data[0]&0x1c) >>2; [ 50s] ^ [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 50s] ld -r -o libsprdfb_dsi.o mipi_dsih_api.o mipi_dsih_hal.o mipi_dsih_dphy.o [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 50s] make -C fs/ext4/ [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 50s] -o sprdfb_main.o sprdfb_main.c -c [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 50s] from sprdfb_main.c:15: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 50s] #define CONFIG_MMC 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 50s] #define CONFIG_MMC [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 50s] #define CONFIG_EFI_PARTITION 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 50s] #define CONFIG_EFI_PARTITION [ 50s] ^ [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from sprdfb_main.c:19: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 50s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from sprdfb_main.c:15:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 50s] #define MAX(x, y) max(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from sprdfb_main.c:19: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 50s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from sprdfb_main.c:15:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 50s] #define MIN(x, y) min(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 50s] from sprdfb_main.c:28: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 50s] #define KPD_NUM (0x31 << 16) [ 50s] ^ [ 50s] /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 [ 50s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 50s] from sprdfb_main.c:28: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 50s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 50s] ^ [ 50s] /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 [ 50s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: warning: "GREG_BASE" redefined [ 50s] #define GREG_BASE CTL_BASE_GLB_REG [ 50s] ^ [ 50s] In file included from sprdfb_main.c:27:0: [ 50s] /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 [ 50s] #define GREG_BASE 0x4B000000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from sprdfb_main.c:29: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 50s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 50s] ^ [ 50s] In file included from sprdfb_main.c:19:0: [ 50s] /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 [ 50s] #define SPRD_PWM_BASE 0x88000000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from sprdfb_main.c:29: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 50s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 50s] from sprdfb_main.c:28: [ 50s] /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 [ 50s] #define ADC_BASE 0x40038300 //Aux ADC [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 50s] from sprdfb_main.c:29: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 50s] from sprdfb_main.c:29: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 50s] ^ [ 50s] sprdfb_main.c: In function 'set_backlight': [ 50s] sprdfb_main.c:268:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 50s] sprd_gpio_request(NULL, BACKLIGHT_GPIO); [ 50s] ^ [ 50s] sprdfb_main.c:269:3: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 50s] sprd_gpio_direction_output(NULL, BACKLIGHT_GPIO, 0); [ 50s] ^ [ 50s] sprdfb_main.c:282:3: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 50s] sprd_gpio_set(NULL, BACKLIGHT_GPIO, 0); [ 50s] ^ [ 50s] sprdfb_main.c: In function 'save_mtp_offset_to_kernel': [ 50s] sprdfb_main.c:411:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 50s] hex_encoder((unsigned char *)mtp, mtp_offset, (MTP_LEN + 6)); [ 50s] ^ [ 50s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 50s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 50s] ^ [ 50s] sprdfb_main.c: In function 'save_hbm_offset_to_kernel': [ 50s] sprdfb_main.c:432:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 50s] hex_encoder((unsigned char *)hbm, hbm_g, 15); [ 50s] ^ [ 50s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 50s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 50s] ^ [ 50s] sprdfb_main.c: At top level: [ 50s] sprdfb_main.c:67:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 50s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 50s] ^ [ 50s] sprdfb_main.c:108:15: warning: 'get_adie_chipid' defined but not used [-Wunused-function] [ 50s] static uint32 get_adie_chipid(void) [ 50s] ^ [ 50s] sprdfb_main.c: In function 'byte2hex': [ 50s] sprdfb_main.c:395:1: warning: control reaches end of non-void function [-Wreturn-type] [ 50s] } [ 50s] ^ [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 50s] -o sprdfb_panel.o sprdfb_panel.c -c [ 50s] rm -f libcramfs.o; ar rcs libcramfs.o [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 50s] -o sprdfb_dispc.o sprdfb_dispc.c -c [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 50s] from sprdfb_panel.c:6: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 50s] #define CONFIG_MMC 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 50s] #define CONFIG_MMC [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 50s] #define CONFIG_EFI_PARTITION 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 50s] #define CONFIG_EFI_PARTITION [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from sprdfb_panel.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 50s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from sprdfb_panel.c:6:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 50s] #define MAX(x, y) max(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from sprdfb_panel.c:8: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 50s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from sprdfb_panel.c:6:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 50s] #define MIN(x, y) min(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 50s] from sprdfb_panel.c:9: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 50s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 50s] ^ [ 50s] /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 [ 50s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 50s] ^ [ 50s] sprdfb_panel.c: In function 'panel_reset_dispc': [ 50s] sprdfb_panel.c:438:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 50s] sprd_gpio_request(NULL, 103); [ 50s] ^ [ 50s] sprdfb_panel.c:439:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 50s] sprd_gpio_direction_output(NULL, 103, 0); [ 50s] ^ [ 50s] sprdfb_panel.c:440:2: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 50s] sprd_gpio_set(NULL, 103, 1); [ 50s] ^ [ 50s] sprdfb_panel.c: In function 'adapt_panel_from_readid': [ 50s] sprdfb_panel.c:573:4: warning: implicit declaration of function 'save_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 50s] save_lcd_id_to_kernel(id); [ 50s] ^ [ 50s] rm -f libext2fs.o; ar rcs libext2fs.o [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 50s] from sprdfb_dispc.c:15: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 50s] #define CONFIG_MMC 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 50s] #define CONFIG_MMC [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 50s] #define CONFIG_EFI_PARTITION 1 [ 50s] ^ [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 50s] #define CONFIG_EFI_PARTITION [ 50s] ^ [ 50s] make -C fs/fat/ [ 50s] In file included from sprdfb_dispc.c:17:0: [ 50s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list [ 50s] int32_t (*panel_if_check)(struct panel_spec *self); [ 50s] ^ [ 50s] sprdfb.h:45:35: warning: its scope is only this definition or declaration, which is probably not what you want [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 50s] from sprdfb_chip_common.h:18, [ 50s] from sprdfb_dispc.c:18: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 50s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 50s] ^ [ 50s] /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 [ 50s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from sprdfb_chip_common.h:19, [ 50s] from sprdfb_dispc.c:18: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 50s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from sprdfb_dispc.c:15:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 50s] #define MAX(x, y) max(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 50s] from sprdfb_chip_common.h:19, [ 50s] from sprdfb_dispc.c:18: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 50s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 50s] ^ [ 50s] In file included from sprdfb_dispc.c:15:0: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 50s] #define MIN(x, y) min(x, y) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from sprdfb_chip_8830.h:18, [ 50s] from sprdfb_chip_common.h:30, [ 50s] from sprdfb_dispc.c:18: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 50s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 50s] ^ [ 50s] In file included from sprdfb_chip_common.h:19:0, [ 50s] from sprdfb_dispc.c:18: [ 50s] /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 [ 50s] #define SPRD_PWM_BASE 0x88000000 [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 50s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 50s] from sprdfb_chip_8830.h:18, [ 50s] from sprdfb_chip_common.h:30, [ 50s] from sprdfb_dispc.c:18: [ 50s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 50s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 50s] from sprdfb_chip_common.h:18, [ 50s] from sprdfb_dispc.c:18: [ 50s] /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 [ 50s] #define ADC_BASE 0x40038300 //Aux ADC [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 50s] from sprdfb_chip_8830.h:18, [ 50s] from sprdfb_chip_common.h:30, [ 50s] from sprdfb_dispc.c:18: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 50s] ^ [ 50s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 50s] from sprdfb_chip_8830.h:18, [ 50s] from sprdfb_chip_common.h:30, [ 50s] from sprdfb_dispc.c:18: [ 50s] /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 [ 50s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 50s] ^ [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 50s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 50s] -o sprdfb_mcu.o sprdfb_mcu.c -c [ 51s] make -C fs/fdos/ [ 51s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from sprdfb_mcu.c:6: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_mcu.c:8: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 51s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_mcu.c:6:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 51s] #define MAX(x, y) max(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_mcu.c:8: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 51s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_mcu.c:6:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 51s] #define MIN(x, y) min(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_mcu.c:9: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 51s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 51s] ^ [ 51s] /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 [ 51s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 51s] ^ [ 51s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o sprdfb_rgb.o sprdfb_rgb.c -c [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from sprdfb_rgb.c:4: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_rgb.c:6: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 51s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_rgb.c:4:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 51s] #define MAX(x, y) max(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_rgb.c:6: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 51s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_rgb.c:4:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 51s] #define MIN(x, y) min(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_rgb.c:7: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 51s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 51s] ^ [ 51s] /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 [ 51s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_rgb.c:9: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 51s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 51s] ^ [ 51s] In file included from sprdfb_rgb.c:6:0: [ 51s] /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 [ 51s] #define SPRD_PWM_BASE 0x88000000 [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_rgb.c:9: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 51s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_rgb.c:7: [ 51s] /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 [ 51s] #define ADC_BASE 0x40038300 //Aux ADC [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_rgb.c:9: [ 51s] /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 [ 51s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_rgb.c:9: [ 51s] /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 [ 51s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 51s] ^ [ 51s] sprdfb_rgb.c: In function 'rgb_readid': [ 51s] sprdfb_rgb.c:28:85: warning: passing argument 4 of 'rgb->bus_info.i2c->ops->i2c_read_16bits' from incompatible pointer type [ 51s] rgb->bus_info.i2c->ops->i2c_read_16bits(rgb->bus_info.i2c->i2c_addr , 0x0, FALSE, &id, FALSE); [ 51s] ^ [ 51s] sprdfb_rgb.c:28:85: note: expected 'uint16_t *' but argument is of type 'uint32_t *' [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o sprdfb_mipi.o sprdfb_mipi.c -c [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from sprdfb_mipi.c:4: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o ext4fs.o ext4fs.c -c [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_mipi.c:6: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 51s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_mipi.c:4:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 51s] #define MAX(x, y) max(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_mipi.c:6: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 51s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_mipi.c:4:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 51s] #define MIN(x, y) min(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_mipi.c:7: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 51s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 51s] ^ [ 51s] /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 [ 51s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 51s] ^ [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o sprdfb_i2c.o sprdfb_i2c.c -c [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from ext4fs.c:36: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o fat_write.o fat_write.c -c [ 51s] rm -f libfdos.o; ar rcs libfdos.o [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o ext4_common.o ext4_common.c -c [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from sprdfb_i2c.c:5: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_i2c.c:7: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 51s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_i2c.c:5:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 51s] #define MAX(x, y) max(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_i2c.c:7: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 51s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_i2c.c:5:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 51s] #define MIN(x, y) min(x, y) [ 51s] ^ [ 51s] sprdfb_i2c.c: In function 'sprdfb_i2c_read_8bits': [ 51s] sprdfb_i2c.c:79:27: warning: passing argument 2 of 'I2C_ReadCmd' makes pointer from integer without a cast [ 51s] ret = I2C_ReadCmd(addr, *val, TRUE); [ 51s] ^ [ 51s] In file included from sprdfb_i2c.c:8:0: [ 51s] /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' [ 51s] PUBLIC ERR_I2C_E I2C_ReadCmd(uint8 addr,uint8 *pCmd,BOOLEAN ack_en); [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from fat_write.c:25: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] fat_write.c: In function 'delete_long_file_name': [ 51s] fat_write.c:482:15: warning: unused variable 'cur_position' [-Wunused-variable] [ 51s] int idx = 0, cur_position = 0; [ 51s] ^ [ 51s] fat_write.c:482:6: warning: unused variable 'idx' [-Wunused-variable] [ 51s] int idx = 0, cur_position = 0; [ 51s] ^ [ 51s] fat_write.c: In function 'delete_directory_entry': [ 51s] fat_write.c:1207:7: warning: unused variable 'mark_cnt' [-Wunused-variable] [ 51s] int mark_cnt; [ 51s] ^ [ 51s] fat_write.c: In function 'do_fat_rm': [ 51s] fat_write.c:1386:6: warning: unused variable 'i' [-Wunused-variable] [ 51s] int i; [ 51s] ^ [ 51s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o sprdfb_spi.o sprdfb_spi.c -c [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from ext4_common.c:34: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o dev.o dev.c -c [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from sprdfb_spi.c:5: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from dev.c:39: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] In file included from sprdfb_spi.c:6:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 51s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_spi.c:5:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 51s] #define MAX(x, y) max(x, y) [ 51s] ^ [ 51s] In file included from sprdfb_spi.c:6:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 51s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_spi.c:5:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 51s] #define MIN(x, y) min(x, y) [ 51s] ^ [ 51s] In file included from sprdfb_spi.c:8:0: [ 51s] /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] [ 51s] PUBLIC void SPI_WaitTxFinish(); [ 51s] ^ [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o sprdfb_dsi.o sprdfb_dsi.c -c [ 51s] make -C fs/jffs2/ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from sprdfb_dsi.c:5: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] In file included from sprdfb_dsi.c:10:0: [ 51s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list [ 51s] int32_t (*panel_if_check)(struct panel_spec *self); [ 51s] ^ [ 51s] sprdfb.h:45:35: warning: its scope is only this definition or declaration, which is probably not what you want [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_chip_common.h:18, [ 51s] from sprdfb_dsi.c:11: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 51s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 51s] ^ [ 51s] /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 [ 51s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_chip_common.h:19, [ 51s] from sprdfb_dsi.c:11: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 51s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_dsi.c:5:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 51s] #define MAX(x, y) max(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_chip_common.h:19, [ 51s] from sprdfb_dsi.c:11: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 51s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_dsi.c:5:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 51s] #define MIN(x, y) min(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_dsi.c:11: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 51s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 51s] ^ [ 51s] In file included from sprdfb_chip_common.h:19:0, [ 51s] from sprdfb_dsi.c:11: [ 51s] /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 [ 51s] #define SPRD_PWM_BASE 0x88000000 [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_dsi.c:11: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 51s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_chip_common.h:18, [ 51s] from sprdfb_dsi.c:11: [ 51s] /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 [ 51s] #define ADC_BASE 0x40038300 //Aux ADC [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_dsi.c:11: [ 51s] /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 [ 51s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_dsi.c:11: [ 51s] /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 [ 51s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 51s] ^ [ 51s] sprdfb_dsi.c: In function 'sprdfb_dsi_set_lp_mode': [ 51s] sprdfb_dsi.c:374:11: warning: unused variable 'reg_val' [-Wunused-variable] [ 51s] uint32_t reg_val; [ 51s] ^ [ 51s] sprdfb_dsi.c: At top level: [ 51s] sprdfb_dsi.c:448:1: warning: data definition has no type or storage class [ 51s] EXPORT_SYMBOL(backlight_control); [ 51s] ^ [ 51s] sprdfb_dsi.c:448:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] [ 51s] sprdfb_dsi.c:448:1: warning: parameter names (without types) in function declaration [ 51s] sprdfb_dsi.c:38:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 51s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 51s] ^ [ 51s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o sprdfb_chip_common.o sprdfb_chip_common.c -c [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from sprdfb_chip_common.h:17, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_chip_common.h:18, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 51s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 51s] ^ [ 51s] /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 [ 51s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_chip_common.h:19, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 51s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_chip_common.h:17:0, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 51s] #define MAX(x, y) max(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_chip_common.h:19, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 51s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_chip_common.h:17:0, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 51s] #define MIN(x, y) min(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 51s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 51s] ^ [ 51s] In file included from sprdfb_chip_common.h:19:0, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /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 [ 51s] #define SPRD_PWM_BASE 0x88000000 [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 51s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_chip_common.h:18, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /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 [ 51s] #define ADC_BASE 0x40038300 //Aux ADC [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /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 [ 51s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_chip_common.c:17: [ 51s] /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 [ 51s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 51s] ^ [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o sprdfb_chip_8830.o sprdfb_chip_8830.c -c [ 51s] ld -r -o libfat.o fat_write.o [ 51s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 51s] -o ext4_write.o ext4_write.c -c [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from sprdfb_chip_common.h:17, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 51s] make -C fs/reiserfs/ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_chip_common.h:18, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 51s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 51s] ^ [ 51s] /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 [ 51s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_chip_common.h:19, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 51s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_chip_common.h:17:0, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 51s] #define MAX(x, y) max(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 51s] from sprdfb_chip_common.h:19, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 51s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 51s] ^ [ 51s] In file included from sprdfb_chip_common.h:17:0, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 51s] #define MIN(x, y) min(x, y) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 51s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 51s] ^ [ 51s] In file included from sprdfb_chip_common.h:19:0, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /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 [ 51s] #define SPRD_PWM_BASE 0x88000000 [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 51s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 51s] from sprdfb_chip_common.h:18, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /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 [ 51s] #define ADC_BASE 0x40038300 //Aux ADC [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /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 [ 51s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 51s] ^ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 51s] from sprdfb_chip_8830.h:18, [ 51s] from sprdfb_chip_common.h:30, [ 51s] from sprdfb_chip_8830.c:15: [ 51s] /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 [ 51s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 51s] ^ [ 51s] sprdfb_chip_8830.c: In function 'dsi_enable': [ 51s] sprdfb_chip_8830.c:25:2: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 51s] __raw_bits_and(~BIT_DSI_PHY_PD, REG_AON_APB_PWR_CTRL); [ 51s] ^ [ 51s] 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 [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 51s] from ext4_write.c:37: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 51s] #define CONFIG_MMC 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 51s] #define CONFIG_MMC [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 51s] #define CONFIG_EFI_PARTITION 1 [ 51s] ^ [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 51s] #define CONFIG_EFI_PARTITION [ 51s] ^ [ 51s] rm -f libjffs2.o; ar rcs libjffs2.o [ 52s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 52s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 52s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 52s] -o ext4_journal.o ext4_journal.c -c [ 52s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 52s] make -C fs/ubifs/ [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 52s] from ext4_journal.c:32: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 52s] #define CONFIG_MMC 1 [ 52s] ^ [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 52s] #define CONFIG_MMC [ 52s] ^ [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 52s] #define CONFIG_EFI_PARTITION 1 [ 52s] ^ [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 52s] #define CONFIG_EFI_PARTITION [ 52s] ^ [ 52s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 52s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 52s] -o crc16.o crc16.c -c [ 52s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 52s] -o ext4_rw.o ext4_rw.c -c [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 52s] from crc16.c:8: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 52s] #define CONFIG_MMC 1 [ 52s] ^ [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 52s] #define CONFIG_MMC [ 52s] ^ [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 52s] #define CONFIG_EFI_PARTITION 1 [ 52s] ^ [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 52s] #define CONFIG_EFI_PARTITION [ 52s] ^ [ 52s] make -C fs/yaffs2/ [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 52s] from ext4_rw.c:2: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 52s] #define CONFIG_MMC 1 [ 52s] ^ [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 52s] #define CONFIG_MMC [ 52s] ^ [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 52s] #define CONFIG_EFI_PARTITION 1 [ 52s] ^ [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 52s] #define CONFIG_EFI_PARTITION [ 52s] ^ [ 52s] rm -f libreiserfs.o; ar rcs libreiserfs.o [ 52s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 52s] ld -r -o libext4fs.o ext4fs.o ext4_common.o dev.o ext4_write.o ext4_journal.o crc16.o ext4_rw.o [ 52s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 52s] make -C lib/libfdt/ [ 52s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 52s] rm -f libubifs.o; ar rcs libubifs.o [ 52s] make -C lib/ [ 52s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 52s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 52s] make -C lib/lzma/ [ 52s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 52s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 52s] rm -f libyaffs2.o; ar rcs libyaffs2.o [ 52s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 52s] make -C lib/lzo/ [ 52s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 52s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 52s] -o fdt.o fdt.c -c [ 52s] rm -f liblzma.o; ar rcs liblzma.o [ 52s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 52s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 52s] -o fdt_ro.o fdt_ro.c -c [ 53s] make -C nand_fdl/common/src/ [ 53s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 53s] rm -f liblzo.o; ar rcs liblzo.o [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o fdt_rw.o fdt_rw.c -c [ 53s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 53s] make -C net/ [ 53s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o fdt_strerror.o fdt_strerror.c -c [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o crc16.o crc16.c -c [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o fdt_sw.o fdt_sw.c -c [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o crc32.o crc32.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 53s] from crc32.c:12: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 53s] #define CONFIG_MMC 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 53s] #define CONFIG_MMC [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 53s] #define CONFIG_EFI_PARTITION 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 53s] #define CONFIG_EFI_PARTITION [ 53s] ^ [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o fdt_wip.o fdt_wip.c -c [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o crc32b.o crc32b.c -c [ 53s] rm -f libnet.o; ar rcs libnet.o [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o dl_engine.o dl_engine.c -c [ 53s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o ctype.o ctype.c -c [ 53s] make -C post/ [ 53s] ld -r -o libfdt.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 53s] from dl_engine.c:1: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 53s] #define CONFIG_MMC 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 53s] #define CONFIG_MMC [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 53s] #define CONFIG_EFI_PARTITION 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 53s] #define CONFIG_EFI_PARTITION [ 53s] ^ [ 53s] dl_engine.c:19:1: warning: missing braces around initializer [-Wmissing-braces] [ 53s] CMDPROC_TAB g_proctab[BSL_CMD_TYPE_MAX - BSL_CMD_TYPE_MIN] = {0, 0}; [ 53s] ^ [ 53s] dl_engine.c:19:1: warning: (near initialization for 'g_proctab[0]') [-Wmissing-braces] [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o display_options.o display_options.c -c [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o fdl_crc.o fdl_crc.c -c [ 53s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 53s] make -C property/ [ 53s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from display_options.c:24: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 53s] #define CONFIG_MMC 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 53s] #define CONFIG_MMC [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 53s] #define CONFIG_EFI_PARTITION 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 53s] #define CONFIG_EFI_PARTITION [ 53s] ^ [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 53s] from fdl_crc.c:1: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 53s] #define CONFIG_MMC 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 53s] #define CONFIG_MMC [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 53s] #define CONFIG_EFI_PARTITION 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 53s] #define CONFIG_EFI_PARTITION [ 53s] ^ [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o packet.o packet.c -c [ 53s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o div64.o div64.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 53s] from packet.c:2: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 53s] #define CONFIG_MMC 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 53s] #define CONFIG_MMC [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 53s] #define CONFIG_EFI_PARTITION 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 53s] #define CONFIG_EFI_PARTITION [ 53s] ^ [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:4:0, [ 53s] from packet.c:7: [ 53s] /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] [ 53s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 53s] ^ [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 53s] from packet.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 53s] #define KPD_NUM (0x31 << 16) [ 53s] ^ [ 53s] /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 [ 53s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 53s] ^ [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 53s] from packet.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 53s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 53s] ^ [ 53s] /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 [ 53s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 53s] ^ [ 53s] packet.c: In function 'FDL_PacketDoIdle': [ 53s] packet.c:97:5: warning: implicit declaration of function 'FDL_GetBootMode' [-Wimplicit-function-declaration] [ 53s] uint32 boot_mode = FDL_GetBootMode(); [ 53s] ^ [ 53s] packet.c:143:13: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 53s] sio_trace ("data_size error : datasize = %d MAX_PKT_SIZE = %d\n", packet_ptr->data_size, MAX_PKT_SIZE); [ 53s] ^ [ 53s] packet.c:183:41: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [ 53s] crc = crc_16_l_calc((unsigned short *)&packet_ptr->packet_body, packet_ptr->data_size); [ 53s] ^ [ 53s] In file included from packet.c:6:0: [ 53s] /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 *' [ 53s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 53s] ^ [ 53s] packet.c: In function 'FDL_DataProcess': [ 53s] packet.c:277:27: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [ 53s] crc = crc_16_l_calc ( (const unsigned short *) (& (packet_ptr_src->packet_body)), size + PACKET_HEADER_SIZE); [ 53s] ^ [ 53s] In file included from packet.c:6:0: [ 53s] /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 *' [ 53s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 53s] ^ [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o errno.o errno.c -c [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o fdl_channel.o fdl_channel.c -c [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o gunzip.o gunzip.c -c [ 53s] In file included from fdl_channel.c:1:0: [ 53s] /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] [ 53s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 53s] ^ [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 53s] from fdl_channel.c:2: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 53s] #define CONFIG_MMC 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 53s] #define CONFIG_MMC [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 53s] #define CONFIG_EFI_PARTITION 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 53s] #define CONFIG_EFI_PARTITION [ 53s] ^ [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 53s] from fdl_channel.c:3: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 53s] #define KPD_NUM (0x31 << 16) [ 53s] ^ [ 53s] /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 [ 53s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 53s] ^ [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 53s] from fdl_channel.c:3: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 53s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 53s] ^ [ 53s] /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 [ 53s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 53s] ^ [ 53s] fdl_channel.c:19:35: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 53s] PUBLIC struct FDL_ChannelHandler *FDL_ChannelGet() [ 53s] ^ [ 53s] fdl_channel.c: In function 'FDL_ChannelGet': [ 53s] fdl_channel.c:22:10: warning: unused variable 'ch' [-Wunused-variable] [ 53s] char ch; [ 53s] ^ [ 53s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 53s] -o fdl_stdio.o fdl_stdio.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 53s] from gunzip.c:24: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 53s] #define CONFIG_MMC 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 53s] #define CONFIG_MMC [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 53s] #define CONFIG_EFI_PARTITION 1 [ 53s] ^ [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 53s] #define CONFIG_EFI_PARTITION [ 53s] ^ [ 54s] rm -f libpost.o; ar rcs libpost.o [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 54s] from fdl_stdio.c:1: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] fdl_stdio.c: In function 'FDL_memcpy': [ 54s] fdl_stdio.c:8:18: warning: unused variable 'value' [-Wunused-variable] [ 54s] unsigned int value; [ 54s] ^ [ 54s] fdl_stdio.c:7:28: warning: unused variable 'i' [-Wunused-variable] [ 54s] unsigned int word_num, i; [ 54s] ^ [ 54s] fdl_stdio.c:7:18: warning: unused variable 'word_num' [-Wunused-variable] [ 54s] unsigned int word_num, i; [ 54s] ^ [ 54s] fdl_stdio.c:6:19: warning: unused variable 'tmp_dst' [-Wunused-variable] [ 54s] unsigned int *tmp_dst = (unsigned int *) dst; [ 54s] ^ [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o hashtable.o hashtable.c -c [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o usb_boot.o usb_boot.c -c [ 54s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o lmb.o lmb.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb_boot.h:19, [ 54s] from usb_boot.c:17: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from hashtable.c:44: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 54s] from usb_boot.c:18: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 54s] #define KPD_NUM (0x31 << 16) [ 54s] ^ [ 54s] /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 [ 54s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 54s] from usb_boot.c:18: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 54s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 54s] ^ [ 54s] /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 [ 54s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 54s] ^ [ 54s] In file included from usb_boot.c:21:0: [ 54s] /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] [ 54s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 54s] ^ [ 54s] usb_boot.c: In function 'usb_init': [ 54s] usb_boot.c:97:5: warning: implicit declaration of function 'usb_core_init' [-Wimplicit-function-declaration] [ 54s] usb_core_init(); [ 54s] ^ [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o drv_usb.o drv_usb.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from lmb.c:13: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23, [ 54s] from drv_usb.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 54s] from drv_usb.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 54s] #define KPD_NUM (0x31 << 16) [ 54s] ^ [ 54s] /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 [ 54s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 54s] from drv_usb.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 54s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 54s] ^ [ 54s] /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 [ 54s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 54s] ^ [ 54s] drv_usb.c: In function 'usb_get_descriptor': [ 54s] drv_usb.c:211:13: warning: implicit declaration of function 'UCOM_Get_DevDesc' [-Wimplicit-function-declaration] [ 54s] send_data = (uint8 *) UCOM_Get_DevDesc();//lint !e718 [ 54s] ^ [ 54s] drv_usb.c:218:13: warning: implicit declaration of function 'UCOM_Get_CfgDesc' [-Wimplicit-function-declaration] [ 54s] send_data = (uint8 *) UCOM_Get_CfgDesc();//lint !e718 [ 54s] ^ [ 54s] drv_usb.c: In function 'VCOM_Read': [ 54s] drv_usb.c:703:33: warning: initialization discards 'const' qualifier from pointer target type [ 54s] unsigned char *src, *dest = buf; [ 54s] ^ [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o virtual_com.o virtual_com.c -c [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o ldiv.o ldiv.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from virtual_com.c:17: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 54s] from virtual_com.c:18: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 54s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 54s] ^ [ 54s] In file included from virtual_com.c:17:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 54s] #define MAX(x, y) max(x, y) [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 54s] from virtual_com.c:18: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 54s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 54s] ^ [ 54s] In file included from virtual_com.c:17:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 54s] #define MIN(x, y) min(x, y) [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 54s] from virtual_com.c:18: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 54s] #define KPD_NUM (0x31 << 16) [ 54s] ^ [ 54s] /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 [ 54s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 54s] from virtual_com.c:18: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 54s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 54s] ^ [ 54s] /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 [ 54s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 54s] ^ [ 54s] virtual_com.c:55:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] uint8 *UCOM_Get_DevDesc() [ 54s] ^ [ 54s] virtual_com.c:66:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] uint8 *UCOM_Get_CfgDesc() [ 54s] ^ [ 54s] 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 [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o net_utils.o net_utils.c -c [ 54s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o qsort.o qsort.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from net_utils.c:29: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o string.o string.c -c [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o strmhz.o strmhz.c -c [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o time.o time.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from strmhz.c:23: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o vsprintf.o vsprintf.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from time.c:24: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o zlib.o zlib.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from vsprintf.c:17: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o rbtree.o rbtree.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from zlib.c:29: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 54s] from rbtree.c:23: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o alarm_mode.o alarm_mode.c -c [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o android_boot.o android_boot.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from alarm_mode.c:1: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 54s] from alarm_mode.c:13: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 54s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 54s] ^ [ 54s] In file included from alarm_mode.c:2:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 54s] #define MAX(x, y) max(x, y) [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 54s] from alarm_mode.c:13: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 54s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 54s] ^ [ 54s] In file included from alarm_mode.c:2:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 54s] #define MIN(x, y) min(x, y) [ 54s] ^ [ 54s] alarm_mode.c: In function 'alarm_file_check': [ 54s] alarm_mode.c:27:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 54s] if(!do_fs_file_read(PROD_PART, "/alarm_flag", time_buf,200)){ [ 54s] ^ [ 54s] alarm_mode.c: In function 'alarm_flag_check': [ 54s] alarm_mode.c:114:2: warning: implicit declaration of function 'get_alarm_lead_set' [-Wimplicit-function-declaration] [ 54s] time_lead = get_alarm_lead_set(); [ 54s] ^ [ 54s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 54s] -o autodloader_mode.o autodloader_mode.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 54s] from android_boot.c:1: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 54s] #define CONFIG_MMC 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 54s] #define CONFIG_MMC [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 54s] #define CONFIG_EFI_PARTITION 1 [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 54s] #define CONFIG_EFI_PARTITION [ 54s] ^ [ 54s] android_boot.c: In function 'creat_atags': [ 54s] android_boot.c:8:11: warning: unused variable 'pcount' [-Wunused-variable] [ 54s] unsigned pcount; [ 54s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o backupnvitem.o backupnvitem.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from autodloader_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 55s] from autodloader_mode.c:8: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from autodloader_mode.c:5:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 55s] from autodloader_mode.c:8: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from autodloader_mode.c:5:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from autodloader_mode.c:10:0: [ 55s] /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] [ 55s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 55s] from autodloader_mode.c:12: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 55s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 55s] ^ [ 55s] /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 [ 55s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 55s] from autodloader_mode.c:15: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 55s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 55s] from autodloader_mode.c:12: [ 55s] /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 [ 55s] #define ADC_BASE 0x40038300 //Aux ADC [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 55s] from autodloader_mode.c:15: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 55s] from autodloader_mode.c:15: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 55s] ^ [ 55s] autodloader_mode.c: In function 'autodloader_mode': [ 55s] autodloader_mode.c:208:6: warning: unused variable 'i' [-Wunused-variable] [ 55s] int i = 0; [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o boot_mode_regist.o boot_mode_regist.c -c [ 55s] 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 [ 55s] backupnvitem.c: In function 'XCheckNVStructEx': [ 55s] backupnvitem.c:416:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 55s] printf("%s %d\n", __FUNCTION__, __LINE__); [ 55s] ^ [ 55s] backupnvitem.c: In function 'XPreserveNVItem': [ 55s] backupnvitem.c:906:3: warning: missing braces around initializer [-Wmissing-braces] [ 55s] BT_CONFIG para = {0}; [ 55s] ^ [ 55s] backupnvitem.c:906:3: warning: (near initialization for 'para.bt_addr') [-Wmissing-braces] [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o calibration_detect.o calibration_detect.c -c [ 55s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3, [ 55s] from boot_mode_regist.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o charge_mode.o charge_mode.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from calibration_detect.h:3, [ 55s] from calibration_detect.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from calibration_detect.h:15, [ 55s] from calibration_detect.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from calibration_detect.h:4:0, [ 55s] from calibration_detect.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from calibration_detect.h:15, [ 55s] from calibration_detect.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from calibration_detect.h:4:0, [ 55s] from calibration_detect.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] calibration_detect.c:47:8: warning: type defaults to 'int' in declaration of 'caliberate_device' [-Wimplicit-int] [ 55s] static caliberate_device = CALIBERATE_DEVICE_NULL; [ 55s] ^ [ 55s] calibration_detect.c: In function 'pctool_mode_detect_uart': [ 55s] calibration_detect.c:141:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=] [ 55s] printf("uart calibrate configuration start_time=%d\n", start_time); [ 55s] ^ [ 55s] calibration_detect.c:164:9: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 55s] calibration_cmd_buf=malloc(1024); [ 55s] ^ [ 55s] calibration_detect.c:164:28: warning: assignment makes pointer from integer without a cast [ 55s] calibration_cmd_buf=malloc(1024); [ 55s] ^ [ 55s] calibration_detect.c:133:9: warning: unused variable 'off' [-Wunused-variable] [ 55s] loff_t off = 0; [ 55s] ^ [ 55s] calibration_detect.c:126:6: warning: unused variable 'ret' [-Wunused-variable] [ 55s] int ret; [ 55s] ^ [ 55s] calibration_detect.c: In function 'cali_usb_debug': [ 55s] calibration_detect.c:286:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 55s] { int ret; [ 55s] ^ [ 55s] calibration_detect.c: At top level: [ 55s] calibration_detect.c:320:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int cali_usb_prepare() [ 55s] ^ [ 55s] calibration_detect.c: In function 'cali_usb_prepare': [ 55s] calibration_detect.c:322:6: warning: unused variable 'ret' [-Wunused-variable] [ 55s] int ret = 0; [ 55s] ^ [ 55s] calibration_detect.c: At top level: [ 55s] calibration_detect.c:336:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int cali_usb_enum() [ 55s] ^ [ 55s] calibration_detect.c: In function 'prepare_reply_buf': [ 55s] calibration_detect.c:477:34: warning: pointer targets in passing argument 1 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 55s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 55s] ^ [ 55s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 55s] int translate_packet(char *dest,char *src,int size) [ 55s] ^ [ 55s] calibration_detect.c:477:65: warning: pointer targets in passing argument 2 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 55s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 55s] ^ [ 55s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 55s] int translate_packet(char *dest,char *src,int size) [ 55s] ^ [ 55s] calibration_detect.c:478:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 55s] free(rsp_ptr); [ 55s] ^ [ 55s] calibration_detect.c:452:9: warning: unused variable 'ret' [-Wunused-variable] [ 55s] int ret = 0; [ 55s] ^ [ 55s] calibration_detect.c: In function 'pctool_mode_detect': [ 55s] calibration_detect.c:489:9: warning: implicit declaration of function 'get_mode_from_gpio' [-Wimplicit-function-declaration] [ 55s] if(get_mode_from_gpio()) [ 55s] ^ [ 55s] calibration_detect.c:567:21: warning: assignment makes pointer from integer without a cast [ 55s] calibration_cmd_buf=malloc(1024); [ 55s] ^ [ 55s] calibration_detect.c:487:9: warning: unused variable 'off' [-Wunused-variable] [ 55s] loff_t off = 0; [ 55s] ^ [ 55s] calibration_detect.c:486:15: warning: unused variable 'caliberate_mode' [-Wunused-variable] [ 55s] unsigned int caliberate_mode; [ 55s] ^ [ 55s] calibration_detect.c: In function 'cali_file_check': [ 55s] calibration_detect.c:602:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 55s] if(do_fs_file_read("prodnv", "/adc.bin", (char *)nv_buffer,sizeof(nv_buffer))) [ 55s] ^ [ 55s] calibration_detect.c: At top level: [ 55s] calibration_detect.c:255:12: warning: 'recheck_power_button' defined but not used [-Wunused-function] [ 55s] static int recheck_power_button(void) [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o cmd_cboot.o cmd_cboot.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from charge_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from charge_mode.c:13: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from charge_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from charge_mode.c:13: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from charge_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o dev_tree.o dev_tree.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from cmd_cboot.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from cmd_cboot.c:7: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from cmd_cboot.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from cmd_cboot.c:7: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from cmd_cboot.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 55s] from cmd_cboot.c:9: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 55s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 55s] ^ [ 55s] /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 [ 55s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 55s] from cmd_cboot.c:9: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 55s] struct gpio_chip *chip); [ 55s] ^ [ 55s] /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 [ 55s] cmd_cboot.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] extern int get_mode_from_gpio(); [ 55s] ^ [ 55s] cmd_cboot.c: In function 'get_mode_from_pctool': [ 55s] cmd_cboot.c:60:3: warning: implicit declaration of function 'pctool_mode_detect' [-Wimplicit-function-declaration] [ 55s] ret = pctool_mode_detect(); [ 55s] ^ [ 55s] cmd_cboot.c: In function 'get_mode_from_keypad': [ 55s] cmd_cboot.c:184:5: warning: implicit declaration of function 'get_pwr_key_cnt' [-Wimplicit-function-declaration] [ 55s] if(boot_pwr_check() >= get_pwr_key_cnt()){ [ 55s] ^ [ 55s] cmd_cboot.c:189:4: warning: implicit declaration of function 'tizen_check_keypad' [-Wimplicit-function-declaration] [ 55s] key_code = tizen_check_keypad(); [ 55s] ^ [ 55s] cmd_cboot.c: In function 'do_cboot': [ 55s] cmd_cboot.c:301:3: warning: implicit declaration of function 'draw_image' [-Wimplicit-function-declaration] [ 55s] draw_image(1); [ 55s] ^ [ 55s] cmd_cboot.c:316:2: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 55s] lcd_display(); [ 55s] ^ [ 55s] cmd_cboot.c:317:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 55s] MMU_DisableIDCM(); [ 55s] ^ [ 55s] cmd_cboot.c:320:5: warning: implicit declaration of function 'cmd_mode_regist' [-Wimplicit-function-declaration] [ 55s] cmd_mode_regist(boot_mode_array); [ 55s] ^ [ 55s] cmd_cboot.c:329:9: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 55s] power_down_devices(); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 55s] from cmd_cboot.c:9: [ 55s] cmd_cboot.c: At top level: [ 55s] /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] [ 55s] static bool gpio_is_valid(int number) [ 55s] ^ [ 55s] cmd_cboot.c: In function 'get_mode_from_alarm_register': [ 55s] cmd_cboot.c:166:1: warning: control reaches end of non-void function [-Wreturn-type] [ 55s] } [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o engtest_mode.o engtest_mode.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from dev_tree.c:30: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] dev_tree.c: In function 'dev_tree_get_entry_ptr': [ 55s] dev_tree.c:126:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 55s] debugf("magic=%x,ver=%d,num=%d\n",table->magic,table->version,table->num_entries); [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o factorytest_mode.o factorytest_mode.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from engtest_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from engtest_mode.c:14: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from engtest_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from engtest_mode.c:14: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from engtest_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o fs_common_rw.o fs_common_rw.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from factorytest_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from factorytest_mode.c:14: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from factorytest_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from factorytest_mode.c:14: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from factorytest_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o modem_entry.o modem_entry.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 55s] from fs_common_rw.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 55s] from fs_common_rw.c:11: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from fs_common_rw.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 55s] from fs_common_rw.c:11: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from fs_common_rw.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from fs_common_rw.c:11:0: [ 55s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] PUBLIC void Emmc_DisSdClk(); [ 55s] ^ [ 55s] fs_common_rw.c: In function 'do_fs_file_read': [ 55s] fs_common_rw.c:21:2: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 55s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 55s] ^ [ 55s] fs_common_rw.c:21:7: warning: assignment makes pointer from integer without a cast [ 55s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 55s] ^ [ 55s] fs_common_rw.c:27:2: warning: implicit declaration of function 'ext4_read_content' [-Wimplicit-function-declaration] [ 55s] ret = ext4_read_content(mmc_dev, [ 55s] ^ [ 55s] fs_common_rw.c:33:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 55s] free(part); [ 55s] ^ [ 55s] fs_common_rw.c: In function 'do_raw_data_read': [ 55s] fs_common_rw.c:81:12: warning: assignment makes pointer from integer without a cast [ 55s] partition = malloc(sizeof(wchar_t)*(strlen(part)+1)); [ 55s] ^ [ 55s] fs_common_rw.c:97:10: warning: assignment makes pointer from integer without a cast [ 55s] sctbuf = malloc(EMMC_SECTOR_SIZE); [ 55s] ^ [ 55s] fs_common_rw.c:110:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 55s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 55s] ^ [ 55s] In file included from fs_common_rw.c:11:0: [ 55s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 55s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 55s] ^ [ 55s] fs_common_rw.c:118:47: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 55s] if(!Emmc_Read(PARTITION_USER, cursct, nsct, bufwp)) [ 55s] ^ [ 55s] In file included from fs_common_rw.c:11:0: [ 55s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 55s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 55s] ^ [ 55s] fs_common_rw.c:125:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 55s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 55s] ^ [ 55s] In file included from fs_common_rw.c:11:0: [ 55s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 55s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 55s] ^ [ 55s] fs_common_rw.c: In function 'do_raw_data_write': [ 55s] fs_common_rw.c:253:1: warning: label 'end' defined but not used [-Wunused-label] [ 55s] end: [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o normal_emc_mode.o normal_emc_mode.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 55s] from modem_entry.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 55s] from modem_entry.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 55s] from modem_entry.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 55s] from modem_entry.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 55s] from modem_entry.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 55s] from modem_entry.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 55s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 55s] ^ [ 55s] /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 [ 55s] #define VLR_INFO_OFF (512) [ 55s] ^ [ 55s] In file included from modem_entry.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 55s] ^ [ 55s] In file included from modem_entry.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int read_spldata(); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] void vlx_entry(); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 55s] from modem_entry.c:2: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 55s] from modem_entry.c:2: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 55s] ^ [ 55s] modem_entry.c:38:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] void modem_entry() [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o normal_mode.o normal_mode.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from normal_emc_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 55s] from normal_emc_mode.c:2: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 55s] from normal_emc_mode.c:2: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 55s] from normal_emc_mode.c:2: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 55s] from normal_emc_mode.c:2: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 55s] from normal_emc_mode.c:2: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 55s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 55s] ^ [ 55s] /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 [ 55s] #define VLR_INFO_OFF (512) [ 55s] ^ [ 55s] In file included from normal_emc_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 55s] ^ [ 55s] In file included from normal_emc_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int read_spldata(); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] void vlx_entry(); [ 55s] ^ [ 55s] In file included from normal_emc_mode.c:5:0: [ 55s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] PUBLIC void Emmc_DisSdClk(); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 55s] from normal_emc_mode.c:13: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 55s] from normal_emc_mode.c:13: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 55s] ^ [ 55s] normal_emc_mode.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [ 55s] s_boot_image_COMMON_table, [ 55s] ^ [ 55s] normal_emc_mode.c: In function 'read_logoimg': [ 55s] normal_emc_mode.c:163:78: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 55s] if (TRUE != Emmc_Read(PARTITION_USER, info.start, size / EMMC_SECTOR_SIZE, bmp_img)) { [ 55s] ^ [ 55s] In file included from normal_emc_mode.c:5:0: [ 55s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 55s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 55s] ^ [ 55s] normal_emc_mode.c: At top level: [ 55s] normal_emc_mode.c:171:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int read_spldata() [ 55s] ^ [ 55s] normal_emc_mode.c: In function 'w2c': [ 55s] normal_emc_mode.c:227:15: warning: comparison between pointer and integer [ 55s] while ((NULL != wchar[i]) && (i < 72)) { [ 55s] ^ [ 55s] normal_emc_mode.c: In function '_boot_partition_read': [ 55s] normal_emc_mode.c:300:79: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 55s] if (TRUE == Emmc_Read(PARTITION_USER, info.start + offsetsector + nsct, 1, sctbuf)) { [ 55s] ^ [ 55s] In file included from normal_emc_mode.c:5:0: [ 55s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 55s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 55s] ^ [ 55s] normal_emc_mode.c: In function 'blk_data_read': [ 55s] normal_emc_mode.c:338:56: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 55s] if (!Emmc_Read(PARTITION_USER, start_sec + nsct, 1, sctbuf)) { [ 55s] ^ [ 55s] In file included from normal_emc_mode.c:5:0: [ 55s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 55s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 55s] ^ [ 55s] normal_emc_mode.c: In function '_boot_read_partition_with_backup': [ 55s] normal_emc_mode.c:421:11: warning: assignment from incompatible pointer type [ 55s] header_p = header; [ 55s] ^ [ 55s] normal_emc_mode.c:437:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 55s] debugf("_boot_read_partition_with_backup origin checksum 0x%x\n", checksum); [ 55s] ^ [ 55s] normal_emc_mode.c:438:3: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 55s] if (_chkNVEcc(oribuf + EMMC_SECTOR_SIZE, info.size, checksum)) { [ 55s] ^ [ 55s] normal_emc_mode.c:439:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 55s] memcpy(info.mem_addr, oribuf + EMMC_SECTOR_SIZE, info.size); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 55s] from normal_emc_mode.c:2: [ 55s] /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' [ 55s] void* memcpy(void*, const void*, size_t); [ 55s] ^ [ 55s] normal_emc_mode.c:447:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 55s] debugf("_boot_read_partition_with_backup backup checksum 0x%x\n", checksum); [ 55s] ^ [ 55s] normal_emc_mode.c:455:13: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 55s] memset(info.mem_addr, 0, info.size); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 55s] from normal_emc_mode.c:2: [ 55s] /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' [ 55s] void* memset(void*, int, size_t); [ 55s] ^ [ 55s] normal_emc_mode.c:465:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 55s] memcpy(info.mem_addr, bakbuf + EMMC_SECTOR_SIZE, info.size); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 55s] from normal_emc_mode.c:2: [ 55s] /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' [ 55s] void* memcpy(void*, const void*, size_t); [ 55s] ^ [ 55s] normal_emc_mode.c: In function '_boot_load_required_image': [ 55s] normal_emc_mode.c:490:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 55s] debugf("%s: load %s to addr 0x%08x\n", __FUNCTION__, w2c(img_info.partition), img_info.mem_addr); [ 55s] ^ [ 55s] normal_emc_mode.c:488:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 55s] uint32 secure_boot_offset = 0; [ 55s] ^ [ 55s] normal_emc_mode.c: In function '_boot_load_kernel_ramdisk_image': [ 55s] normal_emc_mode.c:527:13: warning: assignment from incompatible pointer type [ 55s] partition = BOOT_PART; [ 55s] ^ [ 55s] normal_emc_mode.c:528:3: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'wchar_t *' [-Wformat=] [ 55s] debugf("Enter boot mode (partition name: %s)\n", partition); [ 55s] ^ [ 55s] normal_emc_mode.c:531:46: warning: passing argument 3 of 'blk_data_read' from incompatible pointer type [ 55s] if (!blk_data_read(0x2C00000, sizeof(*hdr), hdr)) { [ 55s] ^ [ 55s] normal_emc_mode.c:315:12: note: expected 'u8 *' but argument is of type 'struct boot_img_hdr *' [ 55s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 55s] ^ [ 55s] normal_emc_mode.c:548:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 55s] debugf("bzImage size: %x\n", size); [ 55s] ^ [ 55s] In file included from normal_emc_mode.c:2:0: [ 55s] /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 [ 55s] #define KERNEL_ADR 0x80008000 [ 55s] ^ [ 55s] normal_emc_mode.c:550:38: note: in expansion of macro 'KERNEL_ADR' [ 55s] if (!blk_data_read(0x2C00000, size, KERNEL_ADR - roundup(sizeof(*hdr), ALIGN_SIZE))) { [ 55s] ^ [ 55s] normal_emc_mode.c:315:12: note: expected 'u8 *' but argument is of type 'unsigned int' [ 55s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 55s] ^ [ 55s] normal_emc_mode.c:557:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 55s] debugf("dt_img_adr: %u\n", dt_img_adr); [ 55s] ^ [ 55s] normal_emc_mode.c:558:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32' [-Wformat=] [ 55s] debugf("dt_img_adr: %x\n", dt_img_adr); [ 55s] ^ [ 55s] normal_emc_mode.c:521:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 55s] uint32 secure_boot_offset = 0; [ 55s] ^ [ 55s] normal_emc_mode.c:519:15: warning: unused variable 'offset' [-Wunused-variable] [ 55s] uint32 size, offset; [ 55s] ^ [ 55s] normal_emc_mode.c: In function 'vlx_nand_boot': [ 55s] normal_emc_mode.c:636:2: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 55s] performance_debug("8:"); [ 55s] ^ [ 55s] normal_emc_mode.c:636:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 55s] normal_emc_mode.c:650:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 55s] performance_debug("9:"); [ 55s] ^ [ 55s] normal_emc_mode.c:661:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 55s] sipc_addr_reset(); [ 55s] ^ [ 55s] normal_emc_mode.c:604:11: warning: unused variable 'partition' [-Wunused-variable] [ 55s] wchar_t *partition = NULL; [ 55s] ^ [ 55s] normal_emc_mode.c: At top level: [ 55s] normal_emc_mode.c:236:12: warning: '_boot_secure_check' defined but not used [-Wunused-function] [ 55s] LOCAL void _boot_secure_check(void) [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o reboot_mode.o reboot_mode.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:4, [ 55s] from normal_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 55s] from normal_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 55s] from normal_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 55s] from normal_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 55s] from normal_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 55s] from normal_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 55s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 55s] ^ [ 55s] /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 [ 55s] #define VLR_INFO_OFF (512) [ 55s] ^ [ 55s] In file included from normal_mode.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 55s] ^ [ 55s] In file included from normal_mode.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int read_spldata(); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] void vlx_entry(); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 55s] from normal_mode.c:5: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 55s] from normal_mode.c:5: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 55s] ^ [ 55s] normal_mode.c:25:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] unsigned spl_data_buf[0x2000] __attribute__ ((align(4))) = { [ 55s] ^ [ 55s] normal_mode.c:28:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] unsigned harsh_data_buf[8] __attribute__ ((align(4))) = { [ 55s] ^ [ 55s] normal_mode.c: In function '_chkNVEcc': [ 55s] normal_mode.c:110:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 55s] debugf("_chkNVEcc calcout 0x%lx, org 0x%llx\n", crc, checksum); [ 55s] ^ [ 55s] normal_mode.c:110:2: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] [ 55s] normal_mode.c: In function 'fdt_fixup_for_tizen': [ 55s] normal_mode.c:173:2: warning: zero-length gnu_printf format string [-Wformat-zero-length] [ 55s] ptr += sprintf(ptr, CMDLINE_DEFAULT_TIZEN); [ 55s] ^ [ 55s] normal_mode.c:178:2: warning: implicit declaration of function 'load_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 55s] ptr += sprintf(ptr, " lcd_id=ID%06x", load_lcd_id_to_kernel()); [ 55s] ^ [ 55s] normal_mode.c:184:2: warning: implicit declaration of function 'load_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 55s] ptr += sprintf(ptr, " mtp_offset=%s", load_mtp_offset_to_kernel()); [ 55s] ^ [ 55s] normal_mode.c:184:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 55s] normal_mode.c:185:2: warning: implicit declaration of function 'load_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 55s] ptr += sprintf(ptr, " elvss_offset=0x%x", load_elvss_offset_to_kernel()); [ 55s] ^ [ 55s] normal_mode.c:186:2: warning: implicit declaration of function 'load_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 55s] ptr += sprintf(ptr, " hbm_offset=%s", load_hbm_offset_to_kernel()); [ 55s] ^ [ 55s] normal_mode.c:186:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 55s] normal_mode.c:196:3: warning: implicit declaration of function 'sprdchg_start_charge' [-Wimplicit-function-declaration] [ 55s] sprdchg_start_charge(); [ 55s] ^ [ 55s] normal_mode.c:202:2: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 55s] thor_save_env("normal"); [ 55s] ^ [ 55s] normal_mode.c:245:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 55s] if (s = getenv("sec_log_addr")) { [ 55s] ^ [ 55s] normal_mode.c:261:2: warning: implicit declaration of function 'get_dram_cs_number' [-Wimplicit-function-declaration] [ 55s] ptr += sprintf(ptr, " mem_cs=%d, mem_cs0_sz=%08x",get_dram_cs_number(), get_dram_cs0_size()); [ 55s] ^ [ 55s] normal_mode.c:261:2: warning: implicit declaration of function 'get_dram_cs0_size' [-Wimplicit-function-declaration] [ 55s] normal_mode.c:270:2: warning: implicit declaration of function 'tizen_get_emmc_serial_number' [-Wimplicit-function-declaration] [ 55s] tizen_get_emmc_serial_number((unsigned int *)uid); [ 55s] ^ [ 55s] normal_mode.c:275:2: warning: implicit declaration of function 'is_calibration_by_uart' [-Wimplicit-function-declaration] [ 55s] if (is_calibration_by_uart()) [ 55s] ^ [ 55s] normal_mode.c:281:2: warning: implicit declaration of function 'get_fgu_vol' [-Wimplicit-function-declaration] [ 55s] ptr += sprintf(ptr, " fgu_init=%d,%d", get_fgu_vol(), get_fgu_cur()); [ 55s] ^ [ 55s] normal_mode.c:281:2: warning: implicit declaration of function 'get_fgu_cur' [-Wimplicit-function-declaration] [ 55s] normal_mode.c:170:14: warning: unused variable 'mmc' [-Wunused-variable] [ 55s] struct mmc *mmc; [ 55s] ^ [ 55s] normal_mode.c: At top level: [ 55s] normal_mode.c:295:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] static int start_linux() [ 55s] ^ [ 55s] normal_mode.c: In function 'start_linux': [ 55s] normal_mode.c:303:22: warning: initialization from incompatible pointer type [ 55s] boot_img_hdr *hdr = raw_header; [ 55s] ^ [ 55s] normal_mode.c:328:2: warning: implicit declaration of function 'load_nvitem' [-Wimplicit-function-declaration] [ 55s] load_nvitem(); [ 55s] ^ [ 55s] normal_mode.c:329:2: warning: implicit declaration of function 'load_modem_data' [-Wimplicit-function-declaration] [ 55s] load_modem_data(); [ 55s] ^ [ 55s] normal_mode.c:330:2: warning: implicit declaration of function 'load_dsp_data' [-Wimplicit-function-declaration] [ 55s] load_dsp_data(); [ 55s] ^ [ 55s] normal_mode.c:332:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 55s] sipc_addr_reset(); [ 55s] ^ [ 55s] normal_mode.c:333:2: warning: implicit declaration of function 'modem_entry' [-Wimplicit-function-declaration] [ 55s] modem_entry(); [ 55s] ^ [ 55s] normal_mode.c:337:2: warning: implicit declaration of function 'Emmc_DisSdClk' [-Wimplicit-function-declaration] [ 55s] Emmc_DisSdClk(); [ 55s] ^ [ 55s] normal_mode.c:350:2: warning: implicit declaration of function 'fdt_fixup_adc_calibration_data' [-Wimplicit-function-declaration] [ 55s] fdt_fixup_adc_calibration_data(fdt_blob); [ 55s] ^ [ 55s] normal_mode.c:361:2: warning: implicit declaration of function 'fdt_fixup_boot_ram_log' [-Wimplicit-function-declaration] [ 55s] fdt_fixup_boot_ram_log(fdt_blob); [ 55s] ^ [ 55s] normal_mode.c:362:2: warning: implicit declaration of function 'fdt_fixup_chosen_bootargs_board_private' [-Wimplicit-function-declaration] [ 55s] fdt_fixup_chosen_bootargs_board_private(fdt_blob, boot_cmd); [ 55s] ^ [ 55s] normal_mode.c:303:16: warning: unused variable 'hdr' [-Wunused-variable] [ 55s] boot_img_hdr *hdr = raw_header; [ 55s] ^ [ 55s] normal_mode.c:299:6: warning: unused variable 'parm_at' [-Wunused-variable] [ 55s] u32 parm_at = (u32) - 1; [ 55s] ^ [ 55s] normal_mode.c:298:6: warning: unused variable 'exec_at' [-Wunused-variable] [ 55s] u32 exec_at = (u32) - 1; [ 55s] ^ [ 55s] normal_mode.c: In function 'lcd_display_logo': [ 55s] normal_mode.c:387:0: warning: "mdelay" redefined [ 55s] #define mdelay(t) ({unsigned long msec=(t); while (msec--) { udelay(1000);}}) //LiWei add [ 55s] ^ [ 55s] In file included from normal_mode.c:2:0: [ 55s] calibration_detect.h:51:0: note: this is the location of the previous definition [ 55s] #define mdelay(_ms) udelay(_ms*1000) [ 55s] ^ [ 55s] normal_mode.c:406:10: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 55s] memset((unsigned int)lcd_base, 0, size); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 55s] from normal_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 55s] void* memset(void*, int, size_t); [ 55s] ^ [ 55s] normal_mode.c: At top level: [ 55s] normal_mode.c:415:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int is_factorymode() [ 55s] ^ [ 55s] normal_mode.c: In function 'is_factorymode': [ 55s] normal_mode.c:420:2: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 55s] if (do_fs_file_read(FACTORY_PART, "/factorymode.file", factorymode_falg, 8)) [ 55s] ^ [ 55s] normal_mode.c: In function 'get_product_sn': [ 55s] normal_mode.c:438:2: warning: implicit declaration of function 'do_raw_data_read' [-Wimplicit-function-declaration] [ 55s] if (do_raw_data_read(PRODUCTINFO_FILE_PATITION, sizeof(phase_check), 0, (char *)&phase_check)) { [ 55s] ^ [ 55s] normal_mode.c: In function 'cmdline_set_cp_cmdline': [ 55s] normal_mode.c:638:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'char *' [-Wformat=] [ 55s] debugf("nv_info:[%08x]%s \n", nv_info, nv_info); [ 55s] ^ [ 55s] normal_mode.c: In function 'creat_cmdline': [ 55s] normal_mode.c:658:6: warning: unused variable 'ret' [-Wunused-variable] [ 55s] int ret = 0; [ 55s] ^ [ 55s] normal_mode.c: At top level: [ 55s] normal_mode.c:740:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] void vlx_entry() [ 55s] ^ [ 55s] normal_mode.c: In function 'vlx_entry': [ 55s] normal_mode.c:745:3: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 55s] power_down_devices(); [ 55s] ^ [ 55s] normal_mode.c:753:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 55s] MMU_DisableIDCM(); [ 55s] ^ [ 55s] normal_mode.c: At top level: [ 55s] normal_mode.c:868:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] void sipc_addr_reset() [ 55s] ^ [ 55s] normal_mode.c:868:6: warning: conflicting types for 'sipc_addr_reset' [ 55s] normal_mode.c:332:2: note: previous implicit declaration of 'sipc_addr_reset' was here [ 55s] sipc_addr_reset(); [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o recv_emc_mode.o recv_emc_mode.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from reboot_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 55s] from reboot_mode.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from reboot_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 55s] from reboot_mode.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from reboot_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from reboot_mode.c:9:0: [ 55s] /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] [ 55s] PUBLIC void BOOT_ResetHWFlag (); [ 55s] ^ [ 55s] reboot_mode.c: In function 'ResetMCU': [ 55s] reboot_mode.c:15:5: warning: implicit declaration of function 'CHIP_PHY_ResetHWFlag' [-Wimplicit-function-declaration] [ 55s] CHIP_PHY_ResetHWFlag(0x1FFF); [ 55s] ^ [ 55s] reboot_mode.c:16:5: warning: implicit declaration of function 'CHIP_PHY_SetWDGHWFlag' [-Wimplicit-function-declaration] [ 55s] CHIP_PHY_SetWDGHWFlag(TYPE_RESET, AUTO_TEST_MODE); [ 55s] ^ [ 55s] reboot_mode.c:18:5: warning: implicit declaration of function 'CHIP_ResetMCU' [-Wimplicit-function-declaration] [ 55s] CHIP_ResetMCU(); [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o recv_mode.o recv_mode.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 55s] from recv_emc_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 55s] from recv_emc_mode.c:3: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from recv_emc_mode.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from ../drivers/mmc/card_sdio.h:1:0, [ 55s] from recv_emc_mode.c:3: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from recv_emc_mode.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from recv_emc_mode.c:3:0: [ 55s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] PUBLIC void Emmc_DisSdClk(); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 55s] from recv_emc_mode.c:5: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 55s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 55s] ^ [ 55s] /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 [ 55s] #define VLR_INFO_OFF (512) [ 55s] ^ [ 55s] In file included from recv_emc_mode.c:5:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 55s] ^ [ 55s] In file included from recv_emc_mode.c:5:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int read_spldata(); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] void vlx_entry(); [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o thor_mode.o thor_mode.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from recv_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from recv_mode.c:14: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from recv_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from recv_mode.c:14: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from recv_mode.c:2:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] recv_mode.c: In function 'get_mode_from_file': [ 55s] recv_mode.c:123:2: warning: implicit declaration of function 'reboot_devices' [-Wimplicit-function-declaration] [ 55s] reboot_devices(0); [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o tizen_misc.o tizen_misc.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3, [ 55s] from thor_mode.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from thor_mode.c:3:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from thor_mode.c:1: [ 55s] /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 [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from thor_mode.c:3:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from thor_mode.c:1: [ 55s] /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 [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from thor_mode.c:9:0: [ 55s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] PUBLIC void Emmc_DisSdClk(); [ 55s] ^ [ 55s] thor_mode.c: In function 'send_rsp': [ 55s] thor_mode.c:48:2: warning: implicit declaration of function 'USB_WriteEx' [-Wimplicit-function-declaration] [ 55s] USB_WriteEx(thor_tx_data_buf, sizeof(struct rsp_box)); [ 55s] ^ [ 55s] thor_mode.c: In function 'download_file_start': [ 55s] thor_mode.c:84:3: warning: implicit declaration of function 'USB_ReadEx' [-Wimplicit-function-declaration] [ 55s] ret = USB_ReadEx((char *) dn_addr, THOR_PACKET_SIZE); [ 55s] ^ [ 55s] thor_mode.c:99:3: warning: implicit declaration of function 'draw_progress' [-Wimplicit-function-declaration] [ 55s] draw_progress(per); [ 55s] ^ [ 55s] thor_mode.c:121:74: warning: passing argument 4 of 'Emmc_Write' makes pointer from integer without a cast [ 55s] ret = Emmc_Write(PARTITION_USER, part_info.offset + write_ofs, count, download_addr); [ 55s] ^ [ 55s] In file included from thor_mode.c:9:0: [ 55s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'u32' [ 55s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 55s] ^ [ 55s] thor_mode.c:75:6: warning: unused variable 'count' [-Wunused-variable] [ 55s] int count = 0; [ 55s] ^ [ 55s] thor_mode.c: In function 'process_rqt_download': [ 55s] thor_mode.c:174:3: warning: implicit declaration of function 'thor_get_part_info' [-Wimplicit-function-declaration] [ 55s] ret = thor_get_part_info(&part_info, f_name); [ 55s] ^ [ 55s] thor_mode.c:139:29: warning: unused variable 'ret_head' [-Wunused-variable] [ 55s] static long long int left, ret_head; [ 55s] ^ [ 55s] thor_mode.c:139:23: warning: unused variable 'left' [-Wunused-variable] [ 55s] static long long int left, ret_head; [ 55s] ^ [ 55s] thor_mode.c: In function 'process_rqt_cmd': [ 55s] thor_mode.c:248:3: warning: implicit declaration of function 'udc_power_off' [-Wimplicit-function-declaration] [ 55s] udc_power_off(); [ 55s] ^ [ 55s] thor_mode.c:249:3: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 55s] thor_save_env("thor"); [ 55s] ^ [ 55s] thor_mode.c: In function 'thor_handle': [ 55s] thor_mode.c:299:3: warning: implicit declaration of function 'thor_usb_is_connected' [-Wimplicit-function-declaration] [ 55s] if (thor_usb_is_connected()) { [ 55s] ^ [ 55s] thor_mode.c:301:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 55s] if (!strncmp(thor_rx_data_buf, "THOR", strlen("THOR"))) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 55s] from thor_mode.c:3: [ 55s] /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 *' [ 55s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 55s] ^ [ 55s] thor_mode.c: In function 'thor_mode': [ 55s] thor_mode.c:332:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 55s] MMU_DisableIDCM(); [ 55s] ^ [ 55s] thor_mode.c:333:2: warning: implicit declaration of function 'thor_USB_Init' [-Wimplicit-function-declaration] [ 55s] thor_USB_Init(); [ 55s] ^ [ 55s] thor_mode.c: In function 'do_thor_down': [ 55s] thor_mode.c:343:1: warning: control reaches end of non-void function [-Wreturn-type] [ 55s] } [ 55s] ^ [ 55s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 55s] -o usb/cdc_descriptor.o usb/cdc_descriptor.c -c [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 55s] from tizen_misc.c:1: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 55s] #define CONFIG_MMC 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 55s] #define CONFIG_MMC [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 55s] #define CONFIG_EFI_PARTITION 1 [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 55s] #define CONFIG_EFI_PARTITION [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from tizen_misc.c:4: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 55s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from tizen_misc.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 55s] #define MAX(x, y) max(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 55s] from tizen_misc.c:4: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 55s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 55s] ^ [ 55s] In file included from tizen_misc.c:1:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 55s] #define MIN(x, y) min(x, y) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 55s] from tizen_misc.c:6: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 55s] from tizen_misc.c:6: [ 55s] /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 [ 55s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 55s] ^ [ 55s] In file included from tizen_misc.c:9:0: [ 55s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] PUBLIC void Emmc_DisSdClk(); [ 55s] ^ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 55s] from tizen_misc.c:12: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 55s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 55s] ^ [ 55s] /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 [ 55s] #define VLR_INFO_OFF (512) [ 55s] ^ [ 55s] In file included from tizen_misc.c:12:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 55s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 55s] ^ [ 55s] In file included from tizen_misc.c:12:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:212:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int read_spldata(); [ 55s] ^ [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] void vlx_entry(); [ 55s] ^ [ 55s] tizen_misc.c: In function 'convert_to_string': [ 55s] tizen_misc.c:18:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 55s] while (*buf++ = (char)*crap++); [ 55s] ^ [ 55s] tizen_misc.c: In function 'thor_save_env': [ 56s] tizen_misc.c:62:55: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] ret = Emmc_Write(PARTITION_USER, part_info.start, 1, str); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c: In function 'thor_get_env': [ 56s] tizen_misc.c:82:54: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 56s] ret = Emmc_Read(PARTITION_USER, part_info.start, 1, str); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:86:2: warning: function returns address of local variable [-Wreturn-local-addr] [ 56s] return str; [ 56s] ^ [ 56s] tizen_misc.c: In function 'check_pm_status': [ 56s] tizen_misc.c:103:2: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 56s] if (charger_connected()) { [ 56s] ^ [ 56s] tizen_misc.c: In function 'thor_get_part_info': [ 56s] tizen_misc.c:178:33: warning: passing argument 1 of 'strtok' discards 'const' qualifier from pointer target type [ 56s] const char *file_name = strtok(name, "."); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 56s] from tizen_misc.c:1: [ 56s] /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 *' [ 56s] extern char * strtok(char *,const char *); [ 56s] ^ [ 56s] tizen_misc.c: In function 'tizen_get_emmc_serial_number': [ 56s] tizen_misc.c:189:2: warning: implicit declaration of function 'get_global_cid' [-Wimplicit-function-declaration] [ 56s] unsigned char *regCID = get_global_cid(); [ 56s] ^ [ 56s] tizen_misc.c:189:26: warning: initialization makes pointer from integer without a cast [ 56s] unsigned char *regCID = get_global_cid(); [ 56s] ^ [ 56s] tizen_misc.c: In function 'tizen_board_key_scan': [ 56s] tizen_misc.c:212:2: warning: implicit declaration of function 'get_volumn_down_status2' [-Wimplicit-function-declaration] [ 56s] if(get_volumn_down_status2()) [ 56s] ^ [ 56s] tizen_misc.c:206:15: warning: unused variable 'key_code' [-Wunused-variable] [ 56s] unsigned int key_code = 0; [ 56s] ^ [ 56s] tizen_misc.c: At top level: [ 56s] tizen_misc.c:257:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 56s] void (*update)(); [ 56s] ^ [ 56s] tizen_misc.c: In function 'runtimenv_read_with_backup': [ 56s] tizen_misc.c:337:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 56s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, oribuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:346:2: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 56s] if (_chkNVEcc(oribuf + SECTOR_SIZE, RUNTIMENV_SIZE, checksum)) { [ 56s] ^ [ 56s] tizen_misc.c:347:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 56s] memcpy(runtimenv_adr,oribuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 56s] from tizen_misc.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 56s] void* memcpy(void*, const void*, size_t); [ 56s] ^ [ 56s] tizen_misc.c:356:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 56s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, bakbuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:367:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 56s] memcpy(runtimenv_adr,bakbuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 56s] from tizen_misc.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 56s] void* memcpy(void*, const void*, size_t); [ 56s] ^ [ 56s] tizen_misc.c:380:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:384:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 56s] memcpy(runtimenv_adr, bakbuf + SECTOR_SIZE, RUNTIMENV_SIZE); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 56s] from tizen_misc.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 56s] void* memcpy(void*, const void*, size_t); [ 56s] ^ [ 56s] tizen_misc.c:390:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 56s] tizen_misc.c:435:93: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 56s] ret = Emmc_Read(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, tmpbuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:444:3: warning: implicit declaration of function 'calc_checksum' [-Wimplicit-function-declaration] [ 56s] tmp_header_p->checksum = (unsigned long)calc_checksum(tmpbuf, FIXNV_SIZE); [ 56s] ^ [ 56s] tizen_misc.c:452:50: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start, 1, tmp_header); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:453:77: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, tmpbuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:478:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong' [-Wformat=] [ 56s] printf("loading fixnv1 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 56s] ^ [ 56s] tizen_misc.c:481:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 56s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, oribuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:491:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 56s] memcpy(fixnv_adr, oribuf + SECTOR_SIZE, FIXNV_SIZE); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 56s] from tizen_misc.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 56s] void* memcpy(void*, const void*, size_t); [ 56s] ^ [ 56s] tizen_misc.c:504:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong' [-Wformat=] [ 56s] printf("loading fixnv2 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 56s] ^ [ 56s] tizen_misc.c:506:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 56s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, bakbuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:572:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:573:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:581:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:582:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:584:11: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [ 56s] memset(fixnv_adr, 0xff, FIXNV_SIZE); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 56s] from tizen_misc.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 56s] void* memset(void*, int, size_t); [ 56s] ^ [ 56s] tizen_misc.c:585:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 56s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 56s] from tizen_misc.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 56s] void* memcpy(void*, const void*, size_t); [ 56s] ^ [ 56s] tizen_misc.c:596:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:597:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 56s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 56s] from tizen_misc.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 56s] void* memcpy(void*, const void*, size_t); [ 56s] ^ [ 56s] tizen_misc.c:606:12: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 56s] memcpy(fixnv_adr, bakbuf + SECTOR_SIZE,FIXNV_SIZE); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 56s] from tizen_misc.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 56s] void* memcpy(void*, const void*, size_t); [ 56s] ^ [ 56s] tizen_misc.c:619:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c:624:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [ 56s] memcpy(fixnv_adr, bakbuf+SECTOR_SIZE, FIXNV_SIZE); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 56s] from tizen_misc.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 56s] void* memcpy(void*, const void*, size_t); [ 56s] ^ [ 56s] tizen_misc.c:630:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 56s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 56s] from tizen_misc.c:1: [ 56s] tizen_misc.c: In function 'load_modem_data': [ 56s] /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 [ 56s] #define WMODEM_ADR 0x88300000 [ 56s] ^ [ 56s] tizen_misc.c:666:23: note: in expansion of macro 'WMODEM_ADR' [ 56s] unsigned char *buf = WMODEM_ADR; [ 56s] ^ [ 56s] tizen_misc.c:671:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 56s] printf("load modem to addr 0x%08x\n", buf); [ 56s] ^ [ 56s] tizen_misc.c:693:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 56s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 56s] from tizen_misc.c:1: [ 56s] tizen_misc.c: In function 'load_dsp_data': [ 56s] /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 [ 56s] #define WDSP_ADR 0x88020000 [ 56s] ^ [ 56s] tizen_misc.c:712:23: note: in expansion of macro 'WDSP_ADR' [ 56s] unsigned char *buf = WDSP_ADR; [ 56s] ^ [ 56s] tizen_misc.c:717:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 56s] printf("load dsp to addr 0x%08x\n", buf); [ 56s] ^ [ 56s] tizen_misc.c:739:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 56s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c: In function 'load_binary_to_addr': [ 56s] tizen_misc.c:771:66: warning: passing argument 4 of 'Emmc_Read' makes pointer from integer without a cast [ 56s] ret = Emmc_Read(PARTITION_USER, info.offset, size / info.blksz, addr); [ 56s] ^ [ 56s] In file included from tizen_misc.c:9:0: [ 56s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 *' but argument is of type 'unsigned int' [ 56s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 56s] ^ [ 56s] tizen_misc.c: In function 'check_board_signature': [ 56s] tizen_misc.c:790:40: warning: passing argument 2 of 'load_binary_to_addr' makes integer from pointer without a cast [ 56s] ret = load_binary_to_addr(PARTS_BOOT, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 56s] ^ [ 56s] tizen_misc.c:762:12: note: expected 'unsigned int' but argument is of type 'char *' [ 56s] static int load_binary_to_addr(char *name, unsigned int addr, unsigned int size) [ 56s] ^ [ 56s] tizen_misc.c:794:40: warning: passing argument 2 of 'get_image_signature' makes integer from pointer without a cast [ 56s] ret = get_image_signature(&bh_target, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 56s] ^ [ 56s] tizen_misc.c:750:5: note: expected 'unsigned int' but argument is of type 'char *' [ 56s] int get_image_signature(struct sig_header *hdr, unsigned int base_addr, [ 56s] ^ [ 56s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 56s] -o usb/drv_cdc.o usb/drv_cdc.c -c [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 56s] from usb/cdc_descriptor.c:1: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 56s] #define CONFIG_MMC 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 56s] #define CONFIG_MMC [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 56s] #define CONFIG_EFI_PARTITION 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 56s] #define CONFIG_EFI_PARTITION [ 56s] ^ [ 56s] usb/cdc_descriptor.c: In function 'thor_get_config_desc': [ 56s] usb/cdc_descriptor.c:265:2: warning: implicit declaration of function 'usb_gadget_config_buf' [-Wimplicit-function-declaration] [ 56s] usb_gadget_config_buf(&thor_config_desc, &function_desc_buf, 256, thor_function_high); [ 56s] ^ [ 56s] usb/cdc_descriptor.c: In function 'str2wide': [ 56s] usb/cdc_descriptor.c:278:2: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] [ 56s] for (i = 0; i < strlen (str) && str[i]; i++){ [ 56s] ^ [ 56s] usb/cdc_descriptor.c: At top level: [ 56s] usb/cdc_descriptor.c:236:13: warning: 'thor_device_qualifer_desc_buf' defined but not used [-Wunused-variable] [ 56s] static char thor_device_qualifer_desc_buf[sizeof(struct usb_qualifier_descriptor)] __align(32); [ 56s] ^ [ 56s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 56s] tizen_misc.c:550:3: warning: 'nv_backup_status' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 56s] printf("nv_backup_status = %d \n", nv_backup_status); [ 56s] ^ [ 56s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 56s] -o usb/usb_hw.o usb/usb_hw.c -c [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 56s] from usb/drv_cdc.c:11: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 56s] #define CONFIG_MMC 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 56s] #define CONFIG_MMC [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 56s] #define CONFIG_EFI_PARTITION 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 56s] #define CONFIG_EFI_PARTITION [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 56s] from usb/drv_cdc.c:14: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 56s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from usb/drv_cdc.c:12:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 56s] #define MAX(x, y) max(x, y) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 56s] from usb/drv_cdc.c:14: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 56s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from usb/drv_cdc.c:12:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 56s] #define MIN(x, y) min(x, y) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 56s] from usb/drv_cdc.c:14: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 56s] #define KPD_NUM (0x31 << 16) [ 56s] ^ [ 56s] /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 [ 56s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 56s] from usb/drv_cdc.c:14: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 56s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 56s] ^ [ 56s] /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 [ 56s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 56s] ^ [ 56s] usb/drv_cdc.c: In function 'usb_get_descriptor': [ 56s] usb/drv_cdc.c:254:4: warning: implicit declaration of function 'thor_get_device_desc' [-Wimplicit-function-declaration] [ 56s] send_data = (uint8 *) thor_get_device_desc(enum_speed); [ 56s] ^ [ 56s] usb/drv_cdc.c:260:4: warning: implicit declaration of function 'thor_get_config_desc' [-Wimplicit-function-declaration] [ 56s] send_data = (uint8 *) thor_get_config_desc(enum_speed); [ 56s] ^ [ 56s] usb/drv_cdc.c:278:4: warning: implicit declaration of function 'thor_get_string_desc' [-Wimplicit-function-declaration] [ 56s] send_data = thor_get_string_desc(str_index); [ 56s] ^ [ 56s] usb/drv_cdc.c:278:14: warning: assignment makes pointer from integer without a cast [ 56s] send_data = thor_get_string_desc(str_index); [ 56s] ^ [ 56s] usb/drv_cdc.c:292:4: warning: implicit declaration of function 'thor_get_qualifer_desc' [-Wimplicit-function-declaration] [ 56s] send_data = (uint8 *) thor_get_qualifer_desc(); [ 56s] ^ [ 56s] usb/drv_cdc.c:305:4: warning: implicit declaration of function 'thor_get_other_speed_config_desc' [-Wimplicit-function-declaration] [ 56s] send_data = (uint8 *) thor_get_other_speed_config_desc(); [ 56s] ^ [ 56s] usb/drv_cdc.c: In function 'usb_set_feature': [ 56s] usb/drv_cdc.c:389:21: warning: variable 'request1' set but not used [-Wunused-but-set-variable] [ 56s] USB_REQUEST_1_U *request1; [ 56s] ^ [ 56s] usb/drv_cdc.c:387:23: warning: unused variable 'dcfg_ptr' [-Wunused-variable] [ 56s] volatile USB_DCFG_U *dcfg_ptr = (volatile USB_DCFG_U *) USB_DCFG; [ 56s] ^ [ 56s] usb/drv_cdc.c: In function 'usb_handler': [ 56s] usb/drv_cdc.c:790:15: warning: unused variable 'string' [-Wunused-variable] [ 56s] char string[64] ={0,}; [ 56s] ^ [ 56s] usb/drv_cdc.c:789:9: warning: unused variable 'i' [-Wunused-variable] [ 56s] uint32 i=0; [ 56s] ^ [ 56s] usb/drv_cdc.c: In function 'USB_ReadEx_Internal': [ 56s] usb/drv_cdc.c:837:9: warning: unused variable 'i' [-Wunused-variable] [ 56s] int i; [ 56s] ^ [ 56s] usb/drv_cdc.c: In function 'thor_USB_Init': [ 56s] usb/drv_cdc.c:1034:2: warning: implicit declaration of function 'sprd_usb_thor_start' [-Wimplicit-function-declaration] [ 56s] sprd_usb_thor_start(); [ 56s] ^ [ 56s] usb/drv_cdc.c:1024:15: warning: unused variable 'len' [-Wunused-variable] [ 56s] unsigned int len = 0; [ 56s] ^ [ 56s] usb/drv_cdc.c: In function 'USB_DeInit': [ 56s] usb/drv_cdc.c:1045:2: warning: implicit declaration of function 'usb_power_off' [-Wimplicit-function-declaration] [ 56s] usb_power_off(); [ 56s] ^ [ 56s] usb/drv_cdc.c: At top level: [ 56s] usb/drv_cdc.c:1069:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 56s] void sprd_usb_thor_start() [ 56s] ^ [ 56s] usb/drv_cdc.c:1069:6: warning: conflicting types for 'sprd_usb_thor_start' [ 56s] usb/drv_cdc.c:1034:2: note: previous implicit declaration of 'sprd_usb_thor_start' was here [ 56s] sprd_usb_thor_start(); [ 56s] ^ [ 56s] usb/drv_cdc.c: In function 'sprd_usb_thor_start': [ 56s] usb/drv_cdc.c:1078:5: warning: 'return' with a value, in function returning void [ 56s] return -1; [ 56s] ^ [ 56s] usb/drv_cdc.c:1080:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 56s] if (!strncmp(sprd_thor_setup_buf, "THOR", strlen("THOR"))) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 56s] from usb/drv_cdc.c:12: [ 56s] /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 *' [ 56s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 56s] ^ [ 56s] usb/drv_cdc.c:1083:17: warning: pointer targets in passing argument 1 of 'USB_WriteEx' differ in signedness [-Wpointer-sign] [ 56s] USB_WriteEx("ROHT", strlen("ROHT")); [ 56s] ^ [ 56s] usb/drv_cdc.c:906:14: note: expected 'uint8 *' but argument is of type 'char *' [ 56s] PUBLIC int32 USB_WriteEx(uint8 *pBuf,uint32 len) [ 56s] ^ [ 56s] usb/drv_cdc.c:1097:2: warning: 'return' with a value, in function returning void [ 56s] return 0; [ 56s] ^ [ 56s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 56s] -o vbat_check.o vbat_check.c -c [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 56s] from usb/usb_hw.c:1: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 56s] #define CONFIG_MMC 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 56s] #define CONFIG_MMC [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 56s] #define CONFIG_EFI_PARTITION 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 56s] #define CONFIG_EFI_PARTITION [ 56s] ^ [ 56s] In file included from usb/usb_hw.c:3:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 56s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from usb/usb_hw.c:2:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 56s] #define MAX(x, y) max(x, y) [ 56s] ^ [ 56s] In file included from usb/usb_hw.c:3:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 56s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from usb/usb_hw.c:2:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 56s] #define MIN(x, y) min(x, y) [ 56s] ^ [ 56s] usb/usb_hw.c: In function 'usb_power_on': [ 56s] usb/usb_hw.c:132:6: warning: unused variable 'ret' [-Wunused-variable] [ 56s] int ret =0; [ 56s] ^ [ 56s] usb/usb_hw.c: At top level: [ 56s] usb/usb_hw.c:54:13: warning: 'ADIConfig' defined but not used [-Wunused-function] [ 56s] static void ADIConfig(void) [ 56s] ^ [ 56s] usb/usb_hw.c:67:21: warning: 'ADIAnalogdieRegRead' defined but not used [-Wunused-function] [ 56s] static unsigned int ADIAnalogdieRegRead(unsigned long addr) [ 56s] ^ [ 56s] usb/usb_hw.c:84:21: warning: 'ADIAnalogdieRegWrite' defined but not used [-Wunused-function] [ 56s] static unsigned int ADIAnalogdieRegWrite(unsigned long addr,uint16 data) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 56s] from vbat_check.c:1: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 56s] #define CONFIG_MMC 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 56s] #define CONFIG_MMC [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 56s] #define CONFIG_EFI_PARTITION 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 56s] #define CONFIG_EFI_PARTITION [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 56s] from vbat_check.c:3: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 56s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from vbat_check.c:1:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 56s] #define MAX(x, y) max(x, y) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 56s] from vbat_check.c:3: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 56s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from vbat_check.c:1:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 56s] #define MIN(x, y) min(x, y) [ 56s] ^ [ 56s] vbat_check.c: In function 'is_bat_low': [ 56s] vbat_check.c:65:5: warning: implicit declaration of function 'sprdbat_auxadc2vbatvol' [-Wimplicit-function-declaration] [ 56s] if(sprdbat_auxadc2vbatvol (adc_value) < comp_vbat) [ 56s] ^ [ 56s] 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 [ 56s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 56s] make -C board/spreadtrum/tizen_tm1/ [ 56s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 56s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 56s] -o openphone.o openphone.c -c [ 56s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 56s] -o sprd_kp.o sprd_kp.c -c [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 56s] from openphone.c:1: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 56s] #define CONFIG_MMC 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 56s] #define CONFIG_MMC [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 56s] #define CONFIG_EFI_PARTITION 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 56s] #define CONFIG_EFI_PARTITION [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 56s] from openphone.c:3: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 56s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from openphone.c:1:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 56s] #define MAX(x, y) max(x, y) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 56s] from openphone.c:3: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 56s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from openphone.c:1:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 56s] #define MIN(x, y) min(x, y) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 56s] from openphone.c:5: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 56s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 56s] ^ [ 56s] /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 [ 56s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 56s] ^ [ 56s] In file included from openphone.c:5:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 56s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 56s] ^ [ 56s] In file included from openphone.c:4:0: [ 56s] /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 [ 56s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 56s] ^ [ 56s] In file included from openphone.c:5:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 56s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 56s] ^ [ 56s] In file included from openphone.c:4:0: [ 56s] /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 [ 56s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 56s] from openphone.c:6: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 56s] #define KPD_NUM (0x31 << 16) [ 56s] ^ [ 56s] /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 [ 56s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 56s] from openphone.c:12: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:104:14: warning: 'struct seq_file' declared inside parameter list [ 56s] struct gpio_chip *chip); [ 56s] ^ [ 56s] /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 [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 56s] from openphone.c:14: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 56s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 56s] from openphone.c:5: [ 56s] /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 [ 56s] #define ADC_BASE 0x40038300 //Aux ADC [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 56s] from openphone.c:14: [ 56s] /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 [ 56s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 56s] from openphone.c:14: [ 56s] /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 [ 56s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 56s] ^ [ 56s] openphone.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 56s] int mmc_sdcard_init(); [ 56s] ^ [ 56s] openphone.c:42:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 56s] void aon_26M_timer2_enable() [ 56s] ^ [ 56s] openphone.c: In function 'get_hw_rev': [ 56s] openphone.c:58:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 56s] sprd_gpio_request(NULL, hw_rev_gpio[i]); [ 56s] ^ [ 56s] openphone.c:59:3: warning: implicit declaration of function 'sprd_gpio_direction_input' [-Wimplicit-function-declaration] [ 56s] sprd_gpio_direction_input(NULL, hw_rev_gpio[i]); [ 56s] ^ [ 56s] openphone.c:60:3: warning: implicit declaration of function 'sprd_gpio_get' [-Wimplicit-function-declaration] [ 56s] hw_revision = (hw_revision << 1) | sprd_gpio_get(NULL, hw_rev_gpio[i]); [ 56s] ^ [ 56s] openphone.c:61:3: warning: implicit declaration of function 'sprd_gpio_free' [-Wimplicit-function-declaration] [ 56s] sprd_gpio_free(NULL, hw_rev_gpio[i]); [ 56s] ^ [ 56s] openphone.c: In function 'board_init': [ 56s] openphone.c:73:2: warning: implicit declaration of function 'misc_init' [-Wimplicit-function-declaration] [ 56s] misc_init(); [ 56s] ^ [ 56s] openphone.c:76:2: warning: implicit declaration of function 'sprd_eic_init' [-Wimplicit-function-declaration] [ 56s] sprd_eic_init(); [ 56s] ^ [ 56s] openphone.c:78:2: warning: implicit declaration of function 'init_ldo_sleep_gr' [-Wimplicit-function-declaration] [ 56s] init_ldo_sleep_gr(); [ 56s] ^ [ 56s] openphone.c:85:2: warning: implicit declaration of function 'check_smpl' [-Wimplicit-function-declaration] [ 56s] check_smpl(); [ 56s] ^ [ 56s] openphone.c: At top level: [ 56s] openphone.c:91:6: warning: conflicting types for 'check_smpl' [ 56s] void check_smpl(void) [ 56s] ^ [ 56s] openphone.c:85:2: note: previous implicit declaration of 'check_smpl' was here [ 56s] check_smpl(); [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 56s] from openphone.c:12: [ 56s] /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] [ 56s] static bool gpio_is_valid(int number) [ 56s] ^ [ 56s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 56s] -o pinmap-sp7730.o pinmap-sp7730.c -c [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 56s] from sprd_kp.c:1: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 56s] #define CONFIG_MMC 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 56s] #define CONFIG_MMC [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 56s] #define CONFIG_EFI_PARTITION 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 56s] #define CONFIG_EFI_PARTITION [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 56s] from sprd_kp.c:4: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 56s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from sprd_kp.c:1:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 56s] #define MAX(x, y) max(x, y) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 56s] from sprd_kp.c:4: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 56s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 56s] ^ [ 56s] In file included from sprd_kp.c:1:0: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 56s] #define MIN(x, y) min(x, y) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 56s] from sprd_kp.c:6: [ 56s] /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 [ 56s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 56s] from sprd_kp.c:6: [ 56s] /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 [ 56s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 56s] ^ [ 56s] sprd_kp.c: In function 'board_keypad_init': [ 56s] sprd_kp.c:14:18: warning: unused variable 'key_type' [-Wunused-variable] [ 56s] unsigned int key_type; [ 56s] ^ [ 56s] sprd_kp.c: In function 'board_key_scan': [ 56s] sprd_kp.c:104:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 56s] sprd_eic_request(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 56s] ^ [ 56s] sprd_kp.c:106:2: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 56s] volumeup = sprd_eic_get(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 56s] ^ [ 56s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/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 \ [ 56s] -o ldo_sleep.o ldo_sleep.c -c [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:19, [ 56s] from pinmap-sp7730.c:5: [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 56s] #define CONFIG_MMC 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 56s] #define CONFIG_MMC [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 56s] #define CONFIG_EFI_PARTITION 1 [ 56s] ^ [ 56s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 56s] #define CONFIG_EFI_PARTITION [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 56s] from pinmap-sp7730.c:5: [ 56s] /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 [ 56s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 56s] ^ [ 56s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 56s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 56s] from pinmap-sp7730.c:5: [ 56s] /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 [ 56s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 56s] ^ [ 57s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 57s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 57s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 57s] from ldo_sleep.c:1: [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 57s] #define CONFIG_MMC 1 [ 57s] ^ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 57s] #define CONFIG_MMC [ 57s] ^ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 57s] #define CONFIG_EFI_PARTITION 1 [ 57s] ^ [ 57s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 57s] #define CONFIG_EFI_PARTITION [ 57s] ^ [ 57s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 57s] from ldo_sleep.c:4: [ 57s] /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 [ 57s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 57s] ^ [ 57s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 57s] from ldo_sleep.c:4: [ 57s] /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 [ 57s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 57s] ^ [ 57s] ldo_sleep.c: In function 'init_ldo_sleep_gr': [ 57s] ldo_sleep.c:774:2: warning: implicit declaration of function 'CSP_Init' [-Wimplicit-function-declaration] [ 57s] CSP_Init(0); [ 57s] ^ [ 57s] ar crv libtizen_tm1.o openphone.o sprd_kp.o pinmap-sp7730.o ldo_sleep.o [ 57s] a - openphone.o [ 57s] a - sprd_kp.o [ 57s] a - pinmap-sp7730.o [ 57s] a - ldo_sleep.o [ 57s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 57s] 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 [ 57s] objcopy -O srec u-boot u-boot.srec [ 57s] objcopy --gap-fill 0xff -O binary u-boot u-boot.bin [ 57s] + chmod 755 tools/mkimage_signed.sh [ 57s] + mkimage_signed.sh u-boot.bin tizen_tm1 [ 57s] ##################################### [ 57s] Running script: tools/mkimage_signed.sh [ 57s] Config: tizen_tm1 [ 57s] Input binary: u-boot.bin [ 57s] Input bytes: 616964 (Max size: 1048064 B) [ 57s] [ 57s] Header info: [ 57s] HDR length: 512 Bytes [ 57s] SIG magic: "BoOt" [ 57s] SIG size: 0 [ 57s] SIG valid: 0 [ 57s] SIG date: "2019051701" (YYMMDDHH) [ 57s] SIG version: "none" [ 57s] SIG board: "tizen_tm1" [ 57s] [ 57s] Output signed binary: u-boot-mmc.bin [ 57s] ##################################### [ 57s] + exit 0 [ 57s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fgcIqo [ 57s] + umask 022 [ 57s] + cd /home/abuild/rpmbuild/BUILD [ 57s] + cd u-boot-sprd-2010.12 [ 57s] + LANG=C [ 57s] + export LANG [ 57s] + unset DISPLAY [ 57s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm [ 57s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm [ 57s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm [ 57s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm/boot/u-boot [ 57s] + install -d /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm/boot/u-boot [ 57s] + install -m 755 u-boot.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm/boot/u-boot [ 57s] + install -m 755 u-boot-mmc.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm/boot/u-boot [ 57s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12 [ 57s] + /usr/lib/rpm/check-buildroot [ 57s] + /usr/lib/rpm//brp-compress [ 57s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 57s] + /usr/lib/rpm/brp-python-hardlink [ 57s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm [ 57s] Processing files: u-boot-sprd-debugsource-2010.12-1.11.armv7l [ 57s] Provides: u-boot-sprd-debugsource = 2010.12-1.11 u-boot-sprd-debugsource(armv7l-32) = 2010.12-1.11 [ 57s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 57s] Processing files: u-boot-tm1-2010.12-1.11.armv7l [ 57s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 57s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 57s] [ 57s] Provides: u-boot-tm1 = 2010.12-1.11 u-boot-tm1(armv7l-32) = 2010.12-1.11 [ 57s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 57s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm [ 57s] warning: Could not canonicalize hostname: obsnw18 [ 58s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-1.11.src.rpm [ 58s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-1.11.armv7l.rpm [ 58s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-1.11.armv7l.rpm [ 58s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0RRsZy [ 58s] + umask 022 [ 58s] + cd /home/abuild/rpmbuild/BUILD [ 58s] + cd u-boot-sprd-2010.12 [ 58s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-1.11.arm [ 58s] + exit 0 [ 58s] ... checking for files with abuild user/group [ 58s] ... creating baselibs [ 59s] ... comparing built packages with the former built [ 59s] /usr/lib/build/pkg-diff.sh [ 59s] compare /.build.oldpackages/u-boot-sprd-2010.12-1.10.src.rpm /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-1.11.src.rpm [ 59s] This is not a prerelease project. Compare the project name. [ 59s] comparing rpmtags [ 59s] comparing RELEASE [ 59s] comparing PROVIDES [ 59s] comparing scripts [ 59s] comparing filelist [ 59s] comparing file checksum [ 59s] RPM meta information is identical [ 59s] compare /.build.oldpackages/u-boot-sprd-debugsource-2010.12-1.10.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-1.11.armv7l.rpm [ 59s] Comparing u-boot-sprd-debugsource-2010.12-1.10.armv7l.rpm to u-boot-sprd-debugsource-2010.12-1.11.armv7l.rpm [ 59s] This is not a prerelease project. Compare the project name. [ 59s] comparing rpmtags [ 59s] comparing RELEASE [ 59s] comparing PROVIDES [ 59s] comparing scripts [ 60s] comparing filelist [ 60s] comparing file checksum [ 60s] creating rename script [ 60s] RPM meta information is identical [ 60s] compare /.build.oldpackages/u-boot-tm1-2010.12-1.10.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-1.11.armv7l.rpm [ 60s] Comparing u-boot-tm1-2010.12-1.10.armv7l.rpm to u-boot-tm1-2010.12-1.11.armv7l.rpm [ 60s] This is not a prerelease project. Compare the project name. [ 60s] comparing rpmtags [ 60s] comparing RELEASE [ 60s] comparing PROVIDES [ 60s] comparing scripts [ 60s] comparing filelist [ 60s] comparing file checksum [ 60s] creating rename script [ 60s] RPM file checksum differs. [ 60s] Extracting packages [ 60s] /boot/u-boot/u-boot-mmc.bin differs (data) [ 63s] --- /tmp/tmp.jrGV130187/tmp.nGDo130430 2019-05-17 01:49:04.866590718 +0000 [ 63s] +++ /tmp/tmp.jrGV130187/tmp.CLGE130437 2019-05-17 01:49:04.874590625 +0000 [ 63s] @@ -17506,8 +17506,8 @@ [ 63s] 00044610 42 4c 64 6f 45 6e 61 62 6c 65 00 00 55 2d 42 6f |BLdoEnable..U-Bo| [ 63s] 00044620 6f 74 20 32 30 31 30 2e 31 32 2d 67 66 64 62 39 |ot 2010.12-gfdb9| [ 63s] 00044630 34 33 64 65 66 2d 54 49 5a 45 4e 2e 6f 72 67 20 |43def-TIZEN.org | [ 63s] -00044640 28 4a 75 6c 20 31 33 20 32 30 31 38 20 2d 20 31 |(Jul 13 2018 - 1| [ 63s] -00044650 37 3a 30 37 3a 34 37 29 00 00 00 00 04 92 64 9f |7:07:47)......d.| [ 63s] +00044640 28 4d 61 79 20 31 37 20 32 30 31 39 20 2d 20 30 |(May 17 2019 - 0| [ 63s] +00044650 31 3a 34 38 3a 34 30 29 00 00 00 00 04 92 64 9f |1:48:40)......d.| [ 63s] 00044660 0c 92 64 9f 13 92 64 9f 1a 92 64 9f 21 92 64 9f |..d...d...d.!.d.| [ 63s] 00044670 28 92 64 9f 2f 92 64 9f 36 92 64 9f 3d 92 64 9f |(.d./.d.6.d.=.d.| [ 63s] 00044680 44 92 64 9f 4b 92 64 9f 53 92 64 9f 5b 92 64 9f |D.d.K.d.S.d.[.d.| [ 63s] @@ -38004,8 +38004,8 @@ [ 63s] 00096a00 9c b1 64 9f 00 00 00 00 00 00 00 00 00 00 00 00 |..d.............| [ 63s] 00096a10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [ 63s] * [ 63s] -000ffe00 42 6f 4f 74 00 00 00 00 00 00 00 00 32 30 31 38 |BoOt........2018| [ 63s] -000ffe10 30 37 31 33 31 37 00 00 6e 6f 6e 65 00 00 00 00 |071317..none....| [ 63s] +000ffe00 42 6f 4f 74 00 00 00 00 00 00 00 00 32 30 31 39 |BoOt........2019| [ 63s] +000ffe10 30 35 31 37 30 31 00 00 6e 6f 6e 65 00 00 00 00 |051701..none....| [ 63s] 000ffe20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [ 63s] 000ffe30 74 69 7a 65 6e 5f 74 6d 31 00 00 00 00 00 00 00 |tizen_tm1.......| [ 63s] 000ffe40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [ 63s] [ 63s] obsnw18 finished "build u-boot-tm1.spec" at Fri May 17 01:49:04 UTC 2019. [ 63s]