[ 0s] Memory limit set to 82442244KB [ 0s] Using BUILD_ROOT=/var/cache/build/root_7 [ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel [ 0s] [ 0s] [ 0s] obsnw01 started "build _service:gbs:u-boot-tm1.spec" at Fri Sep 15 21:08:32 UTC 2017. [ 0s] [ 0s] Building u-boot-sprd for project 'Tizen:4.0:Unified' repository 'standard' arch 'armv7l' srcmd5 '996a3c59331a3b2b6fdd8f769f918636' [ 0s] [ 0s] processing recipe /var/cache/build/root_7/.build-srcdir/_service:gbs:u-boot-tm1.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_7/.build-srcdir/_service:gbs:u-boot-tm1.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/7/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_7/.build.rpmlist /var/cache/build/root_7/.build-srcdir/_service:gbs:u-boot-tm1.spec build rpmlint-Factory ... [ 1s] copying qemu [ 1s] /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 [ 1s] [ 1s] registering binfmt handlers for cross build [ 1s] interpreter for 'aarch64' is -1 [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /var/run/obs/worker/7/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 [ 1s] [ 1s] /.build/qemu-reg: No such file or directory [ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 1s] /usr/lib/build/qemu-reg: No such file or directory [ 1s] /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... [ 2s] [24/40] preinstalling qemu-accel-x86_64-armv7l... [ 5s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 6s] [26/40] preinstalling coreutils... [ 6s] [27/40] preinstalling libacl... [ 6s] [28/40] preinstalling libblkid... [ 6s] [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... [ 7s] [40/40] preinstalling rpm... [ 7s] [ 7s] running qemu-linux-user-x86_64-cross postinstall script [ 7s] running qemu-accel-x86_64-armv7l postinstall script [ 7s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/liblto_plugin.so': No such file or directory [ 7s] running setup postinstall script [ 7s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 7s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 7s] initializing rpm db... [ 7s] reordering...cycle: libsoftokn3 -> nss [ 7s] breaking dependency nss -> libsoftokn3 [ 7s] done [ 7s] [1/93] installing libmagic-data-5.31-3.18 [ 7s] [2/93] installing setup-0.9-2.3 [ 7s] warning: /etc/profile created as /etc/profile.rpmnew [ 7s] [3/93] installing filesystem-3.1-2.1 [ 7s] [4/93] installing glibc-2.24-3.12 [ 7s] [5/93] installing libatomic-6.2.1-3.3 [ 7s] [6/93] installing libgcc-6.2.1-3.3 [ 8s] [7/93] installing bash-3.2.57-3.1 [ 8s] [8/93] installing binutils-2.27-3.16 [ 8s] [9/93] installing cpio-2.11-2.1 [ 8s] [10/93] installing diffutils-3.3-2.1 [ 8s] [11/93] installing findutils-4.3.8-3.23 [ 8s] [12/93] installing hostname-3.12-2.1 [ 8s] [13/93] installing libattr-2.4.47-1.1 [ 8s] [14/93] installing libbz2-1.0.6-2.42 [ 8s] [15/93] installing libcap-2.24-2.51 [ 8s] [16/93] installing libelf-0.153-2.14 [ 8s] [17/93] installing libext2fs-1.43.4-2.1 [ 8s] [18/93] installing libfreebl3-3.23-2.32 [ 8s] [19/93] installing libgfortran-6.2.1-3.3 [ 9s] [20/93] installing libgomp-6.2.1-3.3 [ 9s] [21/93] installing libitm-6.2.1-3.3 [ 9s] [22/93] installing libltdl-2.4.2-2.37 [ 9s] [23/93] installing liblua-5.1.4-2.6 [ 9s] [24/93] installing liblzma-5.2.2-2.39 [ 9s] [25/93] installing libpcre-8.39-2.1 [ 9s] [26/93] installing libpopt-1.16-2.6 [ 9s] [27/93] installing libsmack-1.3.0-2.43 [ 9s] [28/93] installing libsmartcols-2.30-3.1 [ 9s] [29/93] installing libsqlite-3.18.0-3.3 [ 9s] [30/93] installing libstdc++-6.2.1-3.3 [ 9s] [31/93] installing libuuid-2.30-3.1 [ 9s] [32/93] installing m4-1.4.17-2.1 [ 9s] [33/93] installing net-tools-2.0_20121208git-2.1 [ 9s] [34/93] installing nspr-4.12-2.6 [ 9s] [35/93] installing patch-2.7-2.6 [ 10s] [36/93] installing pkg-config-0.28-3.20 [ 10s] [37/93] installing sed-4.1c-2.1 [ 10s] [38/93] installing update-alternatives-1.18.15-2.1 [ 10s] [39/93] installing which-2.20-2.1 [ 10s] [40/93] installing zlib-1.2.11-2.48 [ 10s] [41/93] installing build-compare-2015.04.28-2.15 [ 10s] [42/93] installing libstdc++-devel-6.2.1-3.3 [ 10s] [43/93] installing qemu-linux-user-x86_64-cross-2.7.0-1.4.1 [ 12s] [44/93] installing terminfo-base-full-5.9-3.13 [ 12s] [45/93] installing cpp-6.2.1-3.3 [ 13s] [46/93] installing gcc-c++-6.2.1-3.3 [ 14s] [47/93] installing coreutils-6.9-3.1 [ 14s] [48/93] installing db4-4.8.30.NC-2.46 [ 14s] [49/93] installing gawk-3.1.5-3.1 [ 14s] [50/93] installing grep-2.5.2-3.1 [ 14s] [51/93] installing libacl-2.2.52-2.49 [ 14s] [52/93] installing libasm-0.153-2.14 [ 14s] [53/93] installing libblkid-2.30-3.1 [ 14s] [54/93] installing libcc1-6.2.1-3.3 [ 14s] [55/93] installing libubsan-6.2.1-3.3 [ 14s] [56/93] installing make-4.0-2.6 [ 14s] [57/93] installing nss-certs-3.23-2.32 [ 14s] [58/93] installing smack-1.3.0-2.43 [ 14s] [59/93] installing bzip2-1.0.6-2.42 [ 15s] [60/93] installing libmagic-5.31-3.18 [ 15s] [61/93] installing libxml2-2.9.4-2.29 [ 15s] [62/93] installing xz-5.2.2-2.39 [ 15s] [63/93] installing libdw-0.153-2.14 [ 15s] [64/93] installing linux-glibc-devel-3.10-2.49 [ 15s] [65/93] installing file-5.31-3.18 [ 15s] [66/93] installing glibc-locale-2.24-3.12 [ 15s] [67/93] installing libncurses-5.9-3.13 [ 16s] [68/93] installing libncurses6-5.9-3.13 [ 16s] [69/93] installing tar-1.17-3.1 [ 16s] [70/93] installing gzip-1.3.12-3.23 [ 16s] [71/93] installing libfdisk-2.30-3.1 [ 16s] [72/93] installing libmount-2.30-3.1 [ 16s] [73/93] installing pam-1.1.6-3.1 [ 16s] [74/93] installing perl-5.20.0-3.1 [ 17s] [75/93] installing tzdata-2017b-2.1 [ 17s] [76/93] installing elfutils-0.153-2.14 [ 17s] [77/93] installing gcc-6.2.1-3.3 [ 18s] [78/93] installing build-mkbaselibs-20120927-2.1 [ 18s] [79/93] installing glibc-devel-2.24-3.12 [ 18s] [80/93] installing qemu-accel-x86_64-armv7l-0.4-3.1 [ 23s] [81/93] installing autoconf-2.69-2.49 [ 23s] [82/93] installing less-466-2.1 [ 23s] [83/93] installing libreadline-5.2-2.42 [ 24s] [84/93] installing procps-ng-3.3.9-3.1 [ 24s] [85/93] installing automake-1.14.1-2.36 [ 24s] [86/93] installing build-20120927-2.1 [ 24s] [87/93] installing util-linux-2.30-3.1 [ 24s] [88/93] installing libtool-2.4.2-2.37 [ 24s] [89/93] installing util-linux-su-2.30-3.1 [ 24s] [90/93] installing nss-3.23-2.32 [ 24s] [91/93] installing libsoftokn3-3.23-2.32 [ 24s] [92/93] installing rpm-4.11.0.1-3.13 [ 25s] [93/93] installing rpm-build-4.11.0.1-3.13 [ 25s] removing nis flags from /var/cache/build/root_7/etc/nsswitch.conf... [ 25s] now finalizing build dir... [ 25s] build target is armv7l-tizen-linux [ 25s] ----------------------------------------------------------------- [ 25s] I have the following modifications for u-boot-tm1.spec: [ 25s] 5c5 [ 25s] < Release: 0 [ 25s] --- [ 25s] > Release: 2.5 [ 25s] ----------------------------------------------------------------- [ 25s] ----- building u-boot-tm1.spec (user abuild) [ 25s] ----------------------------------------------------------------- [ 25s] ----------------------------------------------------------------- [ 25s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:4.0:Unified/standard/996a3c59331a3b2b6fdd8f769f918636-u-boot-sprd' -ba /home/abuild/rpmbuild/SOURCES/u-boot-tm1.spec [ 25s] Building target platforms: armv7l-tizen-linux [ 25s] Building for target armv7l-tizen-linux [ 25s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XwUNOI [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + rm -rf u-boot-sprd-2010.12 [ 25s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/u-boot-sprd-2010.12.tar.bz2 [ 25s] + /bin/tar -xf - [ 28s] + STATUS=0 [ 28s] + '[' 0 -ne 0 ']' [ 28s] + cd u-boot-sprd-2010.12 [ 28s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 28s] + exit 0 [ 28s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ePYjSj [ 28s] + umask 022 [ 28s] + cd /home/abuild/rpmbuild/BUILD [ 28s] + cd u-boot-sprd-2010.12 [ 28s] ++ uname -m [ 28s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 28s] + LANG=C [ 28s] + export LANG [ 28s] + unset DISPLAY [ 28s] + 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' [ 28s] + export CFLAGS [ 28s] + 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 -std=gnu++11' [ 28s] + export CXXFLAGS [ 28s] + 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' [ 28s] + export FFLAGS [ 28s] + LDFLAGS= [ 28s] + export LDFLAGS [ 28s] + LD_AS_NEEDED=1 [ 28s] + export LD_AS_NEEDED [ 28s] + cp /home/abuild/rpmbuild/SOURCES/u-boot-tm1.manifest . [ 28s] + make distclean [ 29s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 29s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 29s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 29s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 29s] + make tizen_tm1_config [ 29s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 29s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 29s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 29s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 29s] Configuring for tizen_tm1 board... [ 29s] + 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 [ 29s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 29s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 29s] Generating include/autoconf.mk [ 29s] Generating include/autoconf.mk.dep [ 29s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 29s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 30s] gcc -DDO_DEPS_ONLY \ [ 30s] -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 30s] -o lib/asm-offsets.s lib/asm-offsets.c -c -S [ 30s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 30s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 30s] from lib/asm-offsets.c:18: [ 30s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 30s] #define CONFIG_MMC 1 [ 30s] [ 30s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 30s] #define CONFIG_MMC [ 30s] [ 30s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 30s] #define CONFIG_EFI_PARTITION 1 [ 30s] [ 30s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 30s] #define CONFIG_EFI_PARTITION [ 30s] [ 30s] Generating include/generated/generic-asm-offsets.h [ 30s] tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h [ 30s] 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 \ [ 30s] make -C $dir _depend ; done [ 30s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 31s] make[1]: Nothing to be done for '_depend'. [ 31s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 31s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 31s] make[1]: Nothing to be done for '_depend'. [ 31s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 31s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 31s] make[1]: Nothing to be done for '_depend'. [ 31s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 31s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] make[1]: Nothing to be done for '_depend'. [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] make[1]: Nothing to be done for '_depend'. [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 32s] make -C tools all [ 32s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 32s] 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 [ 32s] 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 [ 32s] 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 [ 32s] 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 [ 32s] In file included from default_image.c:31:0: [ 32s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:551:12: warning: inline function 'fit_parse_subimage' declared but never defined [ 32s] inline int fit_parse_subimage (const char *spec, ulong addr_curr, [ 32s] ^~~~~~~~~~~~~~~~~~ [ 32s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:549:12: warning: inline function 'fit_parse_conf' declared but never defined [ 32s] inline int fit_parse_conf (const char *spec, ulong addr_curr, [ 32s] ^~~~~~~~~~~~~~ [ 33s] 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 [ 33s] In file included from fit_image.c:31:0: [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:551:12: warning: inline function 'fit_parse_subimage' declared but never defined [ 33s] inline int fit_parse_subimage (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~~~~~ [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:549:12: warning: inline function 'fit_parse_conf' declared but never defined [ 33s] inline int fit_parse_conf (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~ [ 33s] 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 [ 33s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common/image.c:74:0: [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:551:12: warning: inline function 'fit_parse_subimage' declared but never defined [ 33s] inline int fit_parse_subimage (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~~~~~ [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:549:12: warning: inline function 'fit_parse_conf' declared but never defined [ 33s] inline int fit_parse_conf (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~ [ 33s] 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 [ 33s] In file included from imximage.c:32:0: [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:551:12: warning: inline function 'fit_parse_subimage' declared but never defined [ 33s] inline int fit_parse_subimage (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~~~~~ [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:549:12: warning: inline function 'fit_parse_conf' declared but never defined [ 33s] inline int fit_parse_conf (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~ [ 33s] 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 [ 33s] kwbimage.c: In function 'kwbimage_verify_header': [ 33s] kwbimage.c:351:10: warning: variable 'calc_exthdrcsum' set but not used [-Wunused-but-set-variable] [ 33s] uint8_t calc_exthdrcsum; [ 33s] ^~~~~~~~~~~~~~~ [ 33s] In file included from kwbimage.c:29:0: [ 33s] kwbimage.c: At top level: [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:551:12: warning: inline function 'fit_parse_subimage' declared but never defined [ 33s] inline int fit_parse_subimage (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~~~~~ [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:549:12: warning: inline function 'fit_parse_conf' declared but never defined [ 33s] inline int fit_parse_conf (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~ [ 33s] 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 [ 33s] 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 [ 33s] In file included from mkimage.c:25:0: [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:551:12: warning: inline function 'fit_parse_subimage' declared but never defined [ 33s] inline int fit_parse_subimage (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~~~~~ [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/image.h:549:12: warning: inline function 'fit_parse_conf' declared but never defined [ 33s] inline int fit_parse_conf (const char *spec, ulong addr_curr, [ 33s] ^~~~~~~~~~~~~~ [ 33s] 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 [ 33s] 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 [ 33s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/sha1.c:389:19: warning: '_sha1_src' defined but not used [-Wunused-const-variable=] [ 33s] static const char _sha1_src[] = "_sha1_src"; [ 33s] ^~~~~~~~~ [ 33s] 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 [ 33s] 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 [ 33s] 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 [ 33s] 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 [ 33s] 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 [ 33s] 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 [ 33s] /bin/true bmp_logo [ 33s] ./bmp_logo logos/denx.bmp >/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/bmp_logo.h [ 34s] /bin/true mkimage [ 34s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 34s] + 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 [ 34s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 34s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 34s] make -C tools/env all MTD_VERSION= [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 34s] ln -s ../../lib/crc32.c crc32.c [ 35s] 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 [ 35s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools/env' [ 35s] + export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 35s] + PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:tools [ 35s] ++ echo profile/mobile/platform/kernel/u-boot-tm1#4b1682c0ae40c138091e1f5067c04ec88f26c26e [ 35s] ++ sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/' [ 35s] + make -j4 EXTRAVERSION=-g4b1682c0a-TIZEN.org [ 35s] Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config' [ 35s] Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config' [ 35s] 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 \ [ 35s] make -C $dir _depend ; done [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 36s] make[1]: Nothing to be done for '_depend'. [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 36s] make[1]: Nothing to be done for '_depend'. [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 36s] make[1]: Nothing to be done for '_depend'. [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 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[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 -C examples/standalone all [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 36s] make -C examples/api all [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 36s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/tools' [ 36s] make -C arch/arm/cpu/armv7 start.o [ 36s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 36s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/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 \ [ 36s] -o hello_world.o hello_world.c -c [ 37s] make -C /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/ u-boot.lds [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 37s] from hello_world.c:24: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 37s] #define CONFIG_MMC 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 37s] #define CONFIG_MMC [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 37s] #define CONFIG_EFI_PARTITION 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 37s] #define CONFIG_EFI_PARTITION [ 37s] [ 37s] make[1]: Nothing to be done for 'all'. [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/api' [ 37s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/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 \ [ 37s] -o stubs.o stubs.c -c [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 37s] 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a \ [ 37s] -o start.o start.S -c [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/exports.h:6, [ 37s] from stubs.c:1: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 37s] #define CONFIG_MMC 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 37s] #define CONFIG_MMC [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 37s] #define CONFIG_EFI_PARTITION 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 37s] #define CONFIG_EFI_PARTITION [ 37s] [ 37s] ld -r -o libstubs.o stubs.o [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 37s] from start.S:33: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 37s] #define CONFIG_MMC 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 37s] #define CONFIG_MMC [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 37s] #define CONFIG_EFI_PARTITION 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 37s] #define CONFIG_EFI_PARTITION [ 37s] [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 37s] make[1]: Nothing to be done for 'u-boot.lds'. [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 37s] 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/6.2.1/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 [ 37s] ld -g -Ttext 0xc100000 \ [ 37s] -o hello_world -e hello_world hello_world.o libstubs.o \ [ 37s] -L/usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1 -lgcc [ 37s] objcopy -O srec hello_world hello_world.srec 2>/dev/null [ 37s] objcopy -O binary hello_world hello_world.bin 2>/dev/null [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/examples/standalone' [ 37s] make -C api/ [ 37s] make -C arch/arm/cpu/armv7/ [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 37s] make -C arch/arm/cpu/armv7/sc8830/ [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 37s] make -C arch/arm/lib/ [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 37s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 37s] -o cpu.o cpu.c -c [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 37s] from cpu.c:34: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 37s] #define CONFIG_MMC 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 37s] #define CONFIG_MMC [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 37s] #define CONFIG_EFI_PARTITION 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 37s] #define CONFIG_EFI_PARTITION [ 37s] [ 37s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 37s] -o syslib.o syslib.c -c [ 37s] rm -f libapi.o; ar rcs libapi.o [ 37s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 37s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 37s] from syslib.c:24: [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 37s] #define CONFIG_MMC 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 37s] #define CONFIG_MMC [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 37s] #define CONFIG_EFI_PARTITION 1 [ 37s] [ 37s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 37s] #define CONFIG_EFI_PARTITION [ 37s] [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/api' [ 37s] make -C common/ [ 38s] ld -r -o libarmv7.o cpu.o syslib.o [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7' [ 38s] make -C disk/ [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o part.o part.c -c [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o board.o board.c -c [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 38s] from part.c:24: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 38s] #define CONFIG_MMC 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 38s] #define CONFIG_MMC [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 38s] #define CONFIG_EFI_PARTITION 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 38s] #define CONFIG_EFI_PARTITION [ 38s] [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 38s] from board.c:41: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 38s] #define CONFIG_MMC 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 38s] #define CONFIG_MMC [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 38s] #define CONFIG_EFI_PARTITION 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 38s] #define CONFIG_EFI_PARTITION [ 38s] [ 38s] part.c: In function 'get_partition_info_with_partnum': [ 38s] part.c:397:7: warning: implicit declaration of function 'get_partition_info_efi_with_partnum' [-Wimplicit-function-declaration] [ 38s] if (get_partition_info_efi_with_partnum(dev_desc,part,info, total, sdidx, sdpart, sdinfo) == 0) { [ 38s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] part.c: In function 'get_all_partition_info': [ 38s] part.c:414:7: warning: implicit declaration of function 'get_all_partition_info_efi' [-Wimplicit-function-declaration] [ 38s] if (get_all_partition_info_efi(dev_desc,info,total_partition_num) == 0) { [ 38s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] In file included from board.c:41:0: [ 38s] board.c: In function 'board_init_r': [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:131:12: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 38s] ##args, SCI_GetTickCount()); \ [ 38s] ^ [ 38s] board.c:468:2: note: in expansion of macro 'performance_debug' [ 38s] performance_debug("1:"); [ 38s] ^~~~~~~~~~~~~~~~~ [ 38s] board.c:468:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 38s] performance_debug("1:"); [ 38s] ^ [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:130:10: note: in definition of macro 'performance_debug' [ 38s] printf(fmt "++%lu \n", \ [ 38s] ^~~ [ 38s] board.c:493:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 38s] performance_debug("2:"); [ 38s] ^ [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:130:10: note: in definition of macro 'performance_debug' [ 38s] printf(fmt "++%lu \n", \ [ 38s] ^~~ [ 38s] board.c:548:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 38s] performance_debug("3:"); [ 38s] ^ [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:130:10: note: in definition of macro 'performance_debug' [ 38s] printf(fmt "++%lu \n", \ [ 38s] ^~~ [ 38s] board.c:557:2: warning: implicit declaration of function 'mmc_legacy_init' [-Wimplicit-function-declaration] [ 38s] mmc_legacy_init(1); [ 38s] ^~~~~~~~~~~~~~~ [ 38s] In file included from board.c:41:0: [ 38s] board.c:574:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 38s] performance_debug("4:"); [ 38s] ^ [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:130:10: note: in definition of macro 'performance_debug' [ 38s] printf(fmt "++%lu \n", \ [ 38s] ^~~ [ 38s] board.c:683:5: warning: implicit declaration of function 'MMU_Init' [-Wimplicit-function-declaration] [ 38s] MMU_Init(CONFIG_MMU_TABLE_ADDR); [ 38s] ^~~~~~~~ [ 38s] board.c:699:13: warning: implicit declaration of function 'DCDC_Cal_ArmCore' [-Wimplicit-function-declaration] [ 38s] DCDC_Cal_ArmCore(); [ 38s] ^~~~~~~~~~~~~~~~ [ 38s] In file included from board.c:41:0: [ 38s] board.c:700:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 38s] performance_debug("6:"); [ 38s] ^ [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:130:10: note: in definition of macro 'performance_debug' [ 38s] printf(fmt "++%lu \n", \ [ 38s] ^~~ [ 38s] board.c:706:5: warning: implicit declaration of function 'board_keypad_init' [-Wimplicit-function-declaration] [ 38s] board_keypad_init(); [ 38s] ^~~~~~~~~~~~~~~~~ [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o part_dos.o part_dos.c -c [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o bootm.o bootm.c -c [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 38s] from part_dos.c:33: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 38s] #define CONFIG_MMC 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 38s] #define CONFIG_MMC [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 38s] #define CONFIG_EFI_PARTITION 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 38s] #define CONFIG_EFI_PARTITION [ 38s] [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 38s] from bootm.c:24: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 38s] #define CONFIG_MMC 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 38s] #define CONFIG_MMC [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 38s] #define CONFIG_EFI_PARTITION 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 38s] #define CONFIG_EFI_PARTITION [ 38s] [ 38s] bootm.c: In function 'bootm_linux_fdt': [ 38s] bootm.c:186:8: warning: unused variable 'of_size' [-Wunused-variable] [ 38s] ulong of_size = images->ft_len; [ 38s] ^~~~~~~ [ 38s] bootm.c:185:8: warning: unused variable 'bootmap_base' [-Wunused-variable] [ 38s] ulong bootmap_base = getenv_bootm_low(); [ 38s] ^~~~~~~~~~~~ [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o part_efi.o part_efi.c -c [ 38s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 38s] -o cache.o cache.c -c [ 38s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 38s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 38s] from part_efi.c:34: [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 38s] #define CONFIG_MMC 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 38s] #define CONFIG_MMC [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 38s] #define CONFIG_EFI_PARTITION 1 [ 38s] [ 38s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 38s] #define CONFIG_EFI_PARTITION [ 38s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from cache.c:26: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] part_efi.c:600:12: warning: 'format_gpt_valid' defined but not used [-Wunused-function] [ 39s] static int format_gpt_valid(block_dev_desc_t * dev_desc, unsigned long long lba, [ 39s] ^~~~~~~~~~~~~~~~ [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o cache-cp15.o cache-cp15.c -c [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from cache-cp15.c:24: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] ld -r -o libdisk.o part.o part_dos.o part_efi.o [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o interrupts.o interrupts.c -c [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/disk' [ 39s] make -C drivers/bios_emulator/ [ 39s] 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a \ [ 39s] -o mmu_asm.o mmu_asm.S -c [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from interrupts.c:38: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from mmu_asm.S:13: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o generic.o generic.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o reset.o reset.c -c [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from generic.c:25: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from reset.c:40: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o timer.o timer.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o eabi_compat.o eabi_compat.c -c [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from timer.c:39: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from eabi_compat.c:12: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] In file included from timer.c:44:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 39s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 39s] [ 39s] In file included from timer.c:39:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 39s] #define MAX(x, y) max(x, y) [ 39s] [ 39s] In file included from timer.c:44:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 39s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 39s] [ 39s] In file included from timer.c:39:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 39s] #define MIN(x, y) min(x, y) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 39s] from timer.c:46: [ 39s] /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 [ 39s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:31, [ 39s] from timer.c:46: [ 39s] /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 [ 39s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 39s] [ 39s] ld -r -o libarm.o board.o bootm.o cache.o cache-cp15.o interrupts.o reset.o [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o reset.o reset.c -c [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/lib' [ 39s] make -C drivers/block/ [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from reset.c:35: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] In file included from reset.c:37:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 39s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 39s] [ 39s] In file included from reset.c:35:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 39s] #define MAX(x, y) max(x, y) [ 39s] [ 39s] In file included from reset.c:37:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 39s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 39s] [ 39s] In file included from reset.c:35:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 39s] #define MIN(x, y) min(x, y) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 39s] from reset.c:38: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 39s] #define KPD_NUM (0x31 << 16) [ 39s] [ 39s] /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 [ 39s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 39s] from reset.c:38: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 39s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 39s] [ 39s] /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 [ 39s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 39s] from reset.c:40: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 39s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 39s] from reset.c:38: [ 39s] /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 [ 39s] #define ADC_BASE 0x40038300 //Aux ADC [ 39s] [ 39s] rm -f libatibiosemu.o; ar rcs libatibiosemu.o [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 39s] from reset.c:40: [ 39s] /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 [ 39s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 39s] from reset.c:40: [ 39s] /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 [ 39s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 39s] [ 39s] reset.c: In function 'reset_cpu': [ 39s] reset.c:46:2: warning: implicit declaration of function 'start_watchdog' [-Wimplicit-function-declaration] [ 39s] start_watchdog(5); [ 39s] ^~~~~~~~~~~~~~ [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o ldo.o ldo.c -c [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/bios_emulator' [ 39s] make -C drivers/clk/ [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from ldo.c:19: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 39s] from ldo.c:22: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 39s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 39s] [ 39s] In file included from ldo.c:19:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 39s] #define MAX(x, y) max(x, y) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 39s] from ldo.c:22: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 39s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 39s] [ 39s] In file included from ldo.c:19:0: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 39s] #define MIN(x, y) min(x, y) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 39s] from ldo.c:24: [ 39s] /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 [ 39s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 39s] from ldo.c:24: [ 39s] /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 [ 39s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 39s] [ 39s] ldo.c: In function '__LDO_IDX': [ 39s] ldo.c:139:17: warning: comparison between 'LDO_ID_E {aka enum }' and 'SLP_LDO_E {aka enum }' [-Wenum-compare] [ 39s] if(ldo_id == s_ldo_ctl_data[i].id) [ 39s] ^~ [ 39s] ldo.c: In function 'LDO_Init': [ 39s] ldo.c:157:9: warning: implicit declaration of function 'regulator_init' [-Wimplicit-function-declaration] [ 39s] return regulator_init(); [ 39s] ^~~~~~~~~~~~~~ [ 39s] ldo.c: In function 'LDO_GetLdoCtl': [ 39s] ldo.c:217:28: warning: comparison between 'SLP_LDO_E {aka enum }' and 'LDO_ID_E {aka enum }' [-Wenum-compare] [ 39s] if (s_ldo_ctl_data[i].id == ldo_id) [ 39s] ^~ [ 39s] ldo.c:219:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 39s] ctl = &s_ldo_ctl_data[i]; [ 39s] ^ [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o cmd_bdinfo.o cmd_bdinfo.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o mfp_sprd.o mfp_sprd.c -c [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from cmd_bdinfo.c:27: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 39s] from mfp_sprd.c:20: [ 39s] /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 [ 39s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 39s] from mfp_sprd.c:20: [ 39s] /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 [ 39s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from mfp_sprd.c:23: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o cmd_boot.o cmd_boot.c -c [ 39s] mfp_sprd.c: In function 'mfp_to_gpio': [ 39s] mfp_sprd.c:44:1: warning: control reaches end of non-void function [-Wreturn-type] [ 39s] } [ 39s] ^ [ 39s] At top level: [ 39s] mfp_sprd.c:111:22: warning: 'spi_cs1_gpio_cfg' defined but not used [-Wunused-variable] [ 39s] static unsigned long spi_cs1_gpio_cfg = MFP_CFG_X(SPI_CSN0, GPIO, DS1, F_PULL_NONE, S_PULL_DOWN, IO_NONE); [ 39s] ^~~~~~~~~~~~~~~~ [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o mmu.o mmu.c -c [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 39s] from cmd_boot.c:27: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/migrate.h:4, [ 39s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 39s] from mmu.c:2: [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:128:0: warning: "CONFIG_MMC" redefined [ 39s] #define CONFIG_MMC 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:107:0: note: this is the location of the previous definition [ 39s] #define CONFIG_MMC [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:136:0: warning: "CONFIG_EFI_PARTITION" redefined [ 39s] #define CONFIG_EFI_PARTITION 1 [ 39s] [ 39s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:115:0: note: this is the location of the previous definition [ 39s] #define CONFIG_EFI_PARTITION [ 39s] [ 39s] mmu.c: In function 'MMU_Init': [ 39s] mmu.c:55:22: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 39s] g_mmu_page_table = const_MMUTableStartAddr; [ 39s] ^ [ 39s] mmu.c:77:5: warning: implicit declaration of function 'MMU_InvalideICACHEALL' [-Wimplicit-function-declaration] [ 39s] MMU_InvalideICACHEALL();//steve.zhan add. [ 39s] ^~~~~~~~~~~~~~~~~~~~~ [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o cmd_bootm.o cmd_bootm.c -c [ 39s] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 39s] -o adc.o adc.c -c [ 39s] rm -f libblock.o; ar rcs libblock.o [ 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 cmd_bootm.c:28: [ 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] 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 adc.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] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/block' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o rtc-sprd.o rtc-sprd.c -c [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 40s] from adc.c:3: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adc_reg_v3.h:28, [ 40s] from adc.c:3: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 40s] from adc.c:5: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 40s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from adc.c:1:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 40s] #define MAX(x, y) max(x, y) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 40s] from adc.c:5: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 40s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from adc.c:1:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 40s] #define MIN(x, y) min(x, y) [ 40s] [ 40s] make -C drivers/dma/ [ 40s] rm -f libclk.o; ar rcs libclk.o [ 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 rtc-sprd.c:11: [ 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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 40s] from rtc-sprd.c:13: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:30, [ 40s] from rtc-sprd.c:13: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 40s] from rtc-sprd.c:14: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 40s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from rtc-sprd.c:11:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 40s] #define MAX(x, y) max(x, y) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 40s] from rtc-sprd.c:14: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 40s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from rtc-sprd.c:11:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 40s] #define MIN(x, y) min(x, y) [ 40s] [ 40s] rtc-sprd.c: In function 'sprd_clean_rtc': [ 40s] rtc-sprd.c:183:6: warning: unused variable 'err' [-Wunused-variable] [ 40s] int err; [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_console.o cmd_console.c -c [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/dma' [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/clk' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o sec_boot.o sec_boot.c -c [ 40s] make -C drivers/fpga/ [ 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 cmd_console.c:27: [ 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] 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 sec_boot.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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_echo.o cmd_echo.c -c [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 40s] from sec_boot.c:3: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 40s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from sec_boot.c:1:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 40s] #define MAX(x, y) max(x, y) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 40s] from sec_boot.c:3: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 40s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from sec_boot.c:1:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 40s] #define MIN(x, y) min(x, y) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 40s] from sec_boot.c:3: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 40s] #define KPD_NUM (0x31 << 16) [ 40s] [ 40s] /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 [ 40s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 40s] from sec_boot.c:3: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 40s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 40s] [ 40s] /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 [ 40s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 40s] from sec_boot.c:4: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 40s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 40s] from sec_boot.c:3: [ 40s] /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 [ 40s] #define ADC_BASE 0x40038300 //Aux ADC [ 40s] [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 40s] from sec_boot.c:4: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 40s] from sec_boot.c:4: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 40s] [ 40s] In file included from sec_boot.c:5:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 40s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 40s] [ 40s] /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 [ 40s] #define VLR_INFO_OFF (512) [ 40s] [ 40s] sec_boot.c: In function 'harshVerify': [ 40s] sec_boot.c:298:22: warning: passing argument 2 of 'SHA1Result_32' from incompatible pointer type [-Wincompatible-pointer-types] [ 40s] SHA1Result_32(&sha, soft_hash_data); [ 40s] ^~~~~~~~~~~~~~ [ 40s] sec_boot.c:205:12: note: expected 'unsigned char *' but argument is of type 'uint32_t * {aka unsigned int *}' [ 40s] PUBLIC int SHA1Result_32(SHA1Context_32 * context, unsigned char *Message_Digest) [ 40s] ^~~~~~~~~~~~~ [ 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 cmd_echo.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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_ext4.o cmd_ext4.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o glb.o glb.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 cmd_ext4.c:43: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_fat.o cmd_fat.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 glb.c:16: [ 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] rm -f libdma.o; ar rcs libdma.o [ 40s] glb.c: In function 'sci_glb_write': [ 40s] glb.c:40:23: warning: unused variable 'hw_flags' [-Wunused-variable] [ 40s] unsigned long flags, hw_flags; [ 40s] ^~~~~~~~ [ 40s] glb.c:40:16: warning: unused variable 'flags' [-Wunused-variable] [ 40s] unsigned long flags, hw_flags; [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o adi.o adi.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 cmd_fat.c:27: [ 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/drivers/dma' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_fdt.o cmd_fdt.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 adi.c:20: [ 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] rm -f libfpga.o; ar rcs libfpga.o [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 40s] from adi.c:23: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 40s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from adi.c:20:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 40s] #define MAX(x, y) max(x, y) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 40s] from adi.c:23: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 40s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from adi.c:20:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 40s] #define MIN(x, y) min(x, y) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o gpio.o gpio.c -c [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 40s] from adi.c:26: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 40s] from adi.c:26: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 40s] [ 40s] adi.c: In function '__adi_read': [ 40s] adi.c:172:63: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 40s] printf("[0x%s]: ADI READ timeout!!! reg = 0x%x, value = 0x%x\n", __func__, regPddr, val); [ 40s] ^ [ 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 cmd_fdt.c:27: [ 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 -C drivers/gpio/ [ 40s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/fpga' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_help.o cmd_help.c -c [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 40s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 40s] [ 40s] /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 [ 40s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 40s] [ 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/ubi_uboot.h:17, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:103:28: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration [ 40s] void (*dbg_show)(struct seq_file *s, [ 40s] ^~~~~~~~ [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 40s] from gpio.c:16: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 40s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 40s] #define MAX(x, y) max(x, y) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_hal_internal.h:23:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:8, [ 40s] from gpio.c:16: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 40s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 40s] #define MIN(x, y) min(x, y) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 40s] from gpio.c:16: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 40s] #define KPD_NUM (0x31 << 16) [ 40s] [ 40s] /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 [ 40s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 40s] [ 40s] In file included from gpio.c:16:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 40s] /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] [ 40s] __raw_bits_and(value, reg_addr); [ 40s] ^~~~~~~~~~~~~~ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 40s] /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] [ 40s] __raw_bits_or(value, reg_addr); [ 40s] ^~~~~~~~~~~~~ [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 40s] from gpio.c:17: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h: At top level: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 40s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 40s] from gpio.c:15: [ 40s] /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 [ 40s] #define ADC_BASE 0x40038300 //Aux ADC [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 40s] from gpio.c:17: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 40s] from gpio.c:17: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 40s] [ 40s] In file included from gpio.c:18:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:32:0: warning: "ANA_GPIO_BASE" redefined [ 40s] #define ANA_GPIO_BASE SPRD_ANA_GPIO_PHYS [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 40s] from gpio.c:15: [ 40s] /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 [ 40s] #define ANA_GPIO_BASE 0x40038480 [ 40s] [ 40s] In file included from gpio.c:18:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:33:0: warning: "GPIO_BASE" redefined [ 40s] #define GPIO_BASE SPRD_GPIO_PHYS [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 40s] from gpio.c:15: [ 40s] /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 [ 40s] #define GPIO_BASE CTL_BASE_GPIO [ 40s] [ 40s] gpio.c:22:0: warning: "KERN_WARNING" redefined [ 40s] #define KERN_WARNING "" [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:145:0: note: this is the location of the previous definition [ 40s] #define KERN_WARNING [ 40s] [ 40s] gpio.c:23:0: warning: "WARN" redefined [ 40s] #define WARN(nmu, fmt...) printf(fmt) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:275:0: note: this is the location of the previous definition [ 40s] #define WARN(condition, format...) ({ \ [ 40s] [ 40s] gpio.c:24:0: warning: "WARN_ON" redefined [ 40s] #define WARN_ON(num) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:266:0: note: this is the location of the previous definition [ 40s] #define WARN_ON(condition) ({ \ [ 40s] [ 40s] gpio.c:25:0: warning: "BUG_ON" redefined [ 40s] #define BUG_ON(__cond__) if(__cond__) printf("%s line: %d bug on\n", __FUNCTION__, __LINE__) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:148:0: note: this is the location of the previous definition [ 40s] #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) [ 40s] [ 40s] gpio.c:26:0: warning: "pr_err" redefined [ 40s] #define pr_err(fmt...) printf(fmt) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:241:0: note: this is the location of the previous definition [ 40s] #define pr_err(fmt, ...) \ [ 40s] [ 40s] gpio.c:27:0: warning: "ARRAY_SIZE" redefined [ 40s] #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:753:0: note: this is the location of the previous definition [ 40s] #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) [ 40s] [ 40s] gpio.c:28:0: warning: "pr_debug" redefined [ 40s] #define pr_debug(fmt...) printf(fmt) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:5:0, [ 40s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45, [ 40s] from gpio.c:15: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 40s] #define pr_debug(fmt, ...) [ 40s] [ 40s] gpio.c:36:0: warning: "GPIO_DBG" redefined [ 40s] #define GPIO_DBG(fmt...) [ 40s] [ 40s] In file included from gpio.c:16:0: [ 40s] /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 [ 40s] #define GPIO_DBG(fmt...) printf(fmt) [ 40s] [ 40s] gpio.c:60:0: warning: "GPIO_INVALID_ID" redefined [ 40s] #define GPIO_INVALID_ID 0xffff [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 40s] from gpio.c:16: [ 40s] /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 [ 40s] #define GPIO_INVALID_ID 0x0FF [ 40s] [ 40s] gpio.c: In function '__gpio_set_dir': [ 40s] gpio.c:101:16: warning: unused variable 'flags' [-Wunused-variable] [ 40s] unsigned long flags; [ 40s] ^~~~~ [ 40s] gpio.c: In function '__gpio_set_pin_data': [ 40s] gpio.c:265:16: warning: unused variable 'flags' [-Wunused-variable] [ 40s] unsigned long flags; [ 40s] ^~~~~ [ 40s] gpio.c: In function '__gpio_set_data_mask': [ 40s] gpio.c:294:16: warning: unused variable 'flags' [-Wunused-variable] [ 40s] unsigned long flags; [ 40s] ^~~~~ [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 40s] from gpio.c:15: [ 40s] At top level: [ 40s] /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] [ 40s] static bool gpio_is_valid(int number) [ 40s] ^~~~~~~~~~~~~ [ 40s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 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 cmd_help.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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o gpio_phy.o gpio_phy.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_itest.o cmd_itest.c -c [ 40s] make -C drivers/hwmon/ [ 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 cmd_itest.c:31: [ 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] 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 gpio_phy.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] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 40s] from gpio_phy.c:3: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 40s] from gpio_phy.c:3: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 40s] from gpio_phy.c:4: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 40s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from gpio_phy.c:1:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 40s] #define MAX(x, y) max(x, y) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_reg_v0.h:17:0, [ 40s] from gpio_phy.c:4: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 40s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 40s] [ 40s] In file included from gpio_phy.c:1:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 40s] #define MIN(x, y) min(x, y) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h:9:0, [ 40s] from gpio_phy.c:5: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 40s] #define KPD_NUM (0x31 << 16) [ 40s] [ 40s] /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 [ 40s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 40s] [ 40s] In file included from gpio_phy.c:5:0: [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function '__get_gpio_die': [ 40s] /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] [ 40s] WARN(1, "wrong gpio %d\r\n", gpio); [ 40s] ^~~~ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_and': [ 40s] /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] [ 40s] __raw_bits_and(value, reg_addr); [ 40s] ^~~~~~~~~~~~~~ [ 40s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio_phy.h: In function 'gpio_reg_or': [ 40s] /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] [ 40s] __raw_bits_or(value, reg_addr); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o clock.o clock.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 40s] -o cmd_load.o cmd_load.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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 40s] from clock.c:15: [ 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] 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 cmd_load.c:27: [ 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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 40s] from clock.c:25: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 40s] [ 40s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 40s] from clock.c:25: [ 40s] /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 [ 40s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 40s] [ 41s] clock.c: In function 'clk_set_rate': [ 41s] clock.c:138:16: warning: unused variable 'flags' [-Wunused-variable] [ 41s] unsigned long flags; [ 41s] ^~~~~ [ 41s] clock.c: In function 'clk_set_parent': [ 41s] clock.c:171:16: warning: unused variable 'flags' [-Wunused-variable] [ 41s] unsigned long flags; [ 41s] ^~~~~ [ 41s] clock.c: In function 'sci_clk_enable': [ 41s] clock.c:222:4: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 41s] sci_glb_set(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 41s] ^~~~~~~~~~~ [ 41s] clock.c:224:4: warning: implicit declaration of function 'sci_glb_clr' [-Wimplicit-function-declaration] [ 41s] sci_glb_clr(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 41s] ^~~~~~~~~~~ [ 41s] clock.c: In function 'sci_clk_is_enable': [ 41s] clock.c:240:10: warning: implicit declaration of function 'sci_glb_read' [-Wimplicit-function-declaration] [ 41s] ! !sci_glb_read(c->regs->enb.reg & ~1, c->regs->enb.mask); [ 41s] ^~~~~~~~~~~~ [ 41s] clock.c: In function 'sci_clk_set_rate': [ 41s] clock.c:258:2: warning: implicit declaration of function 'sci_glb_write' [-Wimplicit-function-declaration] [ 41s] sci_glb_write(c->regs->div.reg, div << div_shift, c->regs->div.mask); [ 41s] ^~~~~~~~~~~~~ [ 41s] clock.c: In function 'sci_clk_register': [ 41s] clock.c:444:2: warning: implicit declaration of function 'clkdev_add' [-Wimplicit-function-declaration] [ 41s] clkdev_add(cl); [ 41s] ^~~~~~~~~~ [ 41s] clock.c: At top level: [ 41s] clock.c:480:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 41s] .notifier_call = __clk_cpufreq_notifier [ 41s] ^~~~~~~~~~~~~~~~~~~~~~ [ 41s] clock.c:480:19: note: (near initialization for '__clk_cpufreq_notifier_block.notifier_call') [ 41s] clock.c:518:1: warning: data definition has no type or storage class [ 41s] arch_initcall(sci_clock_init); [ 41s] ^~~~~~~~~~~~~ [ 41s] clock.c:518:1: warning: type defaults to 'int' in declaration of 'arch_initcall' [-Wimplicit-int] [ 41s] clock.c:518:1: warning: parameter names (without types) in function declaration [ 41s] clock.c:519:1: warning: data definition has no type or storage class [ 41s] late_initcall_sync(sci_clock_dump); [ 41s] ^~~~~~~~~~~~~~~~~~ [ 41s] clock.c:519:1: warning: type defaults to 'int' in declaration of 'late_initcall_sync' [-Wimplicit-int] [ 41s] clock.c:519:1: warning: parameter names (without types) in function declaration [ 41s] clock.c:479:30: warning: '__clk_cpufreq_notifier_block' defined but not used [-Wunused-variable] [ 41s] static struct notifier_block __clk_cpufreq_notifier_block = { [ 41s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 41s] clock.c:452:19: warning: 'sci_clock_dump' defined but not used [-Wunused-function] [ 41s] static int __init sci_clock_dump(void) [ 41s] ^~~~~~~~~~~~~~ [ 41s] rm -f libgpio.o; ar rcs libgpio.o [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o clock_test.o clock_test.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_mem.o cmd_mem.c -c [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/gpio' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_misc.o cmd_misc.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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 41s] from clock_test.c:1: [ 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 cmd_mem.c:30: [ 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] cmd_mem.c: In function 'do_mem_loop': [ 41s] cmd_mem.c:477:25: warning: variable 'junk' set but not used [-Wunused-but-set-variable] [ 41s] ulong addr, length, i, junk; [ 41s] ^~~~ [ 41s] clock_test.c: In function 'get_clock_rate': [ 41s] clock_test.c:13:7: warning: implicit declaration of function 'clk_get' [-Wimplicit-function-declaration] [ 41s] clk =clk_get(0, clk_name); [ 41s] ^~~~~~~ [ 41s] clock_test.c:13:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 41s] clk =clk_get(0, clk_name); [ 41s] ^ [ 41s] clock_test.c:17:12: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 41s] printf("%s can't find!\r\n"); [ 41s] ^ [ 41s] clock_test.c: At top level: [ 41s] clock_test.c:33:46: warning: type defaults to 'int' in declaration of 'clk_name' [-Wimplicit-int] [ 41s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 41s] ^~~~~~~~ [ 41s] clock_test.c: In function 'change_clock_rate': [ 41s] clock_test.c:37:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 41s] clk =clk_get(0, clk_name); [ 41s] ^ [ 41s] clock_test.c:41:12: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [ 41s] printf("%s can't find!\r\n"); [ 41s] ^ [ 41s] clock_test.c:60:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'const int *' [-Wformat=] [ 41s] printf("%s ==> %d\r\n", clk_name, rate); [ 41s] ^ [ 41s] clock_test.c: At top level: [ 41s] clock_test.c:64:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] void clock_test() [ 41s] ^~~~~~~~~~ [ 41s] clock_test.c: In function 'clock_test': [ 41s] clock_test.c:68:2: warning: implicit declaration of function 'sci_clock_init' [-Wimplicit-function-declaration] [ 41s] sci_clock_init(); [ 41s] ^~~~~~~~~~~~~~ [ 41s] clock_test.c:70:41: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'const u32 * {aka const unsigned int *}' [-Wformat=] [ 41s] printf("clock_test, __clkinit_begin:%08X (%08X), __clkinit_end:%08X (%08X)\r\n\r\n", [ 41s] ^ [ 41s] clock_test.c:70:68: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'const u32 * {aka const unsigned int *}' [-Wformat=] [ 41s] printf("clock_test, __clkinit_begin:%08X (%08X), __clkinit_end:%08X (%08X)\r\n\r\n", [ 41s] ^ [ 41s] clock_test.c:77:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 41s] clk =clk_get(0, cl->con_id); [ 41s] ^ [ 41s] clock_test.c:82:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 41s] printf("1.clk: %s, rate: %d\r\n", cl->con_id, clk->ops->get_rate(clk)); [ 41s] ^ [ 41s] clock_test.c:86:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 41s] printf("2.clk: %s, rate: %d\r\n", cl->con_id, clk->rate); [ 41s] ^ [ 41s] clock_test.c:103:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [-Wincompatible-pointer-types] [ 41s] change_clock_rate("clk_emmc", 192000000); [ 41s] ^~~~~~~~~~ [ 41s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 41s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] clock_test.c:107:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [-Wincompatible-pointer-types] [ 41s] change_clock_rate("clk_apb", 100000000); [ 41s] ^~~~~~~~~ [ 41s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 41s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] clock_test.c:112:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [-Wincompatible-pointer-types] [ 41s] change_clock_rate("clk_emc", 100000000); [ 41s] ^~~~~~~~~ [ 41s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 41s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] clock_test.c:116:20: warning: passing argument 1 of 'change_clock_rate' from incompatible pointer type [-Wincompatible-pointer-types] [ 41s] change_clock_rate("clk_dbg", 200000000); [ 41s] ^~~~~~~~~ [ 41s] clock_test.c:33:21: note: expected 'const int *' but argument is of type 'char *' [ 41s] static unsigned int change_clock_rate(const *clk_name, unsigned int rate) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o check_reboot.o check_reboot.c -c [ 41s] rm -f libhwmon.o; ar rcs libhwmon.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 cmd_misc.c:27: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_mmc.o cmd_mmc.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o eic.o eic.c -c [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/hwmon' [ 41s] make -C drivers/i2c/ [ 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/asm/arch/migrate.h:4, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 41s] from check_reboot.c:1: [ 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/asm/arch/chip_drv_config_extern.h:34:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 41s] from check_reboot.c:2: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 41s] #define KPD_NUM (0x31 << 16) [ 41s] [ 41s] /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 [ 41s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 41s] from check_reboot.c:2: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 41s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 41s] [ 41s] /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 [ 41s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 41s] from check_reboot.c:4: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 41s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 41s] from check_reboot.c:2: [ 41s] /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 [ 41s] #define ADC_BASE 0x40038300 //Aux ADC [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 41s] from check_reboot.c:4: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 41s] from check_reboot.c:4: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 41s] [ 41s] In file included from check_reboot.c:6:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 41s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 41s] from check_reboot.c:2: [ 41s] /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 [ 41s] #define RTC_BASE 0x40038080 [ 41s] [ 41s] In file included from check_reboot.c:7:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 41s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 41s] from check_reboot.c:4: [ 41s] /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 [ 41s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 41s] [ 41s] check_reboot.c: In function 'check_reboot_mode': [ 41s] check_reboot.c:47:11: warning: unused variable 'val' [-Wunused-variable] [ 41s] unsigned val, rst_mode= 0; [ 41s] ^~~ [ 41s] check_reboot.c: At top level: [ 41s] check_reboot.c:123:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] int get_mode_from_gpio() [ 41s] ^~~~~~~~~~~~~~~~~~ [ 41s] check_reboot.c: In function 'get_mode_from_gpio': [ 41s] check_reboot.c:129:45: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 41s] ret = (hw_rst_mode & HW_PBINT2_STATUS) && !charger_connected(); [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] check_reboot.c: In function 'reboot_devices': [ 41s] check_reboot.c:150:2: warning: implicit declaration of function 'reset_cpu' [-Wimplicit-function-declaration] [ 41s] reset_cpu(0); [ 41s] ^~~~~~~~~ [ 41s] check_reboot.c: In function 'power_down_devices': [ 41s] check_reboot.c:154:2: warning: implicit declaration of function 'power_down_cpu' [-Wimplicit-function-declaration] [ 41s] power_down_cpu(0); [ 41s] ^~~~~~~~~~~~~~ [ 41s] check_reboot.c: In function 'power_button_pressed': [ 41s] check_reboot.c:167:2: warning: implicit declaration of function 'sci_glb_set' [-Wimplicit-function-declaration] [ 41s] sci_glb_set(REG_AON_APB_APB_EB0,BIT_AON_GPIO_EB | BIT_EIC_EB); [ 41s] ^~~~~~~~~~~ [ 41s] check_reboot.c:179:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 41s] udelay(3000); [ 41s] ^~~~~~ [ 41s] check_reboot.c: In function 'charger_connected': [ 41s] check_reboot.c:192:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 41s] sprd_eic_request(EIC_CHG_INT); [ 41s] ^~~~~~~~~~~~~~~~ [ 41s] check_reboot.c:201:11: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 41s] return !!sprd_eic_get(EIC_CHG_INT); [ 41s] ^~~~~~~~~~~~ [ 41s] check_reboot.c: At top level: [ 41s] check_reboot.c:43:19: warning: inline function 'is_hw_smpl_enable' declared but never defined [ 41s] extern inline int is_hw_smpl_enable(void); [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] check_reboot.c:41:19: warning: inline function 'is_7s_reset' declared but never defined [ 41s] extern inline int is_7s_reset(void); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_nvedit.o cmd_nvedit.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 cmd_mmc.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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:77:0, [ 41s] from eic.c:15: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST ( BIT(4) ) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:71:0, [ 41s] from eic.c:15: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST ( BIT(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/asm/arch/migrate.h:4, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 41s] from eic.c:16: [ 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 eic.c:20:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 41s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:34:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 41s] from eic.c:15: [ 41s] /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 [ 41s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 41s] [ 41s] eic.c: In function '__get_eic_base_info': [ 41s] eic.c:81:24: warning: unused variable 'section_table' [-Wunused-variable] [ 41s] struct gpio_section *section_table; [ 41s] ^~~~~~~~~~~~~ [ 41s] eic.c:80:6: warning: unused variable 'table_size' [-Wunused-variable] [ 41s] u32 table_size = 0; [ 41s] ^~~~~~~~~~ [ 41s] eic.c:79:6: warning: unused variable 'i' [-Wunused-variable] [ 41s] int i = 0; [ 41s] ^ [ 41s] eic.c: In function '__eic_get_pin_data': [ 41s] eic.c:108:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 41s] u32 offset_addr = 0; [ 41s] ^~~~~~~~~~~ [ 41s] eic.c: In function '__eic_get_data_mask': [ 41s] eic.c:129:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 41s] u32 offset_addr = 0; [ 41s] ^~~~~~~~~~~ [ 41s] eic.c: In function '__eic_set_data_mask': [ 41s] eic.c:153:6: warning: unused variable 'offset_addr' [-Wunused-variable] [ 41s] u32 offset_addr = 0; [ 41s] ^~~~~~~~~~~ [ 41s] eic.c: In function 'sprd_eic_get': [ 41s] eic.c:23:27: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 41s] #define WARN(nmu, fmt...) printf(fmt) [ 41s] ^ [ 41s] eic.c:200:3: note: in expansion of macro 'WARN' [ 41s] WARN(1, "GPIO_%d data mask hasn't been opened!\n", eic_id); [ 41s] ^~~~ [ 41s] eic.c: At top level: [ 41s] eic.c:244:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] int get_volumn_down_status2() [ 41s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 41s] eic.c: In function 'get_volumn_down_status2': [ 41s] eic.c:250:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 41s] udelay(3000); [ 41s] ^~~~~~ [ 41s] At top level: [ 41s] eic.c:226:13: warning: 'sprd_eic_free' defined but not used [-Wunused-function] [ 41s] static void sprd_eic_free(unsigned offset) [ 41s] ^~~~~~~~~~~~~ [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/i2c' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o vibrator_sc2723.o vibrator_sc2723.c -c [ 41s] make -C drivers/input/ [ 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 cmd_nvedit.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] cmd_nvedit.c: In function 'do_env_edit': [ 41s] cmd_nvedit.c:427:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] [ 41s] int len; [ 41s] ^~~ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from vibrator_sc2723.c:1: [ 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/asm/arch/chip_drv_config_extern.h:34:0, [ 41s] from vibrator_sc2723.c:3: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 41s] #define KPD_NUM (0x31 << 16) [ 41s] [ 41s] /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 [ 41s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from vibrator_sc2723.c:3: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 41s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 41s] [ 41s] /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 [ 41s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 41s] from vibrator_sc2723.c:6: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 41s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from vibrator_sc2723.c:3: [ 41s] /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 [ 41s] #define ADC_BASE 0x40038300 //Aux ADC [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 41s] from vibrator_sc2723.c:6: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 41s] from vibrator_sc2723.c:6: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 41s] [ 41s] In file included from vibrator_sc2723.c:6:0: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 41s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:19, [ 41s] from vibrator_sc2723.c:6: [ 41s] /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 [ 41s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o otp-helper.o otp-helper.c -c [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_pcmcia.o cmd_pcmcia.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 otp-helper.c:21: [ 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] otp-helper.c: In function 'efuse_prog': [ 41s] otp-helper.c:44:9: warning: implicit declaration of function '__ddie_efuse_prog' [-Wimplicit-function-declaration] [ 41s] return __ddie_efuse_prog(blk_index,val); [ 41s] ^~~~~~~~~~~~~~~~~ [ 41s] otp-helper.c: In function 'sci_efuse_calibration_get': [ 41s] otp-helper.c:56:21: warning: implicit declaration of function '__adie_efuse_read' [-Wimplicit-function-declaration] [ 41s] adc_temp = (__adie_efuse_read(0) & (1 << 7)); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o efuse.o efuse.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 cmd_pcmcia.c:56: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_source.o cmd_source.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 efuse.c:43: [ 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/asm/arch/sprd_reg.h:58:0, [ 41s] from efuse.c:48: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 41s] from efuse.c:48: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o ana_efuse.o ana_efuse.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 cmd_source.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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_version.o cmd_version.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 ana_efuse.c:20: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o sprd_i2c.o sprd_i2c.c -c [ 41s] rm -f libinput.o; ar rcs libinput.o [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 41s] from ana_efuse.c:25: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 41s] from ana_efuse.c:25: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 41s] [ 41s] ana_efuse.c:85:13: warning: 'adie_efuse_reset' defined but not used [-Wunused-function] [ 41s] static void adie_efuse_reset(void) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o watchdog.o watchdog.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 cmd_version.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] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/input' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o cmd_ximg.o cmd_ximg.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/asm/arch/migrate.h:4, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 41s] from sprd_i2c.c:25: [ 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/asm/arch/chip_drv_config.h:34:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 41s] #define KPD_NUM (0x31 << 16) [ 41s] [ 41s] /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 [ 41s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 41s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 41s] [ 41s] /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 [ 41s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 41s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /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 [ 41s] #define ADC_BASE 0x40038300 //Aux ADC [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/adi_reg_v3.h:18, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /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 [ 41s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:26:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 41s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 41s] [ 41s] /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 [ 41s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 41s] [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 41s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 41s] [ 41s] /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 [ 41s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 41s] [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 41s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 41s] [ 41s] /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 [ 41s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/rtc_reg_v3.h:34:0: warning: "RTC_BASE" redefined [ 41s] #define RTC_BASE SPRD_ANA_RTC_PHYS [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /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 [ 41s] #define RTC_BASE 0x40038080 [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 41s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 41s] from sprd_i2c.c:30: [ 41s] /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 [ 41s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o i2c_hal.o i2c_hal.c -c [ 41s] sprd_i2c.c:283:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 41s] PUBLIC uint32 I2C_GetSCLclk() [ 41s] ^~~~~~~~~~~~~ [ 41s] sprd_i2c.c: In function 'I2C_WriteCmdArr': [ 41s] sprd_i2c.c:470:21: warning: unused variable 'curtime' [-Wunused-variable] [ 41s] volatile uint32 curtime = 0; [ 41s] ^~~~~~~ [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 41s] from watchdog.c:1: [ 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/asm/arch/chip_drv_config_extern.h:34:0, [ 41s] from watchdog.c:3: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 41s] #define KPD_NUM (0x31 << 16) [ 41s] [ 41s] /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 [ 41s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 41s] [ 41s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 41s] from watchdog.c:3: [ 41s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 41s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 41s] [ 41s] /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 [ 41s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 41s] [ 41s] watchdog.c: In function 'start_watchdog': [ 41s] watchdog.c:9:2: warning: implicit declaration of function 'WDG_ClockOn' [-Wimplicit-function-declaration] [ 41s] WDG_ClockOn(); [ 41s] ^~~~~~~~~~~ [ 41s] watchdog.c:10:5: warning: implicit declaration of function 'WDG_ResetMCU' [-Wimplicit-function-declaration] [ 41s] WDG_ResetMCU(); [ 41s] ^~~~~~~~~~~~ [ 41s] watchdog.c: In function 'stop_watchdog': [ 41s] watchdog.c:15:5: warning: implicit declaration of function 'WDG_TimerStop' [-Wimplicit-function-declaration] [ 41s] WDG_TimerStop(); [ 41s] ^~~~~~~~~~~~~ [ 41s] watchdog.c: In function 'init_watchdog': [ 41s] watchdog.c:21:5: warning: implicit declaration of function 'WDG_TimerInit' [-Wimplicit-function-declaration] [ 41s] WDG_TimerInit(); [ 41s] ^~~~~~~~~~~~~ [ 41s] watchdog.c: In function 'load_watchdog': [ 41s] watchdog.c:30:5: warning: implicit declaration of function 'WDG_TimerLoad' [-Wimplicit-function-declaration] [ 41s] WDG_TimerLoad(time_ms); [ 41s] ^~~~~~~~~~~~~ [ 41s] watchdog.c: In function 'hw_watchdog_rst_pending': [ 41s] watchdog.c:41:9: warning: implicit declaration of function 'WDG_PHY_RST_INT_ON' [-Wimplicit-function-declaration] [ 41s] return WDG_PHY_RST_INT_ON(); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o watchdog_phy_v3.o watchdog_phy_v3.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 cmd_ximg.c:31: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 41s] -o sc8830_i2c_cfg.o sc8830_i2c_cfg.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/asm/arch/migrate.h:4, [ 41s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 41s] from i2c_hal.c:19: [ 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] i2c_hal.c: In function 'I2C_Bus_Init': [ 41s] i2c_hal.c:120:15: warning: statement with no effect [-Wunused-value] [ 41s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Init"); [ 41s] ^ [ 41s] i2c_hal.c: In function 'I2C_Bus_Exit': [ 41s] i2c_hal.c:154:51: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 41s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 41s] ^ [ 41s] i2c_hal.c:154:15: warning: statement with no effect [-Wunused-value] [ 41s] IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val); [ 41s] ^ [ 41s] i2c_hal.c: In function 'I2C_HAL_Open': [ 41s] i2c_hal.c:222:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 41s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 41s] ^ [ 41s] i2c_hal.c:222:67: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 41s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 41s] ^ [ 41s] i2c_hal.c:222:67: warning: statement with no effect [-Wunused-value] [ 41s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 41s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 41s] i2c_hal.c: In function 'I2C_HAL_Close': [ 41s] i2c_hal.c:268:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 41s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 41s] ^ [ 41s] i2c_hal.c:268:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 41s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 41s] ^ [ 41s] i2c_hal.c:268:68: warning: statement with no effect [-Wunused-value] [ 41s] IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference); [ 41s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o command.o command.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o watchdog_hal.o watchdog_hal.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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/os_api.h:12, [ 42s] from watchdog_phy_v3.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/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 watchdog_phy_v3.c:20: [ 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 watchdog_phy_v3.c:20: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 42s] from watchdog_phy_v3.c:23: [ 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 watchdog_phy_v3.c:20: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 42s] from watchdog_phy_v3.c:23: [ 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/watchdog_reg_v3.h:31, [ 42s] from watchdog_phy_v3.c:23: [ 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 watchdog_phy_v3.c:23:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 42s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 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 watchdog_phy_v3.c:20: [ 42s] /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 [ 42s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 42s] [ 42s] watchdog_phy_v3.c:40:67: warning: backslash and newline separated by space [ 42s] ANA_REG_SET( WDG_LOAD_LOW , (uint16)((value) & 0xffff) );\ [ 42s] [ 42s] watchdog_phy_v3.c: In function 'WDG_PHY_CONFIG': [ 42s] watchdog_phy_v3.c:54:20: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 42s] #define WDG_TRACE printf [ 42s] ^ [ 42s] watchdog_phy_v3.c:103:5: note: in expansion of macro 'WDG_TRACE' [ 42s] WDG_TRACE ("Watch Dog Trace: Watch Dog Control 0x%8.8x", ANA_REG_GET (WDG_CTRL)); [ 42s] ^~~~~~~~~ [ 42s] watchdog_phy_v3.c:65:12: warning: unused variable 'val' [-Wunused-variable] [ 42s] uint32 val = 0; [ 42s] ^~~ [ 42s] watchdog_phy_v3.c:64:12: warning: unused variable 'ctrl' [-Wunused-variable] [ 42s] uint32 ctrl = 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/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 sc8830_i2c_cfg.h:21, [ 42s] from sc8830_i2c_cfg.c:20: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o v0/i2c_phy_v0.o v0/i2c_phy_v0.c -c [ 42s] make -C drivers/misc/ [ 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 command.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] 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 watchdog_hal.c:22: [ 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/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 watchdog_hal.c:23: [ 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 watchdog_hal.c:23: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 42s] from watchdog_hal.c:28: [ 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 watchdog_hal.c:23: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:31, [ 42s] from watchdog_hal.c:28: [ 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/watchdog_reg_v3.h:31, [ 42s] from watchdog_hal.c:28: [ 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 watchdog_hal.c:28:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/watchdog_reg_v3.h:33:0: warning: "WDG_BASE" redefined [ 42s] #define WDG_BASE (SPRD_ANA_WDG_PHYS) [ 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 watchdog_hal.c:23: [ 42s] /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 [ 42s] #define WDG_BASE 0x40038040 //CHGR_WDG:0x820003C0 WDG:0x82000040 [ 42s] [ 42s] watchdog_hal.c: In function 'WDG_TimerStop': [ 42s] watchdog_hal.c:30:21: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 42s] #define WDG_TRACE printf [ 42s] ^ [ 42s] watchdog_hal.c:49:5: note: in expansion of macro 'WDG_TRACE' [ 42s] WDG_TRACE ("Watch Dog Trace: WDG_TimerStop"); [ 42s] ^~~~~~~~~ [ 42s] watchdog_hal.c:47:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 42s] int32 ret; [ 42s] ^~~ [ 42s] watchdog_hal.c: In function 'WDG_TimerStart': [ 42s] watchdog_hal.c:73:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 42s] int32 ret; [ 42s] ^~~ [ 42s] watchdog_hal.c: In function 'WDG_TimerInit': [ 42s] watchdog_hal.c:104:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 42s] int32 ret; [ 42s] ^~~ [ 42s] watchdog_hal.c:103:18: warning: unused variable 'status' [-Wunused-variable] [ 42s] uint32 status; [ 42s] ^~~~~~ [ 42s] watchdog_hal.c: In function 'WDG_ResetMCU': [ 42s] watchdog_hal.c:123:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 42s] int32 ret; [ 42s] ^~~ [ 42s] watchdog_hal.c: In function 'WDG_TimerLoad': [ 42s] watchdog_hal.c:141:18: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 42s] int32 ret; [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o chip_cfg.o chip_cfg.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 v0/i2c_reg_v0.h:28, [ 42s] from v0/i2c_phy_v0.c:22: [ 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/sys_timer_reg_v0.h:31, [ 42s] from v0/i2c_phy_v0.c:23: [ 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 v0/i2c_phy_v0.c:23: [ 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] v0/i2c_phy_v0.c: In function 'I2C_PHY_ControlInit_V0': [ 42s] v0/i2c_phy_v0.c:250:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 42s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 42s] ^ [ 42s] v0/i2c_phy_v0.c:250:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 42s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 42s] ^ [ 42s] v0/i2c_phy_v0.c:250:15: warning: statement with no effect [-Wunused-value] [ 42s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ControlInit_V0: freq=%d, port=%d", freq, port); [ 42s] ^ [ 42s] v0/i2c_phy_v0.c: In function 'I2C_PHY_StartBus_V0': [ 42s] v0/i2c_phy_v0.c:283:55: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 42s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 42s] ^ [ 42s] v0/i2c_phy_v0.c:283:15: warning: statement with no effect [-Wunused-value] [ 42s] IIC_PRINT ("[IIC DRV:]I2C_PHY_StartBus_V0: cmd=%x", cmd); [ 42s] ^ [ 42s] v0/i2c_phy_v0.c: In function 'I2C_PHY_WriteBytes_V0': [ 42s] v0/i2c_phy_v0.c:326:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 42s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 42s] ^ [ 42s] v0/i2c_phy_v0.c:326:19: warning: statement with no effect [-Wunused-value] [ 42s] IIC_PRINT ("[IIC DRV:]I2C_PHY_WriteBytes_V0: cmd=%x", cmd); [ 42s] ^ [ 42s] v0/i2c_phy_v0.c: In function 'I2C_PHY_ReadBytes_V0': [ 42s] v0/i2c_phy_v0.c:369:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] [ 42s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 42s] ^ [ 42s] v0/i2c_phy_v0.c:369:19: warning: statement with no effect [-Wunused-value] [ 42s] IIC_PRINT ("[IIC DRV:]I2C_PHY_ReadBytes_V0: cmd=%x", cmd); [ 42s] ^ [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o console.o console.c -c [ 42s] ld -r -o libi2c.o sprd_i2c.o i2c_hal.o sc8830_i2c_cfg.o v0/i2c_phy_v0.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/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 chip_cfg.c:21: [ 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/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 chip_cfg.c:23: [ 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 chip_cfg.c:23: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o chip_x30g/chip_phy_x30g.o chip_x30g/chip_phy_x30g.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 console.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/i2c' [ 42s] make -C drivers/mmc/ [ 42s] console.c: In function 'ram_puts': [ 42s] console.c:210:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 42s] p = (unsigned char*)CONFIG_RAM_CONSOLE_START + used_size; [ 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/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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:23, [ 42s] from chip_x30g/chip_phy_x30g.c:22: [ 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/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 chip_x30g/chip_phy_x30g.c:22: [ 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 chip_x30g/chip_phy_x30g.c:22: [ 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 chip_x30g/chip_phy_x30g.c:25: [ 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 chip_x30g/chip_phy_x30g.c:22: [ 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 chip_x30g/chip_phy_x30g.c:25: [ 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 chip_x30g/chip_phy_x30g.c:25: [ 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 chip_x30g/chip_phy_x30g.c:26:0: [ 42s] /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] [ 42s] PUBLIC void BOOT_ResetHWFlag (); [ 42s] ^~~~~~ [ 42s] In file included from chip_x30g/chip_phy_x30g.c:27:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 42s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 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 chip_x30g/chip_phy_x30g.c:25: [ 42s] /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 [ 42s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 42s] [ 42s] chip_x30g/chip_phy_x30g.c:203:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] PUBLIC void CHIP_PHY_BootIramEn () [ 42s] ^~~~~~~~~~~~~~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c:236:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] PUBLIC BOOLEAN CHIP_PHY_IsResetByPowerUp() [ 42s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c:255:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] PUBLIC BOOLEAN CHIP_PHY_IsResetByWatchDog() [ 42s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c: In function 'TDPllRefConfig': [ 42s] chip_x30g/chip_phy_x30g.c:297:5: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 42s] udelay(1); [ 42s] ^~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c: In function 'dcdc_core_ds_config': [ 42s] chip_x30g/chip_phy_x30g.c:721:16: warning: unused variable 'reg_val' [-Wunused-variable] [ 42s] uint32 reg_val = 0; [ 42s] ^~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c:720:16: warning: unused variable 'dcdc_core_ctl_adi' [-Wunused-variable] [ 42s] uint32 dcdc_core_ctl_adi = 0; [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] chip_x30g/chip_phy_x30g.c: At top level: [ 42s] chip_x30g/chip_phy_x30g.c:838:1: warning: missing braces around initializer [-Wmissing-braces] [ 42s] { [ 42s] ^ [ 42s] chip_x30g/chip_phy_x30g.c:838:1: note: (near initialization for 'lp_cfg') [ 42s] chip_x30g/chip_phy_x30g.c: In function 'setup_ap_cp_sync_sleep_code': [ 42s] chip_x30g/chip_phy_x30g.c:868:16: warning: unused variable 'sa' [-Wunused-variable] [ 42s] unsigned int *sa = (unsigned int*)start_addr; [ 42s] ^~ [ 42s] chip_x30g/chip_phy_x30g.c: In function 'CSP_Init': [ 42s] chip_x30g/chip_phy_x30g.c:888:2: warning: implicit declaration of function 'calibrate_register_callback' [-Wimplicit-function-declaration] [ 42s] calibrate_register_callback((void*)dcdc_core_ds_config); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o dlmalloc.o dlmalloc.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o Tshark_boot_cp.o Tshark_boot_cp.c -c [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 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 dlmalloc.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/normal_mode.h:4, [ 42s] from Tshark_boot_cp.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/boot_mode.h:3:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 42s] from Tshark_boot_cp.c:1: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 42s] from Tshark_boot_cp.c:1: [ 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/boot_mode.h:3:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 42s] from Tshark_boot_cp.c:1: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 42s] from Tshark_boot_cp.c:1: [ 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/normal_mode.h:20:0, [ 42s] from Tshark_boot_cp.c:1: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 42s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 42s] [ 42s] /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 [ 42s] #define VLR_INFO_OFF (512) [ 42s] [ 42s] In file included from Tshark_boot_cp.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 42s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 42s] ^~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 42s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 42s] ^~~~~~ [ 42s] In file included from Tshark_boot_cp.c:1:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int read_spldata(); [ 42s] ^~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] void vlx_entry(); [ 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/normal_mode.h:4, [ 42s] from Tshark_boot_cp.c:1: [ 42s] Tshark_boot_cp.c: In function 'boot_cp0': [ 42s] /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 [-Wint-conversion] [ 42s] #define CP0_CODE_COPY_ADR 0x50000000 [ 42s] ^ [ 42s] Tshark_boot_cp.c:9:9: note: in expansion of macro 'CP0_CODE_COPY_ADR' [ 42s] memcpy(CP0_CODE_COPY_ADR, m_data, sizeof(m_data)); /* copy cp0 source code */ [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 42s] from Tshark_boot_cp.c:1: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 42s] void* memcpy(void*, const void*, size_t); [ 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/normal_mode.h:4, [ 42s] from Tshark_boot_cp.c:1: [ 42s] Tshark_boot_cp.c: In function 'boot_cp2': [ 42s] /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 [-Wint-conversion] [ 42s] #define CP2_CODE_COPY_ADR 0x50003000 [ 42s] ^ [ 42s] Tshark_boot_cp.c:35:9: note: in expansion of macro 'CP2_CODE_COPY_ADR' [ 42s] memcpy(CP2_CODE_COPY_ADR, wcndata, sizeof(wcndata)); /* copy cp2 source code */ [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 42s] from Tshark_boot_cp.c:1: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'int' [ 42s] void* memcpy(void*, const void*, size_t); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o misc.o misc.c -c [ 42s] rm -f libmisc.o; ar rcs libmisc.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 misc.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] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/misc' [ 42s] make -C drivers/mtd/ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 42s] from misc.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 misc.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 misc.c:4: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 misc.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 misc.c:4: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 misc.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] misc.c:23:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int sprd_jtag_enable() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:38:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int sprd_jtag_disable() [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] misc.c:54:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_slp_cp_dbg_cfg() [ 42s] ^~~~~~~~~~~~~~~~~ [ 42s] misc.c:59:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_cpll_rel_cfg() [ 42s] ^~~~~~~~~~~~~~~ [ 42s] misc.c:64:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void bb_bg_auto_en() [ 42s] ^~~~~~~~~~~~~ [ 42s] misc.c:70:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_close_wpll_en() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:75:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_close_cpll_en() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:80:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void ap_close_wifipll_en() [ 42s] ^~~~~~~~~~~~~~~~~~~ [ 42s] misc.c:86:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] static void bb_ldo_auto_en() [ 42s] ^~~~~~~~~~~~~~ [ 42s] misc.c: In function 'pmic_init': [ 42s] misc.c:410:6: warning: unused variable 'val' [-Wunused-variable] [ 42s] u32 val; [ 42s] ^~~ [ 42s] misc.c: At top level: [ 42s] misc.c:461:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] void gpu_clk_auto_gate_disable() [ 42s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] misc.c:466:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] void misc_init() [ 42s] ^~~~~~~~~ [ 42s] misc.c: In function 'misc_init': [ 42s] misc.c:492:2: warning: implicit declaration of function '__raw_bits_or' [-Wimplicit-function-declaration] [ 42s] __raw_bits_or((BIT_CSI1_PHY_PD | BIT_CSI0_PHY_PD), REG_AON_APB_PWR_CTRL); [ 42s] ^~~~~~~~~~~~~ [ 42s] misc.c: In function 'get_dram_cs_number': [ 42s] misc.c:508:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 42s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 42s] ^~~~~~ [ 42s] misc.c: In function 'get_dram_cs0_size': [ 42s] misc.c:513:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 42s] mem_cs_info_t *cs_info_ptr = 0x1C00; [ 42s] ^~~~~~ [ 42s] At top level: [ 42s] misc.c:86:13: warning: 'bb_ldo_auto_en' defined but not used [-Wunused-function] [ 42s] static void bb_ldo_auto_en() [ 42s] ^~~~~~~~~~~~~~ [ 42s] misc.c:80:13: warning: 'ap_close_wifipll_en' defined but not used [-Wunused-function] [ 42s] static void ap_close_wifipll_en() [ 42s] ^~~~~~~~~~~~~~~~~~~ [ 42s] misc.c:75:13: warning: 'ap_close_cpll_en' defined but not used [-Wunused-function] [ 42s] static void ap_close_cpll_en() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:70:13: warning: 'ap_close_wpll_en' defined but not used [-Wunused-function] [ 42s] static void ap_close_wpll_en() [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] misc.c:64:13: warning: 'bb_bg_auto_en' defined but not used [-Wunused-function] [ 42s] static void bb_bg_auto_en() [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o env_common.o env_common.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o dcdc_cal_sc2723.o dcdc_cal_sc2723.c -c [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 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 env_common.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 dcdc_cal_sc2723.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/asm/arch/adi_hal_internal.h:23:0, [ 42s] from dcdc_cal_sc2723.c:4: [ 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 dcdc_cal_sc2723.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 dcdc_cal_sc2723.c:4: [ 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 dcdc_cal_sc2723.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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o env_nowhere.o env_nowhere.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 dcdc_cal_sc2723.c:5: [ 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 dcdc_cal_sc2723.c:5: [ 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] dcdc_cal_sc2723.c:789:27: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 42s] vol_para_t **ppvol_para = 0x50003C20; [ 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 env_nowhere.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o exports.o exports.c -c [ 42s] {standard input}: Assembler messages: [ 42s] {standard input}:3115: Warning: setting incorrect section attributes for .rodata.regu.init1 [ 42s] 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 [ 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 exports.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/6.2.1/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 \ [ 42s] -o mmc.o mmc.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 42s] -o fdt_support.o fdt_support.c -c [ 42s] a - mmu_asm.o [ 42s] a - generic.o [ 42s] a - timer.o [ 42s] a - reset.o [ 42s] a - ldo.o [ 42s] a - mfp_sprd.o [ 42s] a - mmu.o [ 42s] a - adc.o [ 42s] a - rtc-sprd.o [ 42s] a - sec_boot.o [ 42s] a - glb.o [ 42s] a - adi.o [ 42s] a - gpio.o [ 42s] a - gpio_phy.o [ 42s] a - clock.o [ 42s] a - clock_test.o [ 42s] a - check_reboot.o [ 42s] a - eic.o [ 42s] a - vibrator_sc2723.o [ 42s] a - otp-helper.o [ 42s] a - efuse.o [ 42s] a - ana_efuse.o [ 42s] a - watchdog.o [ 42s] a - watchdog_phy_v3.o [ 42s] a - watchdog_hal.o [ 42s] a - chip_cfg.o [ 42s] a - chip_x30g/chip_phy_x30g.o [ 42s] a - Tshark_boot_cp.o [ 42s] a - misc.o [ 42s] a - dcdc_cal_sc2723.o [ 42s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/arch/arm/cpu/armv7/sc8830' [ 42s] make -C drivers/mtd/nand/ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 42s] from mmc.c:26: [ 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] rm -f libmtd.o; ar rcs libmtd.o [ 42s] In file included from mmc.c:37:0: [ 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/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 mmc.c:47: [ 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 mmc.c:27: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 mmc.c:47: [ 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 mmc.c:27: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 mmc.c:52:0: [ 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] mmc.c: In function 'mmc_bwrite': [ 42s] mmc.c:160:6: warning: implicit declaration of function 'Emmc_Write' [-Wimplicit-function-declaration] [ 42s] if(Emmc_Write(0, start, blkcnt, (uint8*)src)) [ 42s] ^~~~~~~~~~ [ 42s] mmc.c: In function 'mmc_bread': [ 42s] mmc.c:240:6: warning: implicit declaration of function 'Emmc_Read' [-Wimplicit-function-declaration] [ 42s] if(Emmc_Read(0, start, blkcnt, (uint8*)dst)) [ 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 fdt_support.c:26: [ 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] mmc.c: In function 'mmc_register': [ 42s] mmc.c:915:24: warning: implicit declaration of function 'Emmc_GetCapacity' [-Wimplicit-function-declaration] [ 42s] mmc->block_dev.lba = Emmc_GetCapacity(0);; [ 42s] ^~~~~~~~~~~~~~~~ [ 42s] mmc.c: In function 'mmc_legacy_init': [ 42s] mmc.c:1027:13: warning: implicit declaration of function 'Emmc_Init' [-Wimplicit-function-declaration] [ 42s] if(TRUE == Emmc_Init()) [ 42s] ^~~~~~~~~ [ 42s] mmc.c:1025:11: warning: unused variable 'rca' [-Wunused-variable] [ 42s] uint16_t rca = 0; [ 42s] ^~~ [ 42s] mmc.c:1024:12: warning: unused variable 'resp' [-Wunused-variable] [ 42s] uint32_t *resp; [ 42s] ^~~~ [ 42s] mmc.c:1023:11: warning: unused variable 'cid_resp' [-Wunused-variable] [ 42s] uint32_t cid_resp[4]; [ 42s] ^~~~~~~~ [ 42s] mmc.c:1022:6: warning: unused variable 'retries' [-Wunused-variable] [ 42s] int retries, rc = -ENODEV; [ 42s] ^~~~~~~ [ 42s] mmc.c: At top level: [ 42s] mmc.c:1053:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int mmc_sdcard_init() [ 42s] ^~~~~~~~~~~~~~~ [ 42s] mmc.c: In function 'mmc_sdcard_init': [ 42s] mmc.c:1056:14: warning: implicit declaration of function 'SDCARD_PowerOn' [-Wimplicit-function-declaration] [ 42s] if (TRUE == SDCARD_PowerOn()) { [ 42s] ^~~~~~~~~~~~~~ [ 42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 42s] from fdt_support.c:35: [ 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 fdt_support.c:26: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/boot_mode.h:3:0, [ 42s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 42s] from fdt_support.c:35: [ 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 fdt_support.c:26: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/normal_mode.h:20:0, [ 42s] from fdt_support.c:35: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 42s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 42s] [ 42s] /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 [ 42s] #define VLR_INFO_OFF (512) [ 42s] [ 42s] In file included from fdt_support.c:35:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 42s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 42s] ^~~~~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 42s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 42s] ^~~~~~ [ 42s] In file included from fdt_support.c:35:0: [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] int read_spldata(); [ 42s] ^~~ [ 42s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] void vlx_entry(); [ 42s] ^~~~ [ 42s] fdt_support.c: In function 'fdt_initrd_norsvmem': [ 42s] fdt_support.c:222:17: warning: unused variable 'size' [-Wunused-variable] [ 42s] uint64_t addr, size; [ 42s] ^~~~ [ 42s] fdt_support.c:222:11: warning: unused variable 'addr' [-Wunused-variable] [ 42s] uint64_t addr, size; [ 42s] ^~~~ [ 42s] fdt_support.c: In function 'fdt_chosen_bootargs_replace': [ 42s] fdt_support.c:376:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 42s] src = path; [ 42s] ^ [ 42s] fdt_support.c: In function 'fdt_fixup_lcdid': [ 42s] fdt_support.c:471:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 42s] extern uint32_t load_lcd_id_to_kernel(); [ 42s] ^~~~~~ [ 42s] fdt_support.c: In function 'fdt_fixup_lcdbase': [ 42s] fdt_support.c:501:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] [ 42s] sprintf(&buf[str_len], "%x",lcd_base); [ 42s] ^ [ 42s] fdt_support.c: In function 'fdt_fixup_adc_calibration_data': [ 42s] fdt_support.c:628:41: warning: passing argument 1 of 'read_adc_calibration_data' from incompatible pointer type [-Wincompatible-pointer-types] [ 42s] int ret = read_adc_calibration_data(adc_data,48); [ 42s] ^~~~~~~~ [ 42s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18:0, [ 42s] from fdt_support.c:35: [ 42s] /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 *' [ 42s] int read_adc_calibration_data(char *buffer,int size); [ 42s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 42s] fdt_support.c:634:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 42s] int ret; [ 42s] ^~~ [ 42s] fdt_support.c: In function 'fdt_fixup_chosen_bootargs_board_private': [ 42s] fdt_support.c:732:50: warning: implicit declaration of function 'poweron_by_calibration' [-Wimplicit-function-declaration] [ 42s] fdt_fixup_chosen_bootargs_board(buf, boot_mode, poweron_by_calibration()); [ 42s] ^~~~~~~~~~~~~~~~~~~~~~ [ 42s] fdt_support.c: In function 'fdt_debug_print_prop': [ 42s] fdt_support.c:1687:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 42s] printf("fdt addr: 0x%x\n", fdt); [ 42s] ^ [ 42s] fdt_support.c:1683:8: warning: unused variable 'strargs' [-Wunused-variable] [ 42s] char *strargs; [ 42s] ^~~~~~~ [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o flash.o flash.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 flash.c:26: [ 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/6.2.1/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 \ [ 43s] -o mv_sdhci.o mv_sdhci.c -c [ 43s] make -C drivers/mtd/onenand/ [ 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 mv_sdhci.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] mv_sdhci.c: In function 'sdhci_dumpregs': [ 43s] mv_sdhci.c:9:20: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=] [ 43s] #define KERN_DEBUG " " [ 43s] ^ [ 43s] mv_sdhci.c:18:10: note: in expansion of macro 'KERN_DEBUG' [ 43s] printf(KERN_DEBUG DRIVER_NAME ": address 0x%08x | value 0x%08x\n", host->ioaddr + i*4, sdhci_readl(host, i*4)); [ 43s] ^~~~~~~~~~ [ 43s] mv_sdhci.c: In function 'sdhci_sprd_set_base_clock': [ 43s] mv_sdhci.c:65:16: warning: unused variable 'flags' [-Wunused-variable] [ 43s] unsigned long flags; [ 43s] ^~~~~ [ 43s] At top level: [ 43s] mv_sdhci.c:63:13: warning: 'sdhci_sprd_set_base_clock' defined but not used [-Wunused-function] [ 43s] static void sdhci_sprd_set_base_clock(unsigned int clock) [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o idh_layout.o idh_layout.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/6.2.1/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 \ [ 43s] -o sdhci.o sdhci.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 sdhci.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] rm -f libnand.o; ar rcs libnand.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 idh_layout.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] sdhci.c: In function 'sdhci_send_command': [ 43s] sdhci.c:198:3: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 43s] Dcache_CleanRegion(start_addr, trans_bytes); [ 43s] ^~~~~~~~~~~~~~~~~~ [ 43s] sdhci.c:199:3: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 43s] Dcache_InvalRegion(start_addr, trans_bytes); [ 43s] ^~~~~~~~~~~~~~~~~~ [ 43s] idh_layout.c: In function 'create_mtdpart_buffer': [ 43s] idh_layout.c:54:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 43s] while (strcmp(mtd_partition_cfg[i].name, "cache") != 0) [ 43s] ^~~~~~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /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 *' [ 43s] extern int strcmp(const char *,const char *); [ 43s] ^~~~~~ [ 43s] idh_layout.c:64:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] [ 43s] while (strcmp(mtd_partition_cfg[i].name, "userdata") != 0) [ 43s] ^~~~~~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /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 *' [ 43s] extern int strcmp(const char *,const char *); [ 43s] ^~~~~~ [ 43s] idh_layout.c:79:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 43s] sprintf(mtdpartbuffer, "mtdparts=sprd-nand:"); [ 43s] ^~~~~~~~~~~~~ [ 43s] In file included from idh_layout.c:1:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 43s] int sprintf(char * buf, const char *fmt, ...) [ 43s] ^~~~~~~ [ 43s] idh_layout.c:80:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 43s] str_len = strlen(mtdpartbuffer); [ 43s] ^~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /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 *' [ 43s] extern __kernel_size_t strlen(const char *); [ 43s] ^~~~~~ [ 43s] idh_layout.c:83:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] [ 43s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 43s] ^ [ 43s] In file included from idh_layout.c:1:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:656:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 43s] int sprintf(char * buf, const char *fmt, ...) [ 43s] ^~~~~~~ [ 43s] idh_layout.c:83:38: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 43s] sprintf(&mtdpartbuffer[str_len], "%dk(%s),", mtd_partition_cfg[i].size, mtd_partition_cfg[i].name); [ 43s] ^ [ 43s] idh_layout.c:84:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 43s] str_len = strlen(mtdpartbuffer); [ 43s] ^~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /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 *' [ 43s] extern __kernel_size_t strlen(const char *); [ 43s] ^~~~~~ [ 43s] idh_layout.c:87:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 43s] str_len = strlen(mtdpartbuffer); [ 43s] ^~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 43s] from idh_layout.c:1: [ 43s] /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 *' [ 43s] extern __kernel_size_t strlen(const char *); [ 43s] ^~~~~~ [ 43s] At top level: [ 43s] idh_layout.c:22:22: warning: 'nandsize' defined but not used [-Wunused-variable] [ 43s] static unsigned long nandsize = 0; [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o image.o image.c -c [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/nand' [ 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/6.2.1/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 \ [ 43s] -o sdio_card_pal.o sdio_card_pal.c -c [ 43s] make -C drivers/mtd/spi/ [ 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 image.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/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 sdio_card_pal.c:2: [ 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 sdio_card_pal.c:7: [ 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 sdio_card_pal.c:7: [ 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] sdio_card_pal.c: In function 'SDIO_Card_Pal_Pwr': [ 43s] sdio_card_pal.c:524:3: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 43s] udelay(5000); [ 43s] ^~~~~~ [ 43s] sdio_card_pal.c: In function 'SDIO_Card_Pal_SendCmd': [ 43s] sdio_card_pal.c:809:16: warning: implicit declaration of function 'Dcache_CleanRegion' [-Wimplicit-function-declaration] [ 43s] Dcache_CleanRegion((unsigned int)(dataParam->databuf), bufferSize); [ 43s] ^~~~~~~~~~~~~~~~~~ [ 43s] sdio_card_pal.c:810:16: warning: implicit declaration of function 'Dcache_InvalRegion' [-Wimplicit-function-declaration] [ 43s] Dcache_InvalRegion((unsigned int)(dataParam->databuf), bufferSize); [ 43s] ^~~~~~~~~~~~~~~~~~ [ 43s] sdio_card_pal.c:826:3: warning: implicit declaration of function '_SDHOST_IrqHandle' [-Wimplicit-function-declaration] [ 43s] _SDHOST_IrqHandle(handle->sdio_No); [ 43s] ^~~~~~~~~~~~~~~~~ [ 43s] sdio_card_pal.c:754:13: warning: unused variable 'isr_status' [-Wunused-variable] [ 43s] uint32 isr_status; [ 43s] ^~~~~~~~~~ [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 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/6.2.1/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 \ [ 43s] -o sdhost_phy.o sdhost_phy.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o lcd.o lcd.c -c [ 43s] rm -f libonenand.o; ar rcs libonenand.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/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 sdhost_phy.c:19: [ 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.h:34:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 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.h:38:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 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/adi_reg_v3.h:18, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 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.h:38:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 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/adi_reg_v3.h:18, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 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/adi_reg_v3.h:18, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:25, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 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/sprd_module_ver.h:26:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:112:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 43s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 43s] [ 43s] /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 [ 43s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x118) [ 43s] [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:113:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 43s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 43s] [ 43s] /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 [ 43s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x11C) [ 43s] [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/analog_reg_v3.h:114:0: warning: "ANA_APB_AFUSE_OUT0" redefined [ 43s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x124) [ 43s] [ 43s] /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 [ 43s] #define ANA_APB_AFUSE_OUT0 (ANA_REGS_GLB_PHYS + 0x120) [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:32:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 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.h:38:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:36:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sys_timer_reg_v0.h:33:0: warning: "SYSTIMER_BASE" redefined [ 43s] #define SYSTIMER_BASE (SPRD_SYSCNT_PHYS) [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:38:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 43s] /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 [ 43s] #define SYSTIMER_BASE CTL_BASE_AP_SYS_TMR [ 43s] [ 43s] In file included from sdhost_phy.c:34:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 43s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 43s] /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 [ 43s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 43s] [ 43s] In file included from sdhost_phy.c:34:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:38:0: warning: "USB_PHY_CTRL" redefined [ 43s] #define USB_PHY_CTRL (AHB_REG_BASE + 0xA0) [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:21:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 43s] /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 [ 43s] #define USB_PHY_CTRL (CTL_BASE_APB+0x10) [ 43s] [ 43s] In file included from sdhost_phy.c:34:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 43s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:20:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 43s] /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 [ 43s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 43s] [ 43s] In file included from sdhost_phy.c:39:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:21:0: warning: "REG_SETCLRBIT" redefined [ 43s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 43s] /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 [ 43s] #define REG_SETCLRBIT(_reg_addr, _set_bit, _clr_bit) \ [ 43s] [ 43s] In file included from sdhost_phy.c:39:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:34:0: warning: "GET_LEVELBIT" redefined [ 43s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 43s] /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 [ 43s] #define GET_LEVELBIT(_reg_addr, _bit_mask, _bit_set, _level_var) \ [ 43s] [ 43s] In file included from sdhost_phy.c:39:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:41:0: warning: "GET_LEVEL" redefined [ 43s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 43s] [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_ver.h:30:0, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config.h:40, [ 43s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_plf_export.h:7, [ 43s] from sdhost_phy.c:21: [ 43s] /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 [ 43s] #define GET_LEVEL(_reg_addr, _bit0_mask, _bit1_mask, _level_var) \ [ 43s] [ 43s] sdhost_phy.c: In function '_GetIntSDHOSTSlotNum': [ 43s] sdhost_phy.c:2341:12: warning: unused variable 'tmpReg' [-Wunused-variable] [ 43s] uint32 tmpReg; [ 43s] ^~~~~~ [ 43s] sdhost_phy.c: In function 'SdhostHisrFunc': [ 43s] sdhost_phy.c:2484:13: warning: implicit declaration of function 'threadReadBuffer' [-Wimplicit-function-declaration] [ 43s] while (!threadReadBuffer (&buffer)) [ 43s] ^~~~~~~~~~~~~~~~ [ 43s] sdhost_phy.c: In function 'SDHOST_Register': [ 43s] sdhost_phy.c:2515:24: warning: unused variable 'i' [-Wunused-variable] [ 43s] uint32 status = 0, i = 0; [ 43s] ^ [ 43s] sdhost_phy.c:2515:12: warning: unused variable 'status' [-Wunused-variable] [ 43s] uint32 status = 0, i = 0; [ 43s] ^~~~~~ [ 43s] At top level: [ 43s] sdhost_phy.c:2490:12: warning: '_SDHOST_Pin_select' defined but not used [-Wunused-function] [ 43s] LOCAL void _SDHOST_Pin_select(SDHOST_SLOT_NO slot_NO) [ 43s] ^~~~~~~~~~~~~~~~~~ [ 43s] sdhost_phy.c:2480:13: warning: 'SdhostHisrFunc' defined but not used [-Wunused-function] [ 43s] LOCAL void SdhostHisrFunc (uint32 cnt, void *pData) [ 43s] ^~~~~~~~~~~~~~ [ 43s] sdhost_phy.c:2339:22: warning: '_GetIntSDHOSTSlotNum' defined but not used [-Wunused-function] [ 43s] LOCAL SDHOST_SLOT_NO _GetIntSDHOSTSlotNum (uint32 port) [ 43s] ^~~~~~~~~~~~~~~~~~~~ [ 43s] sdhost_phy.c:1621:12: warning: '_GetSDHOSTCapbility' defined but not used [-Wunused-function] [ 43s] LOCAL void _GetSDHOSTCapbility (SDHOST_HANDLE sdhost_handler,SDHOST_CAPBILIT_T *capbility) [ 43s] ^~~~~~~~~~~~~~~~~~~ [ 43s] sdhost_phy.c:115:15: warning: '_RegisterVerifyHOST' defined but not used [-Wunused-function] [ 43s] LOCAL BOOLEAN _RegisterVerifyHOST (SDHOST_HANDLE sdhost_handler) [ 43s] ^~~~~~~~~~~~~~~~~~~ [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from lcd.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] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/onenand' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o main.o main.c -c [ 43s] In file included from lcd.c:65:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) sp_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:26:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) sp_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/sp_bmp_logo.h:791:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) sp_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] In file included from lcd.c:66:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) thor_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:44:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) thor_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/thor_bmp_logo.h:2908:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) thor_num_bitmap[] = { [ 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 main.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 lcd.c:67:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) charge_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) charge_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/charge_bmp_logo.h:381:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) charge_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] In file included from lcd.c:68:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_start_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:13:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_start_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_start_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) prog_start_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] In file included from lcd.c:69:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_mid_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:5:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_mid_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_mid_logo.h:10:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) prog_mid_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] In file included from lcd.c:70:0: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:1:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_end_palette[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:12:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned short __attribute__((packed, aligned(4))) prog_end_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/prog_end_logo.h:37:1: warning: 'packed' attribute ignored [-Wattributes] [ 43s] unsigned int __attribute__((packed, aligned(4))) prog_end_num_bitmap[] = { [ 43s] ^~~~~~~~ [ 43s] lcd.c: In function 'lcd_drawchars': [ 43s] lcd.c:224:9: warning: variable 'off' set but not used [-Wunused-but-set-variable] [ 43s] ushort off, row; [ 43s] ^~~ [ 43s] lcd.c: In function '_draw_image': [ 43s] lcd.c:510:15: warning: unused variable 'tmp' [-Wunused-variable] [ 43s] unsigned int tmp; [ 43s] ^~~ [ 43s] lcd.c: In function 'bitmap_plot': [ 43s] lcd.c:677:3: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 43s] lcd_display(); [ 43s] ^~~~~~~~~~~ [ 43s] lcd.c:608:10: warning: unused variable 'fb16' [-Wunused-variable] [ 43s] ushort *fb16; [ 43s] ^~~~ [ 43s] lcd.c:605:12: warning: unused variable 'j' [-Wunused-variable] [ 43s] ushort i, j; [ 43s] ^ [ 43s] lcd.c: In function 'lcd_display_bitmap': [ 43s] lcd.c:709:16: warning: variable 'compression' set but not used [-Wunused-but-set-variable] [ 43s] unsigned long compression; [ 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/6.2.1/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 \ [ 43s] -o card_sdio.o card_sdio.c -c [ 43s] rm -f libspi_flash.o; ar rcs libspi_flash.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/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 card_sdio.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 card_sdio.c:22:0: [ 43s] card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 43s] PUBLIC void Emmc_DisSdClk(); [ 43s] ^~~~~~ [ 43s] card_sdio.c: In function 'CARD_SDIO_Select_CurPartition': [ 43s] card_sdio.c:1394:9: warning: unused variable 'RCA' [-Wunused-variable] [ 43s] uint16 RCA = cardHandle->RCA; [ 43s] ^~~ [ 43s] card_sdio.c: In function '_SetBusWidth': [ 43s] card_sdio.c:1442:9: warning: unused variable 'RCA' [-Wunused-variable] [ 43s] uint16 RCA = cardHandle->RCA; [ 43s] ^~~ [ 43s] card_sdio.c: In function 'CARD_SDIO_InitCard': [ 43s] card_sdio.c:1648:8: warning: variable 'extcsd_Part_Config' set but not used [-Wunused-but-set-variable] [ 43s] uint8 extcsd_Part_Config; [ 43s] ^~~~~~~~~~~~~~~~~~ [ 43s] card_sdio.c:1646:24: warning: unused variable 'errCode' [-Wunused-variable] [ 43s] SDIO_CARD_PAL_ERROR_E errCode; [ 43s] ^~~~~~~ [ 43s] card_sdio.c:1645:10: warning: unused variable 'vertion_flag' [-Wunused-variable] [ 43s] BOOLEAN vertion_flag; //TRUE: SD2.0 FALSE: SD1.x [ 43s] ^~~~~~~~~~~~ [ 43s] card_sdio.c: In function 'CARD_SDIO_getCID': [ 43s] card_sdio.c:1930:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 43s] 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]; [ 43s] ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 43s] card_sdio.c:1930:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 43s] 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]; [ 43s] ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 43s] card_sdio.c:1932:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 43s] 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; [ 43s] ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 43s] card_sdio.c:1932:95: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 43s] 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; [ 43s] ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [ 43s] card_sdio.c:1932:135: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 43s] 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; [ 43s] ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ [ 43s] card_sdio.c:1933:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 43s] 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; [ 43s] ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 43s] card_sdio.c:1933:110: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [ 43s] 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; [ 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/pinmap.h:20, [ 43s] from card_sdio.c:1964: [ 43s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__regs_gpu_apb_rf.h: In function 'SDCARD_SDIO_InitCard': [ 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/pinmap.h:20, [ 43s] from card_sdio.c:1964: [ 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] card_sdio.c:1968:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 43s] sprd_gpio_request(NULL, 100); [ 43s] ^~~~~~~~~~~~~~~~~ [ 43s] card_sdio.c:1969:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 43s] sprd_gpio_direction_output(NULL, 100, 1); [ 43s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 43s] card_sdio.c:1976:2: warning: implicit declaration of function 'udelay' [-Wimplicit-function-declaration] [ 43s] udelay(5000); [ 43s] ^~~~~~ [ 43s] card_sdio.c:2165:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 43s] printf("SDCARD_SDIO_ReadRCA failed!\r\n"); [ 43s] ^~~~~~ [ 43s] card_sdio.c:1953:19: warning: unused variable 'busWidth' [-Wunused-variable] [ 43s] CARD_BUS_WIDTH_E busWidth = CARD_WIDTH_1_BIT; [ 43s] ^~~~~~~~ [ 43s] In file included from card_sdio.c:1964:0: [ 43s] /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] [ 43s] } pinmap_t; [ 43s] ^~~~~~~~ [ 43s] card_sdio.c: At top level: [ 43s] card_sdio.c:2783:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 43s] PUBLIC BOOLEAN SDCARD_Init() [ 43s] ^~~~~~~~~~~ [ 43s] card_sdio.c: In function 'SDCARD_Init': [ 43s] card_sdio.c:2785:9: warning: unused variable 'ret' [-Wunused-variable] [ 43s] uint32 ret = 0; [ 43s] ^~~ [ 43s] card_sdio.c: At top level: [ 43s] card_sdio.c:2797:16: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 43s] PUBLIC BOOLEAN SDCARD_PowerOn() [ 43s] ^~~~~~~~~~~~~~ [ 43s] card_sdio.c:2907:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 43s] PUBLIC void Emmc_DisSdClk() [ 43s] ^~~~~~~~~~~~~ [ 43s] card_sdio.c:1580:12: warning: '_CMD6_Response_Analyze' defined but not used [-Wunused-function] [ 43s] LOCAL void _CMD6_Response_Analyze(uint8* resBuf,CARD_CMD6_STATUS_T* cmdStatus) [ 43s] ^~~~~~~~~~~~~~~~~~~~~~ [ 43s] card_sdio.c:457:12: warning: '_SD_CID_Analyze' defined but not used [-Wunused-function] [ 43s] LOCAL void _SD_CID_Analyze(uint8* CIDbuf,CARD_SD_CID_T *CID) [ 43s] ^~~~~~~~~~~~~~~ [ 43s] card_sdio.c:370:15: warning: '_IsCardHandleValid' defined but not used [-Wunused-function] [ 43s] LOCAL BOOLEAN _IsCardHandleValid(CARD_SDIO_HANDLE cardHandle) [ 43s] ^~~~~~~~~~~~~~~~~~ [ 43s] make -C drivers/mtd/ubi/ [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o memsize.o memsize.c -c [ 43s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/spi' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 43s] -o s_record.o s_record.c -c [ 43s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 43s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 43s] from memsize.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] [ 44s] make -C drivers/net/ [ 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 s_record.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] ld -r -o libmmc.o mmc.o mv_sdhci.o sdhci.o sdio_card_pal.o sdhost_phy.o card_sdio.o [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 44s] -o stdio.o stdio.c -c [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mmc' [ 44s] make -C drivers/net/phy/ [ 44s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 44s] from stdio.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] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 44s] -o xyzModem.o xyzModem.c -c [ 44s] rm -f libubi.o; ar rcs libubi.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 xyzModem.c:57: [ 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]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/mtd/ubi' [ 44s] make -C drivers/pci/ [ 44s] 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 [ 44s] rm -f libnet.o; ar rcs libnet.o [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/common' [ 44s] make -C drivers/pcmcia/ [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net' [ 44s] rm -f libphy.o; ar rcs libphy.o [ 44s] make -C drivers/power/ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/net/phy' [ 44s] make -C drivers/rtc/ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 44s] rm -f libpci.o; ar rcs libpci.o [ 44s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pci' [ 44s] make -C drivers/serial/ [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 44s] -o rpx_pcmcia.o rpx_pcmcia.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprd_battery.o sprd_battery.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 rpx_pcmcia.c:4: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o tqm8xx_pcmcia.o tqm8xx_pcmcia.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 sprd_battery.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o date.o date.c -c [ 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/regs_adi.h:19, [ 45s] from sprd_battery.c:4: [ 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/regs_adi.h:19, [ 45s] from sprd_battery.c:4: [ 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 sprd_battery.c:4:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_adi.h:20:0: warning: "SPRD_ADI_BASE" redefined [ 45s] #define SPRD_ADI_BASE SPRD_MISC_PHYS [ 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/regs_adi.h:19, [ 45s] from sprd_battery.c:4: [ 45s] /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 [ 45s] #define SPRD_ADI_BASE SCI_IOMAP(0x1f0000) [ 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 sprd_battery.c:5: [ 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 sprd_battery.c:1: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 sprd_battery.c:5: [ 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 sprd_battery.c:1: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] sprd_battery.c:232:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 45s] unsigned int get_fgu_vol() { [ 45s] ^~~~~~~~~~~ [ 45s] sprd_battery.c:236:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 45s] unsigned int get_fgu_cur() { [ 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 tqm8xx_pcmcia.c:5: [ 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] ld -r -o libpower.o sprd_battery.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 date.c:28: [ 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] ld -r -o libpcmcia.o rpx_pcmcia.o tqm8xx_pcmcia.o [ 45s] ld -r -o librtc.o date.o [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/power' [ 45s] make -C drivers/sound/codec/ [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/pcmcia' [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/rtc' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o serial_sc8800x.o serial_sc8800x.c -c [ 45s] make -C drivers/sound/dai/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 45s] from serial_sc8800x.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] make -C drivers/sound/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 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 serial_sc8800x.c:6: [ 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 serial_sc8800x.c:6: [ 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/sio_drv.h:4:0, [ 45s] from serial_sc8800x.c:7: [ 45s] /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] [ 45s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 45s] ^~~~~~~~~~~~~~~~~~ [ 45s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:5:0, [ 45s] from serial_sc8800x.c:7: [ 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 serial_sc8800x.c:2: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/sio_drv.h:5:0, [ 45s] from serial_sc8800x.c:7: [ 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 serial_sc8800x.c:2: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 serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:42:0: warning: "BIT_0" redefined [ 45s] #define BIT_0 0x00000001 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_0 0x01 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:43:0: warning: "BIT_1" redefined [ 45s] #define BIT_1 0x00000002 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_1 0x02 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:44:0: warning: "BIT_2" redefined [ 45s] #define BIT_2 0x00000004 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_2 0x04 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:45:0: warning: "BIT_3" redefined [ 45s] #define BIT_3 0x00000008 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_3 0x08 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:46:0: warning: "BIT_4" redefined [ 45s] #define BIT_4 0x00000010 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_4 0x10 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:47:0: warning: "BIT_5" redefined [ 45s] #define BIT_5 0x00000020 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_5 0x20 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:48:0: warning: "BIT_6" redefined [ 45s] #define BIT_6 0x00000040 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_6 0x40 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:49:0: warning: "BIT_7" redefined [ 45s] #define BIT_7 0x00000080 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_7 0x80 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:50:0: warning: "BIT_8" redefined [ 45s] #define BIT_8 0x00000100 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_8 0x0100 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:51:0: warning: "BIT_9" redefined [ 45s] #define BIT_9 0x00000200 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_9 0x0200 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:52:0: warning: "BIT_10" redefined [ 45s] #define BIT_10 0x00000400 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_10 0x0400 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:53:0: warning: "BIT_11" redefined [ 45s] #define BIT_11 0x00000800 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_11 0x0800 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:54:0: warning: "BIT_12" redefined [ 45s] #define BIT_12 0x00001000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_12 0x1000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:55:0: warning: "BIT_13" redefined [ 45s] #define BIT_13 0x00002000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_13 0x2000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:56:0: warning: "BIT_14" redefined [ 45s] #define BIT_14 0x00004000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_14 0x4000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:57:0: warning: "BIT_15" redefined [ 45s] #define BIT_15 0x00008000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_15 0x8000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:58:0: warning: "BIT_16" redefined [ 45s] #define BIT_16 0x00010000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_16 0x010000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:59:0: warning: "BIT_17" redefined [ 45s] #define BIT_17 0x00020000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_17 0x020000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:60:0: warning: "BIT_18" redefined [ 45s] #define BIT_18 0x00040000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_18 0x040000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:61:0: warning: "BIT_19" redefined [ 45s] #define BIT_19 0x00080000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_19 0x080000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:62:0: warning: "BIT_20" redefined [ 45s] #define BIT_20 0x00100000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_20 0x100000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:63:0: warning: "BIT_21" redefined [ 45s] #define BIT_21 0x00200000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_21 0x200000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:64:0: warning: "BIT_22" redefined [ 45s] #define BIT_22 0x00400000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_22 0x400000 [ 45s] [ 45s] In file included from serial_sc8800x.c:10:0: [ 45s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:65:0: warning: "BIT_23" redefined [ 45s] #define BIT_23 0x00800000 [ 45s] [ 45s] In file included from serial_sc8800x.c:4:0: [ 45s] /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 [ 45s] #define BIT_23 0x800000 [ 45s] [ 45s] ld -r -o libserial.o serial_sc8800x.o [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/serial' [ 45s] make -C drivers/spi/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 45s] rm -f libcodec.o; ar rcs libcodec.o [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/codec' [ 45s] make -C drivers/twserial/ [ 45s] rm -f libdai.o; ar rcs libdai.o [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound/dai' [ 45s] make -C drivers/usb/gadget/dwc_otg/ [ 45s] rm -f libsound.o; ar rcs libsound.o [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/sound' [ 45s] make -C drivers/usb/gadget/ [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 45s] -o sprd_spi.o sprd_spi.c -c [ 45s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 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 sprd_spi.c:1: [ 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 sprd_spi.c:4:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 46s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 46s] [ 46s] /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 [ 46s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 46s] [ 46s] In file included from sprd_spi.c:7:0: [ 46s] /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] [ 46s] PUBLIC void SPI_WaitTxFinish(); [ 46s] ^~~~~~ [ 46s] sprd_spi.c: In function 'SPI_Reset': [ 46s] sprd_spi.c:94:9: warning: unused variable 'i' [-Wunused-variable] [ 46s] uint32 i = 0; [ 46s] ^ [ 46s] sprd_spi.c: In function 'SPI_SetCsLow': [ 46s] sprd_spi.c:153:9: warning: unused variable 'temp' [-Wunused-variable] [ 46s] uint32 temp; [ 46s] ^~~~ [ 46s] sprd_spi.c: In function 'SPI_Init': [ 46s] sprd_spi.c:335:27: warning: unused variable 'ctl3' [-Wunused-variable] [ 46s] uint32 ctl0, ctl1, ctl2, ctl3; [ 46s] ^~~~ [ 46s] sprd_spi.c:335:21: warning: unused variable 'ctl2' [-Wunused-variable] [ 46s] uint32 ctl0, ctl1, ctl2, ctl3; [ 46s] ^~~~ [ 46s] sprd_spi.c:335:15: warning: unused variable 'ctl1' [-Wunused-variable] [ 46s] uint32 ctl0, ctl1, ctl2, ctl3; [ 46s] ^~~~ [ 46s] sprd_spi.c:335:9: warning: unused variable 'ctl0' [-Wunused-variable] [ 46s] uint32 ctl0, ctl1, ctl2, ctl3; [ 46s] ^~~~ [ 46s] sprd_spi.c: At top level: [ 46s] sprd_spi.c:366:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 46s] PUBLIC void SPI_WaitTxFinish() [ 46s] ^~~~~~~~~~~~~~~~ [ 46s] sprd_spi.c: In function 'SPI_WaitTxFinish': [ 46s] sprd_spi.c:370:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] [ 46s] while( !(spi_ctr_ptr->iraw)&BIT_8 ) // IS tx finish [ 46s] ^~~~~~~~~~~~~~~~~~~~ [ 46s] sprd_spi.c: In function 'SPI_WriteData': [ 46s] sprd_spi.c:387:9: warning: unused variable 'command' [-Wunused-variable] [ 46s] uint32 command; [ 46s] ^~~~~~~ [ 46s] At top level: [ 46s] sprd_spi.c:120:12: warning: 'SPI_PinConfig' defined but not used [-Wunused-function] [ 46s] LOCAL void SPI_PinConfig(void) [ 46s] ^~~~~~~~~~~~~ [ 46s] ld -r -o libspi.o sprd_spi.o [ 46s] rm -f libtws.o; ar rcs libtws.o [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/spi' [ 46s] make -C drivers/usb/host/ [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/twserial' [ 46s] make -C drivers/usb/musb/ [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/musb' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o epautoconf.o epautoconf.c -c [ 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/6.2.1/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 [ 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 epautoconf.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] rm -f libusb_host.o; ar rcs libusb_host.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o config.o config.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 dwc_otg_driver.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] dwc_otg_driver.c: In function 'dwc_otg_driver_remove': [ 46s] dwc_otg_driver.c:548:3: warning: implicit declaration of function 'pcd_remove' [-Wimplicit-function-declaration] [ 46s] pcd_remove(dwc_otg_device); [ 46s] ^~~~~~~~~~ [ 46s] dwc_otg_driver.c: In function 'dwc_otg_driver_probe': [ 46s] dwc_otg_driver.c:626:23: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 46s] dwc_otg_device->base = USB_PHYS; [ 46s] ^ [ 46s] dwc_otg_driver.c:606:6: warning: unused variable 'irq' [-Wunused-variable] [ 46s] int irq; [ 46s] ^~~ [ 46s] dwc_otg_driver.c: In function 'dwc_otg_driver_init': [ 46s] dwc_otg_driver.c:793:6: warning: unused variable 'error' [-Wunused-variable] [ 46s] int error; [ 46s] ^~~~~ [ 46s] At top level: [ 46s] dwc_otg_driver.c:69:19: warning: 'dwc_driver_name' defined but not used [-Wunused-const-variable=] [ 46s] static const char dwc_driver_name[] = "dwc_otg"; [ 46s] ^~~~~~~~~~~~~~~ [ 46s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/host' [ 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/6.2.1/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 [ 46s] rm -f libusb_musb.o; ar rcs libusb_musb.o [ 46s] make -C drivers/usb/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 config.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] 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 dwc_os.h:220, [ 46s] from dwc_otg_cil.c:60: [ 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/usb/musb' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o usbstring.o usbstring.c -c [ 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/6.2.1/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 [ 46s] dwc_otg_cil.c: In function 'calc_num_in_eps': [ 46s] dwc_otg_cil.c:436:11: warning: unused variable 'num_tx_fifos' [-Wunused-variable] [ 46s] uint32_t num_tx_fifos = core_if->hwcfg4.b.num_in_eps; [ 46s] ^~~~~~~~~~~~ [ 46s] dwc_otg_cil.c: In function 'dwc_otg_ep0_continue_transfer': [ 46s] dwc_otg_cil.c:2886:19: warning: variable 'tx_status' set but not used [-Wunused-but-set-variable] [ 46s] gnptxsts_data_t tx_status = {.d32 = 0 }; [ 46s] ^~~~~~~~~ [ 46s] dwc_otg_cil.c: In function 'dwc_otg_dump_dev_registers': [ 46s] dwc_otg_cil.c:3257:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 46s] volatile uint32_t *addr; [ 46s] ^~~~ [ 46s] dwc_otg_cil.c: In function 'dwc_otg_dump_host_registers': [ 46s] dwc_otg_cil.c:3414:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 46s] volatile uint32_t *addr; [ 46s] ^~~~ [ 46s] dwc_otg_cil.c: In function 'dwc_otg_dump_global_registers': [ 46s] dwc_otg_cil.c:3471:21: warning: variable 'addr' set but not used [-Wunused-but-set-variable] [ 46s] volatile uint32_t *addr; [ 46s] ^~~~ [ 46s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 46s] dwc_otg_cil.c: In function 'dwc_otg_set_prtpower': [ 46s] dwc_otg_cil.c:5089:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 46s] hprt0_data_t hprt0; [ 46s] ^~~~~ [ 46s] dwc_otg_cil.c: In function 'dwc_otg_set_prtsuspend': [ 46s] dwc_otg_cil.c:5105:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 46s] hprt0_data_t hprt0; [ 46s] ^~~~~ [ 46s] dwc_otg_cil.c: In function 'dwc_otg_set_prtresume': [ 46s] dwc_otg_cil.c:5113:15: warning: variable 'hprt0' set but not used [-Wunused-but-set-variable] [ 46s] hprt0_data_t hprt0; [ 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 usbstring.c:13: [ 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 /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 dwc_os.h:220, [ 46s] from dwc_otg_cil_intr.c:42: [ 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] dwc_otg_cil_intr.c: In function 'dwc_otg_handle_usb_suspend_intr': [ 46s] dwc_otg_cil_intr.c:651:14: warning: variable 'dsts' set but not used [-Wunused-but-set-variable] [ 46s] dsts_data_t dsts; [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 46s] -o serial.o serial.c -c [ 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/6.2.1/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 [ 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 serial.c:12: [ 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 u_serial.h:15:0, [ 46s] from serial.c:25: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:379:0: warning: "pr_warning" redefined [ 46s] #define pr_warning(args...) [ 46s] [ 46s] In file included from serial.c:13:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:243:0: note: this is the location of the previous definition [ 46s] #define pr_warning(fmt, ...) \ [ 46s] [ 46s] In file included from u_serial.h:15:0, [ 46s] from serial.c:25: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/usb/composite.h:380:0: warning: "pr_debug" redefined [ 46s] #define pr_debug(args...) [ 46s] [ 46s] In file included from serial.c:13:0: [ 46s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:256:0: note: this is the location of the previous definition [ 46s] #define pr_debug(fmt, ...) [ 46s] [ 46s] In file included from serial.c:52:0: [ 46s] f_acm.c: In function 'acm_complete_set_line_coding': [ 46s] f_acm.c:270:28: warning: unused variable 'cdev' [-Wunused-variable] [ 46s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 46s] ^~~~ [ 46s] f_acm.c: In function 'acm_disable': [ 46s] f_acm.c:421:28: warning: unused variable 'cdev' [-Wunused-variable] [ 46s] struct usb_composite_dev *cdev = f->config->cdev; [ 46s] ^~~~ [ 46s] f_acm.c: In function 'acm_notify_serial_state': [ 46s] f_acm.c:488:28: warning: unused variable 'cdev' [-Wunused-variable] [ 46s] struct usb_composite_dev *cdev = acm->port.func.config->cdev; [ 46s] ^~~~ [ 46s] In file included from serial.c:53:0: [ 46s] f_obex.c: In function 'obex_disable': [ 46s] f_obex.c:266:28: warning: unused variable 'cdev' [-Wunused-variable] [ 46s] struct usb_composite_dev *cdev = f->config->cdev; [ 46s] ^~~~ [ 46s] f_obex.c: In function 'obex_connect': [ 46s] f_obex.c:277:28: warning: unused variable 'cdev' [-Wunused-variable] [ 46s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 46s] ^~~~ [ 46s] f_obex.c: In function 'obex_disconnect': [ 46s] f_obex.c:292:28: warning: unused variable 'cdev' [-Wunused-variable] [ 46s] struct usb_composite_dev *cdev = g->func.config->cdev; [ 46s] ^~~~ [ 46s] In file included from serial.c:54:0: [ 46s] f_serial.c: In function 'gser_disable': [ 46s] f_serial.c:199:28: warning: unused variable 'cdev' [-Wunused-variable] [ 46s] struct usb_composite_dev *cdev = f->config->cdev; [ 46s] ^~~~ [ 46s] In file included from serial.c:55:0: [ 46s] u_serial.c: In function 'gs_start_tx': [ 46s] u_serial.c:369:9: warning: variable 'do_tty_wake' set but not used [-Wunused-but-set-variable] [ 46s] bool do_tty_wake = false; [ 46s] ^~~~~~~~~~~ [ 46s] u_serial.c: In function 'gs_read': [ 46s] u_serial.c:779:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 46s] memcpy(buf, packet, size); [ 46s] ^~~ [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 46s] from serial.c:13: [ 46s] /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 *' [ 46s] void* memcpy(void*, const void*, size_t); [ 46s] ^~~~~~ [ 46s] In file included from serial.c:55:0: [ 46s] u_serial.c:782:12: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 46s] memcpy(buf, packet, *count); [ 46s] ^~~ [ 46s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:19:0, [ 46s] from serial.c:13: [ 46s] /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 *' [ 46s] void* memcpy(void*, const void*, size_t); [ 46s] ^~~~~~ [ 46s] In file included from serial.c:55:0: [ 46s] u_serial.c:788:1: warning: label 'recycle' defined but not used [-Wunused-label] [ 46s] recycle: [ 46s] ^~~~~~~ [ 46s] u_serial.c: In function 'gs_write': [ 46s] u_serial.c:808:45: warning: pointer targets in passing argument 2 of 'gs_buf_put' differ in signedness [-Wpointer-sign] [ 46s] count = gs_buf_put(&port->port_write_buf, buf, count); [ 46s] ^~~ [ 46s] u_serial.c:224:1: note: expected 'const char *' but argument is of type 'const unsigned char *' [ 46s] gs_buf_put(struct gs_buf *gb, const char *buf, unsigned count) [ 46s] ^~~~~~~~~~ [ 46s] u_serial.c: In function 'gserial_connect': [ 46s] u_serial.c:1540:16: warning: unused variable 'flags' [-Wunused-variable] [ 46s] unsigned long flags; [ 46s] ^~~~~ [ 46s] u_serial.c: In function 'gserial_disconnect': [ 46s] u_serial.c:1614:16: warning: unused variable 'flags' [-Wunused-variable] [ 46s] unsigned long flags; [ 46s] ^~~~~ [ 46s] serial.c: At top level: [ 46s] serial.c:57:0: warning: "pr_warning" redefined [ 46s] #define pr_warning(args...) printf(##args) [ 46s] [ 46s] In file included from u_serial.h:15:0, [ 46s] from serial.c:25: [ 46s] /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 [ 46s] #define pr_warning(args...) [ 46s] [ 46s] In file included from serial.c:55:0: [ 46s] u_serial.c:1456:12: warning: 'gs_closed' defined but not used [-Wunused-function] [ 46s] static int gs_closed(struct gs_port *port) [ 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 dwc_otg_pcd_linux.c:60: [ 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] [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 47s] from dwc_otg_pcd_linux.c:63: [ 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 dwc_otg_pcd_linux.c:60: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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 47s] from dwc_otg_pcd_linux.c:63: [ 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 dwc_otg_pcd_linux.c:60: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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 47s] from dwc_otg_pcd_linux.c:525: [ 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 dwc_otg_pcd_linux.c:527:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_global.h:21:0: warning: "GREG_BASE" redefined [ 47s] #define GREG_BASE 0x4B000000 [ 47s] [ 47s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 47s] from dwc_otg_pcd_linux.c:525: [ 47s] /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 [ 47s] #define GREG_BASE CTL_BASE_GLB_REG [ 47s] [ 47s] dwc_otg_pcd_linux.c: In function 'alloc_wrapper': [ 47s] dwc_otg_pcd_linux.c:1015:6: warning: unused variable 'retval' [-Wunused-variable] [ 47s] int retval; [ 47s] ^~~~~~ [ 47s] dwc_otg_pcd_linux.c: In function 'pcd_init': [ 47s] dwc_otg_pcd_linux.c:1076:6: warning: unused variable 'irq' [-Wunused-variable] [ 47s] int irq; [ 47s] ^~~ [ 47s] dwc_otg_pcd_linux.c: In function 'pcd_remove': [ 47s] dwc_otg_pcd_linux.c:1128:17: warning: unused variable 'pcd' [-Wunused-variable] [ 47s] dwc_otg_pcd_t *pcd = otg_dev->pcd; [ 47s] ^~~ [ 47s] At top level: [ 47s] dwc_otg_pcd_linux.c:1002:13: warning: 'dwc_otg_pcd_gadget_release' defined but not used [-Wunused-function] [ 47s] static void dwc_otg_pcd_gadget_release(struct device *dev) [ 47s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 47s] rm -f libusb_phy.o; ar rcs libusb_phy.o [ 47s] make -C drivers/video/ [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/phy' [ 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/6.2.1/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 [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 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 dwc_os.h:220, [ 47s] from usb.h:44, [ 47s] from dwc_otg_pcd.h:37, [ 47s] from dwc_otg_pcd.c:51: [ 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] dwc_otg_pcd.c: In function 'start_xfer_tasklet_func': [ 47s] dwc_otg_pcd.c:1064:17: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 47s] depctl_data_t diepctl; [ 47s] ^~~~~~~ [ 47s] dwc_otg_pcd.c:1051:16: warning: variable 'diepctl' set but not used [-Wunused-but-set-variable] [ 47s] depctl_data_t diepctl; [ 47s] ^~~~~~~ [ 47s] dwc_otg_pcd.c: In function 'dwc_otg_pcd_ep_queue': [ 47s] dwc_otg_pcd.c:1534:6: warning: unused variable 'prevented' [-Wunused-variable] [ 47s] int prevented = 0; [ 47s] ^~~~~~~~~ [ 47s] At top level: [ 47s] dwc_otg_pcd.c:1045:13: warning: 'start_xfer_tasklet_func' defined but not used [-Wunused-function] [ 47s] static void start_xfer_tasklet_func(void *data) [ 47s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 47s] dwc_otg_pcd.c:996:13: warning: 'srp_timeout' defined but not used [-Wunused-function] [ 47s] static void srp_timeout(void *ptr) [ 47s] ^~~~~~~~~~~ [ 47s] dwc_otg_pcd.c:77:13: warning: 'dump_log' defined but not used [-Wunused-function] [ 47s] static void dump_log(unsigned char * buf, int len, int direction) [ 47s] ^~~~~~~~ [ 47s] ld -r -o libusb_gadget.o epautoconf.o config.o usbstring.o serial.o [ 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/6.2.1/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 [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget' [ 47s] make -C drivers/video/sprdfb/dsi_1_21a/ [ 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/6.2.1/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 [ 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 dwc_os.h:220, [ 47s] from usb.h:44, [ 47s] from dwc_otg_pcd.h:37, [ 47s] from dwc_otg_pcd_intr.c:34: [ 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] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_np_tx_fifo_empty_intr': [ 47s] dwc_otg_pcd_intr.c:456:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 47s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 47s] ^~~~~~~ [ 47s] dwc_otg_pcd_intr.c: In function 'write_empty_tx_fifo': [ 47s] dwc_otg_pcd_intr.c:520:28: warning: variable 'ep_regs' set but not used [-Wunused-but-set-variable] [ 47s] dwc_otg_dev_in_ep_regs_t *ep_regs; [ 47s] ^~~~~~~ [ 47s] dwc_otg_pcd_intr.c: In function 'dwc_otg_pcd_handle_in_ep_intr': [ 47s] dwc_otg_pcd_intr.c:3290:13: warning: variable 'empty_msk' set but not used [-Wunused-but-set-variable] [ 47s] uint32_t empty_msk; [ 47s] ^~~~~~~~~ [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/dsi_1_21a' [ 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 dwc_common_linux.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] In file included from dwc_common_linux.c:15:0: [ 47s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/usb.h:190:13: warning: inline function 'wait_ms' declared but never defined [ 47s] inline void wait_ms(unsigned long ms); [ 47s] ^~~~~~~ [ 47s] rm -f libvideo.o; ar rcs libvideo.o [ 47s] make -C drivers/video/sprdfb/lcd/ [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video' [ 47s] make -C drivers/video/sprdfb/ [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 47s] 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 [ 47s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/usb/gadget/dwc_otg' [ 47s] make -C drivers/watchdog/ [ 47s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/watchdog' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o mipi_dsih_api.o mipi_dsih_api.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 mipi_dsih_local.h:44, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 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/asm/arch/dispc_reg.h:19:0, [ 48s] from ../sprdfb_chip_common.h:18, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from ../sprdfb_chip_common.h:19, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 48s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from mipi_dsih_local.h:44:0, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 48s] #define MAX(x, y) max(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from ../sprdfb_chip_common.h:19, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 48s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from mipi_dsih_local.h:44:0, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 48s] #define MIN(x, y) min(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 48s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 48s] [ 48s] In file included from ../sprdfb_chip_common.h:19:0, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /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 [ 48s] #define SPRD_PWM_BASE 0x88000000 [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 48s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 48s] from ../sprdfb_chip_common.h:18, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /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 [ 48s] #define ADC_BASE 0x40038300 //Aux ADC [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o lcd_s6e8aa5x01_mipi.o lcd_s6e8aa5x01_mipi.c -c [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_api.h:40, [ 48s] from mipi_dsih_api.c:9: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 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/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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20, [ 48s] from lcd_s6e8aa5x01_mipi.c:16: [ 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/asm/arch/sprd_lcd.h:23:0, [ 48s] from lcd_s6e8aa5x01_mipi.c:16: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 48s] #define MIN(x, y) min(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from lcd_s6e8aa5x01_mipi.c:16: [ 48s] /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 [ 48s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:23:0, [ 48s] from lcd_s6e8aa5x01_mipi.c:16: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 48s] #define MAX(x, y) max(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from lcd_s6e8aa5x01_mipi.c:16: [ 48s] /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 [ 48s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_readid': [ 48s] lcd_s6e8aa5x01_mipi.c:134:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 48s] int32_t read_rtn = 0; [ 48s] ^~~~~~~~ [ 48s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_mtp': [ 48s] lcd_s6e8aa5x01_mipi.c:296:2: warning: implicit declaration of function 'save_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 48s] save_mtp_offset_to_kernel(mtp_offset); [ 48s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 48s] lcd_s6e8aa5x01_mipi.c:261:19: warning: unused variable 'mipi_dcs_write' [-Wunused-variable] [ 48s] mipi_dcs_write_t mipi_dcs_write = [ 48s] ^~~~~~~~~~~~~~ [ 48s] lcd_s6e8aa5x01_mipi.c:256:10: warning: unused variable 'size' [-Wunused-variable] [ 48s] int32_t size = 0; [ 48s] ^~~~ [ 48s] lcd_s6e8aa5x01_mipi.c:254:10: warning: variable 'read_rtn' set but not used [-Wunused-but-set-variable] [ 48s] int32_t read_rtn = 0; [ 48s] ^~~~~~~~ [ 48s] lcd_s6e8aa5x01_mipi.c:251:17: warning: unused variable 'g_para' [-Wunused-variable] [ 48s] LCM_Init_Code *g_para = NULL; [ 48s] ^~~~~~ [ 48s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_elvss': [ 48s] lcd_s6e8aa5x01_mipi.c:347:2: warning: implicit declaration of function 'save_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 48s] save_elvss_offset_to_kernel(elvss_offset); [ 48s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 48s] lcd_s6e8aa5x01_mipi.c:309:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 48s] int32_t size = 0; [ 48s] ^~~~ [ 48s] lcd_s6e8aa5x01_mipi.c:304:17: warning: unused variable 'hbm' [-Wunused-variable] [ 48s] LCM_Init_Code *hbm = NULL; [ 48s] ^~~ [ 48s] lcd_s6e8aa5x01_mipi.c: In function 's6e8aa5x01_check_hbm': [ 48s] lcd_s6e8aa5x01_mipi.c:398:2: warning: implicit declaration of function 'save_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 48s] save_hbm_offset_to_kernel(hbm_g); [ 48s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 48s] lcd_s6e8aa5x01_mipi.c:360:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] [ 48s] int32_t size = 0; [ 48s] ^~~~ [ 48s] lcd_s6e8aa5x01_mipi.c:355:17: warning: unused variable 'hbm' [-Wunused-variable] [ 48s] LCM_Init_Code *hbm = NULL; [ 48s] ^~~ [ 48s] At top level: [ 48s] lcd_s6e8aa5x01_mipi.c:72:22: warning: 'disp_on' defined but not used [-Wunused-variable] [ 48s] static LCM_Init_Code disp_on = {LCM_SEND(1), {0x29}}; [ 48s] ^~~~~~~ [ 48s] ld -r -o liblcd.o lcd_s6e8aa5x01_mipi.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o mipi_dsih_hal.o mipi_dsih_hal.c -c [ 48s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb/lcd' [ 48s] make -C fs/cramfs/ [ 48s] rm -f libwatchdog.o; ar rcs libwatchdog.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 mipi_dsih_local.h:44, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 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/watchdog' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o mipi_dsih_dphy.o mipi_dsih_dphy.c -c [ 48s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/cramfs' [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 48s] from ../sprdfb_chip_common.h:18, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from ../sprdfb_chip_common.h:19, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 48s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from mipi_dsih_local.h:44:0, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 48s] #define MAX(x, y) max(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from ../sprdfb_chip_common.h:19, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 48s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from mipi_dsih_local.h:44:0, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 48s] #define MIN(x, y) min(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 48s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 48s] [ 48s] In file included from ../sprdfb_chip_common.h:19:0, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /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 [ 48s] #define SPRD_PWM_BASE 0x88000000 [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 48s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 48s] from ../sprdfb_chip_common.h:18, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /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 [ 48s] #define ADC_BASE 0x40038300 //Aux ADC [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_hal.h:41, [ 48s] from mipi_dsih_hal.c:8: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 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 mipi_dsih_local.h:44, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 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/asm/arch/dispc_reg.h:19:0, [ 48s] from ../sprdfb_chip_common.h:18, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from ../sprdfb_chip_common.h:19, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 48s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from mipi_dsih_local.h:44:0, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 48s] #define MAX(x, y) max(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from ../sprdfb_chip_common.h:19, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 48s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from mipi_dsih_local.h:44:0, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 48s] #define MIN(x, y) min(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 48s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 48s] [ 48s] In file included from ../sprdfb_chip_common.h:19:0, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /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 [ 48s] #define SPRD_PWM_BASE 0x88000000 [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 48s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 48s] from ../sprdfb_chip_common.h:18, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /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 [ 48s] #define ADC_BASE 0x40038300 //Aux ADC [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 48s] from ../sprdfb_chip_8830.h:18, [ 48s] from ../sprdfb_chip_common.h:30, [ 48s] from mipi_dsih_local.h:45, [ 48s] from mipi_dsih_dphy.h:11, [ 48s] from mipi_dsih_dphy.c:8: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 48s] [ 48s] make -C fs/ext2/ [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o sprdfb_main.o sprdfb_main.c -c [ 48s] mipi_dsih_dphy.c: In function 'mipi_dsih_dphy_calibration': [ 48s] mipi_dsih_dphy.c:98:35: warning: 'sv_data[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 48s] sv_data[1] =(sv_data[1]&0x1c) >>2; [ 48s] ~~~~~~~~~~~~~~~~~~^~~ [ 48s] mipi_dsih_dphy.c:97:35: warning: 'sv_data[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 48s] sv_data[0] =(sv_data[0]&0x1c) >>2; [ 48s] ~~~~~~~~~~~~~~~~~~^~~ [ 48s] ld -r -o libsprdfb_dsi.o mipi_dsih_api.o mipi_dsih_hal.o mipi_dsih_dphy.o [ 48s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 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 sprdfb_main.c:15: [ 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/video/sprdfb/dsi_1_21a' [ 48s] make -C fs/ext4/ [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from sprdfb_main.c:19: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 48s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from sprdfb_main.c:15:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 48s] #define MAX(x, y) max(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from sprdfb_main.c:19: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 48s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from sprdfb_main.c:15:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 48s] #define MIN(x, y) min(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 48s] from sprdfb_main.c:28: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 48s] #define KPD_NUM (0x31 << 16) [ 48s] [ 48s] /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 [ 48s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 48s] from sprdfb_main.c:28: [ 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] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:217:0: warning: "GREG_BASE" redefined [ 48s] #define GREG_BASE CTL_BASE_GLB_REG [ 48s] [ 48s] In file included from sprdfb_main.c:27:0: [ 48s] /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 [ 48s] #define GREG_BASE 0x4B000000 [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from sprdfb_main.c:29: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 48s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 48s] [ 48s] In file included from sprdfb_main.c:19:0: [ 48s] /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 [ 48s] #define SPRD_PWM_BASE 0x88000000 [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from sprdfb_main.c:29: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 48s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_cpc.h:18, [ 48s] from sprdfb_main.c:28: [ 48s] /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 [ 48s] #define ADC_BASE 0x40038300 //Aux ADC [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 48s] from sprdfb_main.c:29: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 48s] from sprdfb_main.c:29: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 48s] [ 48s] sprdfb_main.c: In function 'set_backlight': [ 48s] sprdfb_main.c:268:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 48s] sprd_gpio_request(NULL, BACKLIGHT_GPIO); [ 48s] ^~~~~~~~~~~~~~~~~ [ 48s] sprdfb_main.c:269:3: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 48s] sprd_gpio_direction_output(NULL, BACKLIGHT_GPIO, 0); [ 48s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 48s] sprdfb_main.c:282:3: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 48s] sprd_gpio_set(NULL, BACKLIGHT_GPIO, 0); [ 48s] ^~~~~~~~~~~~~ [ 48s] sprdfb_main.c: In function 'save_mtp_offset_to_kernel': [ 48s] sprdfb_main.c:411:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 48s] hex_encoder((unsigned char *)mtp, mtp_offset, (MTP_LEN + 6)); [ 48s] ^~~~~~~~~~ [ 48s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 48s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 48s] ^~~~~~~~~~~ [ 48s] sprdfb_main.c: In function 'save_hbm_offset_to_kernel': [ 48s] sprdfb_main.c:432:36: warning: pointer targets in passing argument 2 of 'hex_encoder' differ in signedness [-Wpointer-sign] [ 48s] hex_encoder((unsigned char *)hbm, hbm_g, 15); [ 48s] ^~~~~ [ 48s] sprdfb_main.c:397:13: note: expected 'char *' but argument is of type 'unsigned char *' [ 48s] static void hex_encoder(unsigned char *in, char *out, int sz) [ 48s] ^~~~~~~~~~~ [ 48s] sprdfb_main.c: In function 'byte2hex': [ 48s] sprdfb_main.c:395:1: warning: control reaches end of non-void function [-Wreturn-type] [ 48s] } [ 48s] ^ [ 48s] At top level: [ 48s] sprdfb_main.c:108:15: warning: 'get_adie_chipid' defined but not used [-Wunused-function] [ 48s] static uint32 get_adie_chipid(void) [ 48s] ^~~~~~~~~~~~~~~ [ 48s] sprdfb_main.c:67:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 48s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o sprdfb_panel.o sprdfb_panel.c -c [ 48s] rm -f libcramfs.o; ar rcs libcramfs.o [ 48s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 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 sprdfb_panel.c:6: [ 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/fs/cramfs' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o sprdfb_dispc.o sprdfb_dispc.c -c [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from sprdfb_panel.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 48s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from sprdfb_panel.c:6:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 48s] #define MAX(x, y) max(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from sprdfb_panel.c:8: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 48s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from sprdfb_panel.c:6:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 48s] #define MIN(x, y) min(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 48s] from sprdfb_panel.c:9: [ 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] sprdfb_panel.c: In function 'panel_reset_dispc': [ 48s] sprdfb_panel.c:438:2: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 48s] sprd_gpio_request(NULL, 103); [ 48s] ^~~~~~~~~~~~~~~~~ [ 48s] sprdfb_panel.c:439:2: warning: implicit declaration of function 'sprd_gpio_direction_output' [-Wimplicit-function-declaration] [ 48s] sprd_gpio_direction_output(NULL, 103, 0); [ 48s] ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 48s] sprdfb_panel.c:440:2: warning: implicit declaration of function 'sprd_gpio_set' [-Wimplicit-function-declaration] [ 48s] sprd_gpio_set(NULL, 103, 1); [ 48s] ^~~~~~~~~~~~~ [ 48s] sprdfb_panel.c: In function 'adapt_panel_from_readid': [ 48s] sprdfb_panel.c:573:4: warning: implicit declaration of function 'save_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 48s] save_lcd_id_to_kernel(id); [ 48s] ^~~~~~~~~~~~~~~~~~~~~ [ 48s] make -C fs/fat/ [ 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 sprdfb_dispc.c:15: [ 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 sprdfb_dispc.c:17:0: [ 48s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list will not be visible outside of this definition or declaration [ 48s] int32_t (*panel_if_check)(struct panel_spec *self); [ 48s] ^~~~~~~~~~ [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 48s] from sprdfb_chip_common.h:18, [ 48s] from sprdfb_dispc.c:18: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from sprdfb_chip_common.h:19, [ 48s] from sprdfb_dispc.c:18: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 48s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from sprdfb_dispc.c:15:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 48s] #define MAX(x, y) max(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 48s] from sprdfb_chip_common.h:19, [ 48s] from sprdfb_dispc.c:18: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 48s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 48s] [ 48s] In file included from sprdfb_dispc.c:15:0: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 48s] #define MIN(x, y) min(x, y) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from sprdfb_chip_8830.h:18, [ 48s] from sprdfb_chip_common.h:30, [ 48s] from sprdfb_dispc.c:18: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 48s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 48s] [ 48s] In file included from sprdfb_chip_common.h:19:0, [ 48s] from sprdfb_dispc.c:18: [ 48s] /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 [ 48s] #define SPRD_PWM_BASE 0x88000000 [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 48s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 48s] from sprdfb_chip_8830.h:18, [ 48s] from sprdfb_chip_common.h:30, [ 48s] from sprdfb_dispc.c:18: [ 48s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 48s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 48s] from sprdfb_chip_common.h:18, [ 48s] from sprdfb_dispc.c:18: [ 48s] /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 [ 48s] #define ADC_BASE 0x40038300 //Aux ADC [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 48s] from sprdfb_chip_8830.h:18, [ 48s] from sprdfb_chip_common.h:30, [ 48s] from sprdfb_dispc.c:18: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 48s] [ 48s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 48s] from sprdfb_chip_8830.h:18, [ 48s] from sprdfb_chip_common.h:30, [ 48s] from sprdfb_dispc.c:18: [ 48s] /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 [ 48s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 48s] -o sprdfb_mcu.o sprdfb_mcu.c -c [ 48s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 48s] rm -f libext2fs.o; ar rcs libext2fs.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 sprdfb_mcu.c:6: [ 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/sprd_lcd.h:20:0, [ 49s] from sprdfb_mcu.c:8: [ 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 sprdfb_mcu.c:6: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/sprd_lcd.h:20:0, [ 49s] from sprdfb_mcu.c:8: [ 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 sprdfb_mcu.c:6: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] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext2' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o sprdfb_rgb.o sprdfb_rgb.c -c [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 49s] from sprdfb_mcu.c:9: [ 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] make -C fs/fdos/ [ 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 sprdfb_rgb.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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 49s] from sprdfb_rgb.c:6: [ 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 sprdfb_rgb.c:4: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/sprd_lcd.h:20:0, [ 49s] from sprdfb_rgb.c:6: [ 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 sprdfb_rgb.c:4: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/dispc_reg.h:19:0, [ 49s] from sprdfb_rgb.c:7: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_rgb.c:9: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 49s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 49s] [ 49s] In file included from sprdfb_rgb.c:6:0: [ 49s] /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 [ 49s] #define SPRD_PWM_BASE 0x88000000 [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_rgb.c:9: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 49s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 49s] from sprdfb_rgb.c:7: [ 49s] /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 [ 49s] #define ADC_BASE 0x40038300 //Aux ADC [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_rgb.c:9: [ 49s] /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 [ 49s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_rgb.c:9: [ 49s] /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 [ 49s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 49s] [ 49s] sprdfb_rgb.c: In function 'rgb_readid': [ 49s] sprdfb_rgb.c:28:85: warning: passing argument 4 of 'rgb->bus_info.i2c->ops->i2c_read_16bits' from incompatible pointer type [-Wincompatible-pointer-types] [ 49s] rgb->bus_info.i2c->ops->i2c_read_16bits(rgb->bus_info.i2c->i2c_addr , 0x0, FALSE, &id, FALSE); [ 49s] ^ [ 49s] sprdfb_rgb.c:28:85: note: expected 'uint16_t * {aka short unsigned int *}' but argument is of type 'uint32_t * {aka unsigned int *}' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o sprdfb_mipi.o sprdfb_mipi.c -c [ 49s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 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 sprdfb_mipi.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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 49s] from sprdfb_mipi.c:6: [ 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 sprdfb_mipi.c:4: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/sprd_lcd.h:20:0, [ 49s] from sprdfb_mipi.c:6: [ 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 sprdfb_mipi.c:4: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/dispc_reg.h:19:0, [ 49s] from sprdfb_mipi.c:7: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o sprdfb_i2c.o sprdfb_i2c.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o fat_write.o fat_write.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o ext4fs.o ext4fs.c -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 sprdfb_i2c.c:5: [ 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/sprd_lcd.h:20:0, [ 49s] from sprdfb_i2c.c:7: [ 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 sprdfb_i2c.c:5: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/sprd_lcd.h:20:0, [ 49s] from sprdfb_i2c.c:7: [ 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 sprdfb_i2c.c:5: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] sprdfb_i2c.c: In function 'sprdfb_i2c_read_8bits': [ 49s] sprdfb_i2c.c:79:27: warning: passing argument 2 of 'I2C_ReadCmd' makes pointer from integer without a cast [-Wint-conversion] [ 49s] ret = I2C_ReadCmd(addr, *val, TRUE); [ 49s] ^ [ 49s] In file included from sprdfb_i2c.c:8:0: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_i2c.h:100:18: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'uint8_t {aka unsigned char}' [ 49s] PUBLIC ERR_I2C_E I2C_ReadCmd(uint8 addr,uint8 *pCmd,BOOLEAN ack_en); [ 49s] ^~~~~~~~~~~ [ 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 fat_write.c:25: [ 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/config.h:4:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 49s] from ext4fs.c:36: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o sprdfb_spi.o sprdfb_spi.c -c [ 49s] fat_write.c: In function 'delete_long_file_name': [ 49s] fat_write.c:482:15: warning: unused variable 'cur_position' [-Wunused-variable] [ 49s] int idx = 0, cur_position = 0; [ 49s] ^~~~~~~~~~~~ [ 49s] fat_write.c:482:6: warning: unused variable 'idx' [-Wunused-variable] [ 49s] int idx = 0, cur_position = 0; [ 49s] ^~~ [ 49s] fat_write.c: In function 'delete_directory_entry': [ 49s] fat_write.c:1207:7: warning: unused variable 'mark_cnt' [-Wunused-variable] [ 49s] int mark_cnt; [ 49s] ^~~~~~~~ [ 49s] fat_write.c: In function 'do_fat_rm': [ 49s] fat_write.c:1386:6: warning: unused variable 'i' [-Wunused-variable] [ 49s] int i; [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o ext4_common.o ext4_common.c -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 sprdfb_spi.c:5: [ 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 sprdfb_spi.c:6:0: [ 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 sprdfb_spi.c:5: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 sprdfb_spi.c:6:0: [ 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 sprdfb_spi.c:5: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] rm -f libfdos.o; ar rcs libfdos.o [ 49s] In file included from sprdfb_spi.c:8:0: [ 49s] /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] [ 49s] PUBLIC void SPI_WaitTxFinish(); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o sprdfb_dsi.o sprdfb_dsi.c -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 ext4_common.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] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fdos' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o dev.o dev.c -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 sprdfb_dsi.c:5: [ 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 sprdfb_dsi.c:10:0: [ 49s] sprdfb.h:45:35: warning: 'struct panel_spec' declared inside parameter list will not be visible outside of this definition or declaration [ 49s] int32_t (*panel_if_check)(struct panel_spec *self); [ 49s] ^~~~~~~~~~ [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 49s] from sprdfb_chip_common.h:18, [ 49s] from sprdfb_dsi.c:11: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 49s] from sprdfb_chip_common.h:19, [ 49s] from sprdfb_dsi.c:11: [ 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 sprdfb_dsi.c:5: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/sprd_lcd.h:20:0, [ 49s] from sprdfb_chip_common.h:19, [ 49s] from sprdfb_dsi.c:11: [ 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 sprdfb_dsi.c:5: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/hardware.h:31:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_dsi.c:11: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 49s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 49s] [ 49s] In file included from sprdfb_chip_common.h:19:0, [ 49s] from sprdfb_dsi.c:11: [ 49s] /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 [ 49s] #define SPRD_PWM_BASE 0x88000000 [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_dsi.c:11: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 49s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 49s] from sprdfb_chip_common.h:18, [ 49s] from sprdfb_dsi.c:11: [ 49s] /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 [ 49s] #define ADC_BASE 0x40038300 //Aux ADC [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_dsi.c:11: [ 49s] /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 [ 49s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_dsi.c:11: [ 49s] /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 [ 49s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 49s] [ 49s] sprdfb_dsi.c: In function 'sprdfb_dsi_set_lp_mode': [ 49s] sprdfb_dsi.c:374:11: warning: unused variable 'reg_val' [-Wunused-variable] [ 49s] uint32_t reg_val; [ 49s] ^~~~~~~ [ 49s] sprdfb_dsi.c: At top level: [ 49s] sprdfb_dsi.c:448:1: warning: data definition has no type or storage class [ 49s] EXPORT_SYMBOL(backlight_control); [ 49s] ^~~~~~~~~~~~~ [ 49s] sprdfb_dsi.c:448:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] [ 49s] sprdfb_dsi.c:448:1: warning: parameter names (without types) in function declaration [ 49s] sprdfb_dsi.c:38:13: warning: '__raw_bits_and' defined but not used [-Wunused-function] [ 49s] static void __raw_bits_and(unsigned int v, unsigned int a) [ 49s] ^~~~~~~~~~~~~~ [ 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 dev.c:39: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o ext4_write.o ext4_write.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o sprdfb_chip_common.o sprdfb_chip_common.c -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 ext4_write.c:37: [ 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/config.h:4:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:37, [ 49s] from sprdfb_chip_common.h:17, [ 49s] from sprdfb_chip_common.c:17: [ 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/dispc_reg.h:19:0, [ 49s] from sprdfb_chip_common.h:18, [ 49s] from sprdfb_chip_common.c:17: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_lcd.h:20:0, [ 49s] from sprdfb_chip_common.h:19, [ 49s] from sprdfb_chip_common.c:17: [ 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 sprdfb_chip_common.h:17:0, [ 49s] from sprdfb_chip_common.c:17: [ 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/sprd_lcd.h:20:0, [ 49s] from sprdfb_chip_common.h:19, [ 49s] from sprdfb_chip_common.c:17: [ 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 sprdfb_chip_common.h:17:0, [ 49s] from sprdfb_chip_common.c:17: [ 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/hardware.h:31:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_chip_common.c:17: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:226:0: warning: "SPRD_PWM_BASE" redefined [ 49s] #define SPRD_PWM_BASE SCI_IOMAP(0x20a000) [ 49s] [ 49s] In file included from sprdfb_chip_common.h:19:0, [ 49s] from sprdfb_chip_common.c:17: [ 49s] /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 [ 49s] #define SPRD_PWM_BASE 0x88000000 [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 49s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_chip_common.c:17: [ 49s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 49s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dispc_reg.h:19:0, [ 49s] from sprdfb_chip_common.h:18, [ 49s] from sprdfb_chip_common.c:17: [ 49s] /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 [ 49s] #define ADC_BASE 0x40038300 //Aux ADC [ 49s] [ 49s] ld -r -o libfat.o fat_write.o [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_chip_common.c:17: [ 49s] /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 [ 49s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 49s] [ 49s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 49s] from sprdfb_chip_8830.h:18, [ 49s] from sprdfb_chip_common.h:30, [ 49s] from sprdfb_chip_common.c:17: [ 49s] /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 [ 49s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o sprdfb_chip_8830.o sprdfb_chip_8830.c -c [ 49s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/fat' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 49s] -o ext4_journal.o ext4_journal.c -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 sprdfb_chip_common.h:17, [ 49s] from sprdfb_chip_8830.c:15: [ 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] [ 50s] make -C fs/jffs2/ [ 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_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_common.h:17:0, [ 50s] from sprdfb_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_common.h:17:0, [ 50s] from sprdfb_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_8830.c:15: [ 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_chip_8830.c: In function 'dsi_enable': [ 50s] sprdfb_chip_8830.c:25:2: warning: implicit declaration of function '__raw_bits_and' [-Wimplicit-function-declaration] [ 50s] __raw_bits_and(~BIT_DSI_PHY_PD, REG_AON_APB_PWR_CTRL); [ 50s] ^~~~~~~~~~~~~~ [ 50s] 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 [ 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 ext4_journal.c:32: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 50s] -o crc16.o crc16.c -c [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/drivers/video/sprdfb' [ 50s] make -C fs/reiserfs/ [ 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 crc16.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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 50s] -o ext4_rw.o ext4_rw.c -c [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 50s] make -C fs/ubifs/ [ 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 ext4_rw.c:2: [ 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] ld -r -o libext4fs.o ext4fs.o ext4_common.o dev.o ext4_write.o ext4_journal.o crc16.o ext4_rw.o [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ext4' [ 50s] make -C fs/yaffs2/ [ 50s] rm -f libjffs2.o; ar rcs libjffs2.o [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/jffs2' [ 50s] make -C lib/libfdt/ [ 50s] rm -f libreiserfs.o; ar rcs libreiserfs.o [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/reiserfs' [ 50s] make -C lib/ [ 50s] rm -f libubifs.o; ar rcs libubifs.o [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/ubifs' [ 50s] make -C lib/lzma/ [ 50s] rm -f libyaffs2.o; ar rcs libyaffs2.o [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 50s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/fs/yaffs2' [ 50s] make -C lib/lzo/ [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o fdt.o fdt.c -c [ 51s] rm -f liblzma.o; ar rcs liblzma.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o fdt_ro.o fdt_ro.c -c [ 51s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzma' [ 51s] make -C nand_fdl/common/src/ [ 51s] rm -f liblzo.o; ar rcs liblzo.o [ 51s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 51s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/lzo' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o fdt_rw.o fdt_rw.c -c [ 51s] make -C net/ [ 51s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o fdt_strerror.o fdt_strerror.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o crc16.o crc16.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o fdt_sw.o fdt_sw.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o crc32.o crc32.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 crc32.c:12: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o fdt_wip.o fdt_wip.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o crc32b.o crc32b.c -c [ 51s] rm -f libnet.o; ar rcs libnet.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o dl_engine.o dl_engine.c -c [ 51s] ld -r -o libfdt.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o [ 51s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/net' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o ctype.o ctype.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o fdl_crc.o fdl_crc.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/asm/arch/migrate.h:4, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmd_def.h:3, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/packet.h:5, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/dl_engine.h:4, [ 51s] from dl_engine.c:1: [ 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] dl_engine.c:19:62: warning: missing braces around initializer [-Wmissing-braces] [ 51s] CMDPROC_TAB g_proctab[BSL_CMD_TYPE_MAX - BSL_CMD_TYPE_MIN] = {0, 0}; [ 51s] ^ [ 51s] dl_engine.c:19:62: note: (near initialization for 'g_proctab') [ 51s] make -C post/ [ 51s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib/libfdt' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o display_options.o display_options.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 51s] -o packet.o packet.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/asm/arch/migrate.h:4, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 51s] from fdl_crc.c:1: [ 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] fdl_crc.c:15:21: warning: 'crc16_table' defined but not used [-Wunused-const-variable=] [ 51s] static uint16 const crc16_table[256] = [ 51s] ^~~~~~~~~~~ [ 51s] make -C property/ [ 51s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 51s] from display_options.c:24: [ 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/asm/arch/migrate.h:4, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 51s] from packet.c:2: [ 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/sio_drv.h:4:0, [ 51s] from packet.c:7: [ 51s] /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] [ 51s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 51s] ^~~~~~~~~~~~~~~~~~ [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 51s] from packet.c:7: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 51s] #define KPD_NUM (0x31 << 16) [ 51s] [ 51s] /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 [ 51s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 51s] [ 51s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 51s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 51s] from packet.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] packet.c: In function 'FDL_PacketDoIdle': [ 51s] packet.c:97:24: warning: implicit declaration of function 'FDL_GetBootMode' [-Wimplicit-function-declaration] [ 51s] uint32 boot_mode = FDL_GetBootMode(); [ 51s] ^~~~~~~~~~~~~~~ [ 51s] In file included from packet.c:7:0: [ 51s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:146:19: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 51s] #define sio_trace printf [ 51s] ^ [ 51s] packet.c:143:13: note: in expansion of macro 'sio_trace' [ 51s] sio_trace ("data_size error : datasize = %d MAX_PKT_SIZE = %d\n", packet_ptr->data_size, MAX_PKT_SIZE); [ 51s] ^~~~~~~~~ [ 51s] packet.c:183:41: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [-Wincompatible-pointer-types] [ 51s] crc = crc_16_l_calc((unsigned short *)&packet_ptr->packet_body, packet_ptr->data_size); [ 51s] ^ [ 51s] In file included from packet.c:6:0: [ 51s] /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 *' [ 51s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 51s] ^~~~~~~~~~~~~ [ 51s] packet.c: In function 'FDL_DataProcess': [ 51s] packet.c:277:27: warning: passing argument 1 of 'crc_16_l_calc' from incompatible pointer type [-Wincompatible-pointer-types] [ 51s] crc = crc_16_l_calc ( (const unsigned short *) (& (packet_ptr_src->packet_body)), size + PACKET_HEADER_SIZE); [ 51s] ^ [ 51s] In file included from packet.c:6:0: [ 51s] /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 *' [ 51s] unsigned int crc_16_l_calc (char *buf_ptr,unsigned int len); [ 51s] ^~~~~~~~~~~~~ [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o div64.o div64.c -c [ 52s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o fdl_channel.o fdl_channel.c -c [ 52s] In file included from fdl_channel.c:1:0: [ 52s] /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] [ 52s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 52s] ^~~~~~~~~~~~~~~~~~ [ 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/asm/arch/migrate.h:4, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 52s] from fdl_channel.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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o errno.o errno.c -c [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 52s] from fdl_channel.c:3: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 52s] #define KPD_NUM (0x31 << 16) [ 52s] [ 52s] /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 [ 52s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 52s] [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sio_drv.h:6, [ 52s] from fdl_channel.c:3: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 52s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 52s] [ 52s] /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 [ 52s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 52s] [ 52s] fdl_channel.c:19:35: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 52s] PUBLIC struct FDL_ChannelHandler *FDL_ChannelGet() [ 52s] ^~~~~~~~~~~~~~ [ 52s] fdl_channel.c: In function 'FDL_ChannelGet': [ 52s] fdl_channel.c:22:10: warning: unused variable 'ch' [-Wunused-variable] [ 52s] char ch; [ 52s] ^~ [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o fdl_stdio.o fdl_stdio.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o gunzip.o gunzip.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/asm/arch/migrate.h:4, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/fdl_stdio.h:4, [ 52s] from fdl_stdio.c:1: [ 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] fdl_stdio.c: In function 'FDL_memcpy': [ 52s] fdl_stdio.c:8:18: warning: unused variable 'value' [-Wunused-variable] [ 52s] unsigned int value; [ 52s] ^~~~~ [ 52s] fdl_stdio.c:7:28: warning: unused variable 'i' [-Wunused-variable] [ 52s] unsigned int word_num, i; [ 52s] ^ [ 52s] fdl_stdio.c:7:18: warning: unused variable 'word_num' [-Wunused-variable] [ 52s] unsigned int word_num, i; [ 52s] ^~~~~~~~ [ 52s] fdl_stdio.c:6:19: warning: unused variable 'tmp_dst' [-Wunused-variable] [ 52s] unsigned int *tmp_dst = (unsigned int *) dst; [ 52s] ^~~~~~~ [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o usb_boot.o usb_boot.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 gunzip.c:24: [ 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 libpost.o; ar rcs libpost.o [ 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/asm/arch/migrate.h:4, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb_boot.h:19, [ 52s] from usb_boot.c:17: [ 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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 52s] from usb_boot.c:18: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 52s] #define KPD_NUM (0x31 << 16) [ 52s] [ 52s] /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 [ 52s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 52s] [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/drv_usb.h:19, [ 52s] from usb_boot.c:18: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 52s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 52s] [ 52s] /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 [ 52s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 52s] [ 52s] In file included from usb_boot.c:21:0: [ 52s] /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] [ 52s] struct FDL_ChannelHandler *FDL_ChannelGet(); [ 52s] ^~~~~~~~~~~~~~~~~~ [ 52s] usb_boot.c: In function 'usb_init': [ 52s] usb_boot.c:97:5: warning: implicit declaration of function 'usb_core_init' [-Wimplicit-function-declaration] [ 52s] usb_core_init(); [ 52s] ^~~~~~~~~~~~~ [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o drv_usb.o drv_usb.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o hashtable.o hashtable.c -c [ 52s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/post' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o lmb.o lmb.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/asm/arch/migrate.h:4, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:30, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23, [ 52s] from drv_usb.c:12: [ 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] 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 hashtable.c:44: [ 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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 52s] from drv_usb.c:12: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 52s] #define KPD_NUM (0x31 << 16) [ 52s] [ 52s] /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 [ 52s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 52s] [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 52s] from drv_usb.c:12: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 52s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 52s] [ 52s] /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 [ 52s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 52s] [ 52s] drv_usb.c: In function 'usb_get_descriptor': [ 52s] drv_usb.c:211:35: warning: implicit declaration of function 'UCOM_Get_DevDesc' [-Wimplicit-function-declaration] [ 52s] send_data = (uint8 *) UCOM_Get_DevDesc();//lint !e718 [ 52s] ^~~~~~~~~~~~~~~~ [ 52s] drv_usb.c:218:35: warning: implicit declaration of function 'UCOM_Get_CfgDesc' [-Wimplicit-function-declaration] [ 52s] send_data = (uint8 *) UCOM_Get_CfgDesc();//lint !e718 [ 52s] ^~~~~~~~~~~~~~~~ [ 52s] drv_usb.c: In function 'VCOM_Read': [ 52s] drv_usb.c:703:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 52s] unsigned char *src, *dest = buf; [ 52s] ^~~ [ 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 lmb.c:13: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o virtual_com.o virtual_com.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o ldiv.o ldiv.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 virtual_com.c:17: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o net_utils.o net_utils.c -c [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 52s] from virtual_com.c:18: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 52s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 52s] [ 52s] In file included from virtual_com.c:17:0: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 52s] #define MAX(x, y) max(x, y) [ 52s] [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:23:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 52s] from virtual_com.c:18: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 52s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 52s] [ 52s] In file included from virtual_com.c:17:0: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 52s] #define MIN(x, y) min(x, y) [ 52s] [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 52s] from virtual_com.c:18: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 52s] #define KPD_NUM (0x31 << 16) [ 52s] [ 52s] /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 [ 52s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 52s] [ 52s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:38:0, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 52s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/usb200_fdl.h:20, [ 52s] from virtual_com.c:18: [ 52s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg_base.h:83:0: warning: "CTL_BASE_SPIN_LCK" redefined [ 52s] #define CTL_BASE_SPIN_LCK 0x40060000 [ 52s] [ 52s] /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 [ 52s] #define CTL_BASE_SPIN_LCK 0x20C00000 [ 52s] [ 52s] virtual_com.c:55:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 52s] uint8 *UCOM_Get_DevDesc() [ 52s] ^~~~~~~~~~~~~~~~ [ 52s] virtual_com.c:66:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 52s] uint8 *UCOM_Get_CfgDesc() [ 52s] ^~~~~~~~~~~~~~~~ [ 52s] 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 [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o qsort.o qsort.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 net_utils.c:29: [ 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]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/nand_fdl/common/src' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o string.o string.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o strmhz.o strmhz.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o time.o time.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 strmhz.c:23: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o vsprintf.o vsprintf.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 time.c:24: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 52s] -o zlib.o zlib.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 vsprintf.c:17: [ 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] [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o rbtree.o rbtree.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 zlib.c:29: [ 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/common.h:37, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/ubi_uboot.h:17, [ 53s] from rbtree.c:23: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o alarm_mode.o alarm_mode.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o android_boot.o android_boot.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from alarm_mode.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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from alarm_mode.c:13: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 53s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from alarm_mode.c:2:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 53s] #define MAX(x, y) max(x, y) [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from alarm_mode.c:13: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 53s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from alarm_mode.c:2:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 53s] #define MIN(x, y) min(x, y) [ 53s] [ 53s] alarm_mode.c: In function 'alarm_file_check': [ 53s] alarm_mode.c:27:6: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 53s] if(!do_fs_file_read(PROD_PART, "/alarm_flag", time_buf,200)){ [ 53s] ^~~~~~~~~~~~~~~ [ 53s] alarm_mode.c: In function 'alarm_flag_check': [ 53s] alarm_mode.c:114:14: warning: implicit declaration of function 'get_alarm_lead_set' [-Wimplicit-function-declaration] [ 53s] time_lead = get_alarm_lead_set(); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o autodloader_mode.o autodloader_mode.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 android_boot.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] android_boot.c: In function 'creat_atags': [ 53s] android_boot.c:8:11: warning: unused variable 'pcount' [-Wunused-variable] [ 53s] unsigned pcount; [ 53s] ^~~~~~ [ 53s] 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 [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o backupnvitem.o backupnvitem.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from autodloader_mode.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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 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 autodloader_mode.c:8: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 53s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from autodloader_mode.c:5:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 53s] #define MAX(x, y) max(x, y) [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/cmddef.h:23:0, [ 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 autodloader_mode.c:8: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 53s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from autodloader_mode.c:5:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 53s] #define MIN(x, y) min(x, y) [ 53s] [ 53s] In file included from autodloader_mode.c:10: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/asm/arch/regs_ahb.h:20:0, [ 53s] from autodloader_mode.c:12: [ 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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/hardware.h:31:0, [ 53s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:11, [ 53s] from autodloader_mode.c:15: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_x30g/__hardware-sc8830.h:468:0: warning: "ADC_BASE" redefined [ 53s] #define ADC_BASE ((unsigned int)SPRD_ADI_BASE + 0x8300) [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:20:0, [ 53s] from autodloader_mode.c:12: [ 53s] /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 [ 53s] #define ADC_BASE 0x40038300 //Aux ADC [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 53s] from autodloader_mode.c:15: [ 53s] /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 [ 53s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 53s] from autodloader_mode.c:15: [ 53s] /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 [ 53s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 53s] [ 53s] autodloader_mode.c: In function 'autodloader_mode': [ 53s] autodloader_mode.c:208:6: warning: unused variable 'i' [-Wunused-variable] [ 53s] int i = 0; [ 53s] ^ [ 53s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/lib' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o boot_mode_regist.o boot_mode_regist.c -c [ 53s] backupnvitem.c: In function 'XCheckNVStructEx': [ 53s] backupnvitem.c:416:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 53s] printf("%s %d\n", __FUNCTION__, __LINE__); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o calibration_detect.o calibration_detect.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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3, [ 53s] from boot_mode_regist.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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o charge_mode.o charge_mode.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from calibration_detect.h:3, [ 53s] from calibration_detect.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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from calibration_detect.h:15, [ 53s] from calibration_detect.c:1: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 53s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from calibration_detect.h:4:0, [ 53s] from calibration_detect.c:1: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 53s] #define MAX(x, y) max(x, y) [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from calibration_detect.h:15, [ 53s] from calibration_detect.c:1: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 53s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from calibration_detect.h:4:0, [ 53s] from calibration_detect.c:1: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 53s] #define MIN(x, y) min(x, y) [ 53s] [ 53s] calibration_detect.c:47:8: warning: type defaults to 'int' in declaration of 'caliberate_device' [-Wimplicit-int] [ 53s] static caliberate_device = CALIBERATE_DEVICE_NULL; [ 53s] ^~~~~~~~~~~~~~~~~ [ 53s] calibration_detect.c: In function 'pctool_mode_detect_uart': [ 53s] calibration_detect.c:141:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=] [ 53s] printf("uart calibrate configuration start_time=%d\n", start_time); [ 53s] ^ [ 53s] calibration_detect.c:164:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 53s] calibration_cmd_buf=malloc(1024); [ 53s] ^~~~~~ [ 53s] calibration_detect.c:164:28: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 53s] calibration_cmd_buf=malloc(1024); [ 53s] ^ [ 53s] calibration_detect.c:133:9: warning: unused variable 'off' [-Wunused-variable] [ 53s] loff_t off = 0; [ 53s] ^~~ [ 53s] calibration_detect.c:126:6: warning: unused variable 'ret' [-Wunused-variable] [ 53s] int ret; [ 53s] ^~~ [ 53s] calibration_detect.c: In function 'cali_usb_debug': [ 53s] calibration_detect.c:286:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] [ 53s] { int ret; [ 53s] ^~~ [ 53s] calibration_detect.c: At top level: [ 53s] calibration_detect.c:320:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 53s] int cali_usb_prepare() [ 53s] ^~~~~~~~~~~~~~~~ [ 53s] calibration_detect.c: In function 'cali_usb_prepare': [ 53s] calibration_detect.c:322:6: warning: unused variable 'ret' [-Wunused-variable] [ 53s] int ret = 0; [ 53s] ^~~ [ 53s] calibration_detect.c: At top level: [ 53s] calibration_detect.c:336:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 53s] int cali_usb_enum() [ 53s] ^~~~~~~~~~~~~ [ 53s] calibration_detect.c: In function 'prepare_reply_buf': [ 53s] calibration_detect.c:477:34: warning: pointer targets in passing argument 1 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 53s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 53s] ^ [ 53s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 53s] int translate_packet(char *dest,char *src,int size) [ 53s] ^~~~~~~~~~~~~~~~ [ 53s] calibration_detect.c:477:65: warning: pointer targets in passing argument 2 of 'translate_packet' differ in signedness [-Wpointer-sign] [ 53s] total_len = translate_packet((unsigned char*)pctool_cnf_buf,(unsigned char*)rsp_ptr,((MSG_HEAD_T*)rsp_ptr)->len); [ 53s] ^ [ 53s] calibration_detect.c:429:5: note: expected 'char *' but argument is of type 'unsigned char *' [ 53s] int translate_packet(char *dest,char *src,int size) [ 53s] ^~~~~~~~~~~~~~~~ [ 53s] calibration_detect.c:478:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 53s] free(rsp_ptr); [ 53s] ^~~~ [ 53s] calibration_detect.c:452:9: warning: unused variable 'ret' [-Wunused-variable] [ 53s] int ret = 0; [ 53s] ^~~ [ 53s] calibration_detect.c: In function 'pctool_mode_detect': [ 53s] calibration_detect.c:489:12: warning: implicit declaration of function 'get_mode_from_gpio' [-Wimplicit-function-declaration] [ 53s] if(get_mode_from_gpio()) [ 53s] ^~~~~~~~~~~~~~~~~~ [ 53s] calibration_detect.c:567:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 53s] calibration_cmd_buf=malloc(1024); [ 53s] ^ [ 53s] calibration_detect.c:487:9: warning: unused variable 'off' [-Wunused-variable] [ 53s] loff_t off = 0; [ 53s] ^~~ [ 53s] calibration_detect.c:486:15: warning: unused variable 'caliberate_mode' [-Wunused-variable] [ 53s] unsigned int caliberate_mode; [ 53s] ^~~~~~~~~~~~~~~ [ 53s] calibration_detect.c: In function 'cali_file_check': [ 53s] calibration_detect.c:602:5: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 53s] if(do_fs_file_read("prodnv", "/adc.bin", (char *)nv_buffer,sizeof(nv_buffer))) [ 53s] ^~~~~~~~~~~~~~~ [ 53s] At top level: [ 53s] calibration_detect.c:255:12: warning: 'recheck_power_button' defined but not used [-Wunused-function] [ 53s] static int recheck_power_button(void) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o cmd_cboot.o cmd_cboot.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from charge_mode.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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from charge_mode.c:13: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 53s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from charge_mode.c:2:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 53s] #define MAX(x, y) max(x, y) [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from charge_mode.c:13: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 53s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from charge_mode.c:2:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 53s] #define MIN(x, y) min(x, y) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o dev_tree.o dev_tree.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from cmd_cboot.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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from cmd_cboot.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 53s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from cmd_cboot.c:2:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 53s] #define MAX(x, y) max(x, y) [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from cmd_cboot.c:7: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 53s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from cmd_cboot.c:2:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 53s] #define MIN(x, y) min(x, y) [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:44:0, [ 53s] from cmd_cboot.c:9: [ 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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 53s] from cmd_cboot.c:9: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:103:28: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration [ 53s] void (*dbg_show)(struct seq_file *s, [ 53s] ^~~~~~~~ [ 53s] cmd_cboot.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 53s] extern int get_mode_from_gpio(); [ 53s] ^~~~~~ [ 53s] cmd_cboot.c: In function 'get_mode_from_pctool': [ 53s] cmd_cboot.c:60:9: warning: implicit declaration of function 'pctool_mode_detect' [-Wimplicit-function-declaration] [ 53s] ret = pctool_mode_detect(); [ 53s] ^~~~~~~~~~~~~~~~~~ [ 53s] cmd_cboot.c: In function 'get_mode_from_keypad': [ 53s] cmd_cboot.c:184:28: warning: implicit declaration of function 'get_pwr_key_cnt' [-Wimplicit-function-declaration] [ 53s] if(boot_pwr_check() >= get_pwr_key_cnt()){ [ 53s] ^~~~~~~~~~~~~~~ [ 53s] cmd_cboot.c:189:15: warning: implicit declaration of function 'tizen_check_keypad' [-Wimplicit-function-declaration] [ 53s] key_code = tizen_check_keypad(); [ 53s] ^~~~~~~~~~~~~~~~~~ [ 53s] cmd_cboot.c: In function 'do_cboot': [ 53s] cmd_cboot.c:309:3: warning: implicit declaration of function 'draw_image' [-Wimplicit-function-declaration] [ 53s] draw_image(1); [ 53s] ^~~~~~~~~~ [ 53s] cmd_cboot.c:324:2: warning: implicit declaration of function 'lcd_display' [-Wimplicit-function-declaration] [ 53s] lcd_display(); [ 53s] ^~~~~~~~~~~ [ 53s] cmd_cboot.c:325:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 53s] MMU_DisableIDCM(); [ 53s] ^~~~~~~~~~~~~~~ [ 53s] cmd_cboot.c:328:5: warning: implicit declaration of function 'cmd_mode_regist' [-Wimplicit-function-declaration] [ 53s] cmd_mode_regist(boot_mode_array); [ 53s] ^~~~~~~~~~~~~~~ [ 53s] cmd_cboot.c:337:9: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 53s] power_down_devices(); [ 53s] ^~~~~~~~~~~~~~~~~~ [ 53s] cmd_cboot.c: In function 'get_mode_from_alarm_register': [ 53s] cmd_cboot.c:166:1: warning: control reaches end of non-void function [-Wreturn-type] [ 53s] } [ 53s] ^ [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/gpio.h:45:0, [ 53s] from cmd_cboot.c:9: [ 53s] At top level: [ 53s] /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] [ 53s] static bool gpio_is_valid(int number) [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o engtest_mode.o engtest_mode.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from dev_tree.c:30: [ 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] dev_tree.c: In function 'dev_tree_get_entry_ptr': [ 53s] dev_tree.c:43:35: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] [ 53s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 53s] ^ [ 53s] dev_tree.c:126:2: note: in expansion of macro 'debugf' [ 53s] debugf("magic=%x,ver=%d,num=%d\n",table->magic,table->version,table->num_entries); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 53s] -o factorytest_mode.o factorytest_mode.c -c [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 53s] from engtest_mode.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] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from engtest_mode.c:14: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:156:0: warning: "MAX" redefined [ 53s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from engtest_mode.c:2:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: note: this is the location of the previous definition [ 53s] #define MAX(x, y) max(x, y) [ 53s] [ 53s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/boot_mode.h:3:0, [ 53s] from engtest_mode.c:14: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sci_types.h:158:0: warning: "MIN" redefined [ 53s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 53s] [ 53s] In file included from engtest_mode.c:2:0: [ 53s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: note: this is the location of the previous definition [ 53s] #define MIN(x, y) min(x, y) [ 53s] [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o fs_common_rw.o fs_common_rw.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from factorytest_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 factorytest_mode.c:14: [ 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 factorytest_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 factorytest_mode.c:14: [ 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 factorytest_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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o modem_entry.o modem_entry.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 fs_common_rw.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 ../drivers/mmc/card_sdio.h:1:0, [ 54s] from fs_common_rw.c:11: [ 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 fs_common_rw.c:1: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 ../drivers/mmc/card_sdio.h:1:0, [ 54s] from fs_common_rw.c:11: [ 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 fs_common_rw.c:1: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 fs_common_rw.c:11:0: [ 54s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] PUBLIC void Emmc_DisSdClk(); [ 54s] ^~~~~~ [ 54s] fs_common_rw.c: In function 'do_fs_file_read': [ 54s] fs_common_rw.c:21:9: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] [ 54s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 54s] ^~~~~~ [ 54s] fs_common_rw.c:21:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 54s] part = malloc(sizeof(wchar_t)*(strlen(mpart)+1)); [ 54s] ^ [ 54s] fs_common_rw.c:27:8: warning: implicit declaration of function 'ext4_read_content' [-Wimplicit-function-declaration] [ 54s] ret = ext4_read_content(mmc_dev, [ 54s] ^~~~~~~~~~~~~~~~~ [ 54s] fs_common_rw.c:33:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] [ 54s] free(part); [ 54s] ^~~~ [ 54s] fs_common_rw.c: In function 'do_raw_data_read': [ 54s] fs_common_rw.c:81:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 54s] partition = malloc(sizeof(wchar_t)*(strlen(part)+1)); [ 54s] ^ [ 54s] fs_common_rw.c:97:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 54s] sctbuf = malloc(EMMC_SECTOR_SIZE); [ 54s] ^ [ 54s] fs_common_rw.c:110:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 54s] ^~~~~~ [ 54s] In file included from fs_common_rw.c:11:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] fs_common_rw.c:118:47: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] if(!Emmc_Read(PARTITION_USER, cursct, nsct, bufwp)) [ 54s] ^~~~~ [ 54s] In file included from fs_common_rw.c:11:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] fs_common_rw.c:125:44: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] if(!Emmc_Read(PARTITION_USER, cursct, 1, sctbuf)) [ 54s] ^~~~~~ [ 54s] In file included from fs_common_rw.c:11:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] fs_common_rw.c: In function 'do_raw_data_write': [ 54s] fs_common_rw.c:253:1: warning: label 'end' defined but not used [-Wunused-label] [ 54s] end: [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o normal_emc_mode.o normal_emc_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/normal_mode.h:4, [ 54s] from modem_entry.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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 54s] from modem_entry.c:1: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 54s] from modem_entry.c:1: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 54s] from modem_entry.c:1: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 54s] from modem_entry.c:1: [ 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/normal_mode.h:20:0, [ 54s] from modem_entry.c:1: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 54s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 54s] [ 54s] /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 [ 54s] #define VLR_INFO_OFF (512) [ 54s] [ 54s] In file included from modem_entry.c:1:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] In file included from modem_entry.c:1:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] int read_spldata(); [ 54s] ^~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void vlx_entry(); [ 54s] ^~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 54s] from modem_entry.c:2: [ 54s] /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 [ 54s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 54s] [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 54s] from modem_entry.c:2: [ 54s] /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 [ 54s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 54s] [ 54s] modem_entry.c:38:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void modem_entry() [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o normal_mode.o normal_mode.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from normal_emc_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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 54s] from normal_emc_mode.c:2: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 54s] from normal_emc_mode.c:2: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 54s] from normal_emc_mode.c:2: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 54s] from normal_emc_mode.c:2: [ 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/normal_mode.h:20:0, [ 54s] from normal_emc_mode.c:2: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 54s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 54s] [ 54s] /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 [ 54s] #define VLR_INFO_OFF (512) [ 54s] [ 54s] In file included from normal_emc_mode.c:2:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] In file included from normal_emc_mode.c:2:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] int read_spldata(); [ 54s] ^~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void vlx_entry(); [ 54s] ^~~~ [ 54s] In file included from normal_emc_mode.c:5:0: [ 54s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] PUBLIC void Emmc_DisSdClk(); [ 54s] ^~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 54s] from normal_emc_mode.c:13: [ 54s] /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 [ 54s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 54s] [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 54s] from normal_emc_mode.c:13: [ 54s] /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 [ 54s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 54s] [ 54s] normal_emc_mode.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] s_boot_image_COMMON_table, [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_emc_mode.c: In function 'read_logoimg': [ 54s] normal_emc_mode.c:163:78: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] if (TRUE != Emmc_Read(PARTITION_USER, info.start, size / EMMC_SECTOR_SIZE, bmp_img)) { [ 54s] ^~~~~~~ [ 54s] In file included from normal_emc_mode.c:5:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] normal_emc_mode.c: At top level: [ 54s] normal_emc_mode.c:171:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] int read_spldata() [ 54s] ^~~~~~~~~~~~ [ 54s] normal_emc_mode.c: In function 'w2c': [ 54s] normal_emc_mode.c:227:15: warning: comparison between pointer and integer [ 54s] while ((NULL != wchar[i]) && (i < 72)) { [ 54s] ^~ [ 54s] normal_emc_mode.c: In function '_boot_partition_read': [ 54s] normal_emc_mode.c:300:79: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] if (TRUE == Emmc_Read(PARTITION_USER, info.start + offsetsector + nsct, 1, sctbuf)) { [ 54s] ^~~~~~ [ 54s] In file included from normal_emc_mode.c:5:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] normal_emc_mode.c: In function 'blk_data_read': [ 54s] normal_emc_mode.c:338:56: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] if (!Emmc_Read(PARTITION_USER, start_sec + nsct, 1, sctbuf)) { [ 54s] ^~~~~~ [ 54s] In file included from normal_emc_mode.c:5:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] normal_emc_mode.c: In function '_boot_read_partition_with_backup': [ 54s] normal_emc_mode.c:421:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] [ 54s] header_p = header; [ 54s] ^ [ 54s] In file included from normal_emc_mode.c:2:0: [ 54s] normal_emc_mode.c:437:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 54s] debugf("_boot_read_partition_with_backup origin checksum 0x%x\n", checksum); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 54s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 54s] ^~~ [ 54s] normal_emc_mode.c:438:7: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 54s] if (_chkNVEcc(oribuf + EMMC_SECTOR_SIZE, info.size, checksum)) { [ 54s] ^~~~~~~~~ [ 54s] normal_emc_mode.c:439:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(info.mem_addr, oribuf + EMMC_SECTOR_SIZE, info.size); [ 54s] ^~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from normal_emc_mode.c:2: [ 54s] /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' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] In file included from normal_emc_mode.c:2:0: [ 54s] normal_emc_mode.c:447:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 54s] debugf("_boot_read_partition_with_backup backup checksum 0x%x\n", checksum); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 54s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 54s] ^~~ [ 54s] normal_emc_mode.c:455:13: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memset(info.mem_addr, 0, info.size); [ 54s] ^~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from normal_emc_mode.c:2: [ 54s] /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' [ 54s] void* memset(void*, int, size_t); [ 54s] ^~~~~~ [ 54s] normal_emc_mode.c:465:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(info.mem_addr, bakbuf + EMMC_SECTOR_SIZE, info.size); [ 54s] ^~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from normal_emc_mode.c:2: [ 54s] /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' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] In file included from normal_emc_mode.c:2:0: [ 54s] normal_emc_mode.c: In function '_boot_load_required_image': [ 54s] normal_emc_mode.c:490:9: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] [ 54s] debugf("%s: load %s to addr 0x%08x\n", __FUNCTION__, w2c(img_info.partition), img_info.mem_addr); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 54s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 54s] ^~~ [ 54s] normal_emc_mode.c:488:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 54s] uint32 secure_boot_offset = 0; [ 54s] ^~~~~~~~~~~~~~~~~~ [ 54s] normal_emc_mode.c: In function '_boot_load_kernel_ramdisk_image': [ 54s] normal_emc_mode.c:540:43: warning: passing argument 3 of 'blk_data_read' from incompatible pointer type [-Wincompatible-pointer-types] [ 54s] if (!blk_data_read(offset, sizeof(*hdr), hdr)) { [ 54s] ^~~ [ 54s] normal_emc_mode.c:315:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'boot_img_hdr * {aka struct boot_img_hdr *}' [ 54s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 54s] ^~~~~~~~~~~~~ [ 54s] In file included from normal_emc_mode.c:2:0: [ 54s] normal_emc_mode.c:557:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 54s] debugf("bzImage size: %x\n", size); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 54s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 54s] ^~~ [ 54s] In file included from normal_emc_mode.c:2:0: [ 54s] /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 [-Wint-conversion] [ 54s] #define KERNEL_ADR 0x80008000 [ 54s] ^ [ 54s] normal_emc_mode.c:559:35: note: in expansion of macro 'KERNEL_ADR' [ 54s] if (!blk_data_read(offset, size, KERNEL_ADR - roundup(sizeof(*hdr), ALIGN_SIZE))) { [ 54s] ^~~~~~~~~~ [ 54s] normal_emc_mode.c:315:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'unsigned int' [ 54s] PUBLIC int blk_data_read(u32 offset, u32 size, u8 *buf) [ 54s] ^~~~~~~~~~~~~ [ 54s] In file included from normal_emc_mode.c:2:0: [ 54s] normal_emc_mode.c:566:9: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 54s] debugf("dt_img_adr: %u\n", dt_img_adr); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 54s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 54s] ^~~ [ 54s] normal_emc_mode.c:567:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=] [ 54s] debugf("dt_img_adr: %x\n", dt_img_adr); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 54s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 54s] ^~~ [ 54s] normal_emc_mode.c:582:3: warning: implicit declaration of function 'load_ramdisk' [-Wimplicit-function-declaration] [ 54s] load_ramdisk(ramdisk_part, RAMDISK_ADR, RAMDISK_SIZE_MB * 1024 * 1024); [ 54s] ^~~~~~~~~~~~ [ 54s] normal_emc_mode.c:521:9: warning: unused variable 'secure_boot_offset' [-Wunused-variable] [ 54s] uint32 secure_boot_offset = 0; [ 54s] ^~~~~~~~~~~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 54s] from normal_emc_mode.c:2: [ 54s] normal_emc_mode.c: In function 'vlx_nand_boot': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:131:12: warning: implicit declaration of function 'SCI_GetTickCount' [-Wimplicit-function-declaration] [ 54s] ##args, SCI_GetTickCount()); \ [ 54s] ^ [ 54s] normal_emc_mode.c:660:2: note: in expansion of macro 'performance_debug' [ 54s] performance_debug("8:"); [ 54s] ^~~~~~~~~~~~~~~~~ [ 54s] normal_emc_mode.c:660:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 54s] performance_debug("8:"); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:130:10: note: in definition of macro 'performance_debug' [ 54s] printf(fmt "++%lu \n", \ [ 54s] ^~~ [ 54s] normal_emc_mode.c:674:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 54s] performance_debug("9:"); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:130:10: note: in definition of macro 'performance_debug' [ 54s] printf(fmt "++%lu \n", \ [ 54s] ^~~ [ 54s] normal_emc_mode.c:685:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 54s] sipc_addr_reset(); [ 54s] ^~~~~~~~~~~~~~~ [ 54s] normal_emc_mode.c:628:11: warning: unused variable 'partition' [-Wunused-variable] [ 54s] wchar_t *partition = NULL; [ 54s] ^~~~~~~~~ [ 54s] At top level: [ 54s] normal_emc_mode.c:236:12: warning: '_boot_secure_check' defined but not used [-Wunused-function] [ 54s] LOCAL void _boot_secure_check(void) [ 54s] ^~~~~~~~~~~~~~~~~~ [ 54s] normal_emc_mode.c:90:36: warning: 's_boot_image_WIFI_table' defined but not used [-Wunused-const-variable=] [ 54s] static boot_image_required_t const s_boot_image_WIFI_table[] = { [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_emc_mode.c:80:36: warning: 's_boot_image_W_table' defined but not used [-Wunused-const-variable=] [ 54s] static boot_image_required_t const s_boot_image_W_table[] = { [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o reboot_mode.o reboot_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/normal_mode.h:4, [ 54s] from normal_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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 54s] from normal_mode.c:1: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 54s] from normal_mode.c:1: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:18, [ 54s] from normal_mode.c:1: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:5:0, [ 54s] from normal_mode.c:1: [ 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/normal_mode.h:20:0, [ 54s] from normal_mode.c:1: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 54s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 54s] [ 54s] /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 [ 54s] #define VLR_INFO_OFF (512) [ 54s] [ 54s] In file included from normal_mode.c:1:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] In file included from normal_mode.c:1:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] int read_spldata(); [ 54s] ^~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void vlx_entry(); [ 54s] ^~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:58:0, [ 54s] from normal_mode.c:5: [ 54s] /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 [ 54s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 54s] [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 54s] from normal_mode.c:5: [ 54s] /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 [ 54s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 54s] [ 54s] normal_mode.c:25:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] unsigned spl_data_buf[0x2000] __attribute__ ((align(4))) = { [ 54s] ^~~~~~~~ [ 54s] normal_mode.c:28:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] unsigned harsh_data_buf[8] __attribute__ ((align(4))) = { [ 54s] ^~~~~~~~ [ 54s] In file included from normal_mode.c:1:0: [ 54s] normal_mode.c: In function '_chkNVEcc': [ 54s] normal_mode.c:111:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] [ 54s] debugf("_chkNVEcc calcout 0x%lx, org 0x%llx\n", crc, checksum); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 54s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 54s] ^~~ [ 54s] normal_mode.c:111:9: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] [ 54s] debugf("_chkNVEcc calcout 0x%lx, org 0x%llx\n", crc, checksum); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 54s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 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/normal_mode.h:4, [ 54s] from normal_mode.c:1: [ 54s] normal_mode.c: In function 'fdt_fixup_for_tizen': [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/configs/tizen_tm1.h:376:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] [ 54s] #define CMDLINE_DEFAULT_TIZEN "" [ 54s] ^ [ 54s] normal_mode.c:174:22: note: in expansion of macro 'CMDLINE_DEFAULT_TIZEN' [ 54s] ptr += sprintf(ptr, CMDLINE_DEFAULT_TIZEN); [ 54s] ^~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:188:40: warning: implicit declaration of function 'load_lcd_id_to_kernel' [-Wimplicit-function-declaration] [ 54s] ptr += sprintf(ptr, " lcd_id=ID%06x", load_lcd_id_to_kernel()); [ 54s] ^~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:191:40: warning: implicit declaration of function 'load_mtp_offset_to_kernel' [-Wimplicit-function-declaration] [ 54s] ptr += sprintf(ptr, " mtp_offset=%s", load_mtp_offset_to_kernel()); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:191:36: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 54s] ptr += sprintf(ptr, " mtp_offset=%s", load_mtp_offset_to_kernel()); [ 54s] ^ [ 54s] normal_mode.c:192:44: warning: implicit declaration of function 'load_elvss_offset_to_kernel' [-Wimplicit-function-declaration] [ 54s] ptr += sprintf(ptr, " elvss_offset=0x%x", load_elvss_offset_to_kernel()); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:193:40: warning: implicit declaration of function 'load_hbm_offset_to_kernel' [-Wimplicit-function-declaration] [ 54s] ptr += sprintf(ptr, " hbm_offset=%s", load_hbm_offset_to_kernel()); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:193:36: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] [ 54s] ptr += sprintf(ptr, " hbm_offset=%s", load_hbm_offset_to_kernel()); [ 54s] ^ [ 54s] normal_mode.c:203:3: warning: implicit declaration of function 'sprdchg_start_charge' [-Wimplicit-function-declaration] [ 54s] sprdchg_start_charge(); [ 54s] ^~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:215:2: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 54s] thor_save_env("normal"); [ 54s] ^~~~~~~~~~~~~ [ 54s] normal_mode.c:258:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 54s] if (s = getenv("sec_log_addr")) { [ 54s] ^~ [ 54s] normal_mode.c:274:52: warning: implicit declaration of function 'get_dram_cs_number' [-Wimplicit-function-declaration] [ 54s] ptr += sprintf(ptr, " mem_cs=%d, mem_cs0_sz=%08x",get_dram_cs_number(), get_dram_cs0_size()); [ 54s] ^~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:274:74: warning: implicit declaration of function 'get_dram_cs0_size' [-Wimplicit-function-declaration] [ 54s] ptr += sprintf(ptr, " mem_cs=%d, mem_cs0_sz=%08x",get_dram_cs_number(), get_dram_cs0_size()); [ 54s] ^~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:283:2: warning: implicit declaration of function 'tizen_get_emmc_serial_number' [-Wimplicit-function-declaration] [ 54s] tizen_get_emmc_serial_number((unsigned int *)uid); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:288:6: warning: implicit declaration of function 'is_calibration_by_uart' [-Wimplicit-function-declaration] [ 54s] if (is_calibration_by_uart()) [ 54s] ^~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:294:41: warning: implicit declaration of function 'get_fgu_vol' [-Wimplicit-function-declaration] [ 54s] ptr += sprintf(ptr, " fgu_init=%d,%d", get_fgu_vol(), get_fgu_cur()); [ 54s] ^~~~~~~~~~~ [ 54s] normal_mode.c:294:56: warning: implicit declaration of function 'get_fgu_cur' [-Wimplicit-function-declaration] [ 54s] ptr += sprintf(ptr, " fgu_init=%d,%d", get_fgu_vol(), get_fgu_cur()); [ 54s] ^~~~~~~~~~~ [ 54s] normal_mode.c:171:14: warning: unused variable 'mmc' [-Wunused-variable] [ 54s] struct mmc *mmc; [ 54s] ^~~ [ 54s] normal_mode.c: At top level: [ 54s] normal_mode.c:308:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] static int start_linux() [ 54s] ^~~~~~~~~~~ [ 54s] normal_mode.c: In function 'start_linux': [ 54s] normal_mode.c:316:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] [ 54s] boot_img_hdr *hdr = raw_header; [ 54s] ^~~~~~~~~~ [ 54s] normal_mode.c:341:2: warning: implicit declaration of function 'load_nvitem' [-Wimplicit-function-declaration] [ 54s] load_nvitem(); [ 54s] ^~~~~~~~~~~ [ 54s] normal_mode.c:342:2: warning: implicit declaration of function 'load_modem_data' [-Wimplicit-function-declaration] [ 54s] load_modem_data(); [ 54s] ^~~~~~~~~~~~~~~ [ 54s] normal_mode.c:343:2: warning: implicit declaration of function 'load_dsp_data' [-Wimplicit-function-declaration] [ 54s] load_dsp_data(); [ 54s] ^~~~~~~~~~~~~ [ 54s] normal_mode.c:345:2: warning: implicit declaration of function 'sipc_addr_reset' [-Wimplicit-function-declaration] [ 54s] sipc_addr_reset(); [ 54s] ^~~~~~~~~~~~~~~ [ 54s] normal_mode.c:346:2: warning: implicit declaration of function 'modem_entry' [-Wimplicit-function-declaration] [ 54s] modem_entry(); [ 54s] ^~~~~~~~~~~ [ 54s] normal_mode.c:350:2: warning: implicit declaration of function 'Emmc_DisSdClk' [-Wimplicit-function-declaration] [ 54s] Emmc_DisSdClk(); [ 54s] ^~~~~~~~~~~~~ [ 54s] normal_mode.c:363:2: warning: implicit declaration of function 'fdt_fixup_adc_calibration_data' [-Wimplicit-function-declaration] [ 54s] fdt_fixup_adc_calibration_data(fdt_blob); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:374:2: warning: implicit declaration of function 'fdt_fixup_boot_ram_log' [-Wimplicit-function-declaration] [ 54s] fdt_fixup_boot_ram_log(fdt_blob); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:375:2: warning: implicit declaration of function 'fdt_fixup_chosen_bootargs_board_private' [-Wimplicit-function-declaration] [ 54s] fdt_fixup_chosen_bootargs_board_private(fdt_blob, boot_cmd); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:316:16: warning: unused variable 'hdr' [-Wunused-variable] [ 54s] boot_img_hdr *hdr = raw_header; [ 54s] ^~~ [ 54s] normal_mode.c:312:6: warning: unused variable 'parm_at' [-Wunused-variable] [ 54s] u32 parm_at = (u32) - 1; [ 54s] ^~~~~~~ [ 54s] normal_mode.c:311:6: warning: unused variable 'exec_at' [-Wunused-variable] [ 54s] u32 exec_at = (u32) - 1; [ 54s] ^~~~~~~ [ 54s] normal_mode.c: In function 'lcd_display_logo': [ 54s] normal_mode.c:405:0: warning: "mdelay" redefined [ 54s] #define mdelay(t) ({unsigned long msec=(t); while (msec--) { udelay(1000);}}) //LiWei add [ 54s] [ 54s] In file included from normal_mode.c:2:0: [ 54s] calibration_detect.h:51:0: note: this is the location of the previous definition [ 54s] #define mdelay(_ms) udelay(_ms*1000) [ 54s] [ 54s] normal_mode.c:424:10: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memset((unsigned int)lcd_base, 0, size); [ 54s] ^ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from normal_mode.c:1: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memset(void*, int, size_t); [ 54s] ^~~~~~ [ 54s] normal_mode.c: At top level: [ 54s] normal_mode.c:433:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] int is_factorymode() [ 54s] ^~~~~~~~~~~~~~ [ 54s] normal_mode.c: In function 'is_factorymode': [ 54s] normal_mode.c:438:6: warning: implicit declaration of function 'do_fs_file_read' [-Wimplicit-function-declaration] [ 54s] if (do_fs_file_read(FACTORY_PART, "/factorymode.file", factorymode_falg, 8)) [ 54s] ^~~~~~~~~~~~~~~ [ 54s] normal_mode.c: In function 'get_product_sn': [ 54s] normal_mode.c:456:6: warning: implicit declaration of function 'do_raw_data_read' [-Wimplicit-function-declaration] [ 54s] if (do_raw_data_read(PRODUCTINFO_FILE_PATITION, sizeof(phase_check), 0, (char *)&phase_check)) { [ 54s] ^~~~~~~~~~~~~~~~ [ 54s] In file included from normal_mode.c:1:0: [ 54s] normal_mode.c: In function 'cmdline_set_cp_cmdline': [ 54s] normal_mode.c:656:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'char *' [-Wformat=] [ 54s] debugf("nv_info:[%08x]%s \n", nv_info, nv_info); [ 54s] ^ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:34:70: note: in definition of macro 'debugf' [ 54s] #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) [ 54s] ^~~ [ 54s] normal_mode.c: In function 'creat_cmdline': [ 54s] normal_mode.c:676:6: warning: unused variable 'ret' [-Wunused-variable] [ 54s] int ret = 0; [ 54s] ^~~ [ 54s] normal_mode.c: At top level: [ 54s] normal_mode.c:758:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void vlx_entry() [ 54s] ^~~~~~~~~ [ 54s] normal_mode.c: In function 'vlx_entry': [ 54s] normal_mode.c:763:3: warning: implicit declaration of function 'power_down_devices' [-Wimplicit-function-declaration] [ 54s] power_down_devices(); [ 54s] ^~~~~~~~~~~~~~~~~~ [ 54s] normal_mode.c:771:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 54s] MMU_DisableIDCM(); [ 54s] ^~~~~~~~~~~~~~~ [ 54s] normal_mode.c: At top level: [ 54s] normal_mode.c:886:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void sipc_addr_reset() [ 54s] ^~~~~~~~~~~~~~~ [ 54s] normal_mode.c:886:6: warning: conflicting types for 'sipc_addr_reset' [ 54s] normal_mode.c:345:2: note: previous implicit declaration of 'sipc_addr_reset' was here [ 54s] sipc_addr_reset(); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o recv_emc_mode.o recv_emc_mode.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from reboot_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/asm/arch/cmddef.h:23:0, [ 54s] from reboot_mode.c:6: [ 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 reboot_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/asm/arch/cmddef.h:23:0, [ 54s] from reboot_mode.c:6: [ 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 reboot_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] In file included from reboot_mode.c:9:0: [ 54s] /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] [ 54s] PUBLIC void BOOT_ResetHWFlag (); [ 54s] ^~~~~~ [ 54s] reboot_mode.c: In function 'ResetMCU': [ 54s] reboot_mode.c:15:5: warning: implicit declaration of function 'CHIP_PHY_ResetHWFlag' [-Wimplicit-function-declaration] [ 54s] CHIP_PHY_ResetHWFlag(0x1FFF); [ 54s] ^~~~~~~~~~~~~~~~~~~~ [ 54s] reboot_mode.c:16:5: warning: implicit declaration of function 'CHIP_PHY_SetWDGHWFlag' [-Wimplicit-function-declaration] [ 54s] CHIP_PHY_SetWDGHWFlag(TYPE_RESET, AUTO_TEST_MODE); [ 54s] ^~~~~~~~~~~~~~~~~~~~~ [ 54s] reboot_mode.c:18:5: warning: implicit declaration of function 'CHIP_ResetMCU' [-Wimplicit-function-declaration] [ 54s] CHIP_ResetMCU(); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o recv_mode.o recv_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 recv_emc_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 ../drivers/mmc/card_sdio.h:1:0, [ 54s] from recv_emc_mode.c:3: [ 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 recv_emc_mode.c:1: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 ../drivers/mmc/card_sdio.h:1:0, [ 54s] from recv_emc_mode.c:3: [ 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 recv_emc_mode.c:1: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 recv_emc_mode.c:3:0: [ 54s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] PUBLIC void Emmc_DisSdClk(); [ 54s] ^~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 54s] from recv_emc_mode.c:5: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 54s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 54s] [ 54s] /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 [ 54s] #define VLR_INFO_OFF (512) [ 54s] [ 54s] In file included from recv_emc_mode.c:5:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] In file included from recv_emc_mode.c:5:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] int read_spldata(); [ 54s] ^~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void vlx_entry(); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o thor_mode.o thor_mode.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from recv_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 recv_mode.c:14: [ 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 recv_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 recv_mode.c:14: [ 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 recv_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] recv_mode.c: In function 'get_mode_from_file': [ 54s] recv_mode.c:123:2: warning: implicit declaration of function 'reboot_devices' [-Wimplicit-function-declaration] [ 54s] reboot_devices(0); [ 54s] ^~~~~~~~~~~~~~ [ 54s] recv_mode.c: In function 'do_recovery': [ 54s] recv_mode.c:145:1: warning: control reaches end of non-void function [-Wreturn-type] [ 54s] } [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o tizen_misc.o tizen_misc.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/boot_mode.h:3, [ 54s] from thor_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 thor_mode.c:3:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:201:0: warning: "MIN" redefined [ 54s] #define MIN(x, y) min(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 thor_mode.c:1: [ 54s] /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 [ 54s] #define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) [ 54s] [ 54s] In file included from thor_mode.c:3:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:202:0: warning: "MAX" redefined [ 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 thor_mode.c:1: [ 54s] /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 [ 54s] #define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) [ 54s] [ 54s] In file included from thor_mode.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] PUBLIC void Emmc_DisSdClk(); [ 54s] ^~~~~~ [ 54s] thor_mode.c: In function 'send_rsp': [ 54s] thor_mode.c:48:2: warning: implicit declaration of function 'USB_WriteEx' [-Wimplicit-function-declaration] [ 54s] USB_WriteEx(thor_tx_data_buf, sizeof(struct rsp_box)); [ 54s] ^~~~~~~~~~~ [ 54s] thor_mode.c: In function 'download_file_start': [ 54s] thor_mode.c:84:9: warning: implicit declaration of function 'USB_ReadEx' [-Wimplicit-function-declaration] [ 54s] ret = USB_ReadEx((char *) dn_addr, THOR_PACKET_SIZE); [ 54s] ^~~~~~~~~~ [ 54s] thor_mode.c:99:3: warning: implicit declaration of function 'draw_progress' [-Wimplicit-function-declaration] [ 54s] draw_progress(per); [ 54s] ^~~~~~~~~~~~~ [ 54s] thor_mode.c:121:74: warning: passing argument 4 of 'Emmc_Write' makes pointer from integer without a cast [-Wint-conversion] [ 54s] ret = Emmc_Write(PARTITION_USER, part_info.offset + write_ofs, count, download_addr); [ 54s] ^~~~~~~~~~~~~ [ 54s] In file included from thor_mode.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'u32 {aka unsigned int}' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] thor_mode.c:75:6: warning: unused variable 'count' [-Wunused-variable] [ 54s] int count = 0; [ 54s] ^~~~~ [ 54s] thor_mode.c: In function 'process_rqt_download': [ 54s] thor_mode.c:174:9: warning: implicit declaration of function 'thor_get_part_info' [-Wimplicit-function-declaration] [ 54s] ret = thor_get_part_info(&part_info, f_name); [ 54s] ^~~~~~~~~~~~~~~~~~ [ 54s] thor_mode.c:139:29: warning: unused variable 'ret_head' [-Wunused-variable] [ 54s] static long long int left, ret_head; [ 54s] ^~~~~~~~ [ 54s] thor_mode.c:139:23: warning: unused variable 'left' [-Wunused-variable] [ 54s] static long long int left, ret_head; [ 54s] ^~~~ [ 54s] thor_mode.c: In function 'process_rqt_cmd': [ 54s] thor_mode.c:255:3: warning: implicit declaration of function 'udc_power_off' [-Wimplicit-function-declaration] [ 54s] udc_power_off(); [ 54s] ^~~~~~~~~~~~~ [ 54s] thor_mode.c:256:3: warning: implicit declaration of function 'thor_save_env' [-Wimplicit-function-declaration] [ 54s] thor_save_env("thor"); [ 54s] ^~~~~~~~~~~~~ [ 54s] thor_mode.c: In function 'thor_handle': [ 54s] thor_mode.c:306:7: warning: implicit declaration of function 'thor_usb_is_connected' [-Wimplicit-function-declaration] [ 54s] if (thor_usb_is_connected()) { [ 54s] ^~~~~~~~~~~~~~~~~~~~~ [ 54s] thor_mode.c:308:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 54s] if (!strncmp(thor_rx_data_buf, "THOR", strlen("THOR"))) [ 54s] ^~~~~~~~~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 54s] from thor_mode.c:3: [ 54s] /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 *' [ 54s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 54s] ^~~~~~~ [ 54s] thor_mode.c: In function 'thor_mode': [ 54s] thor_mode.c:339:2: warning: implicit declaration of function 'MMU_DisableIDCM' [-Wimplicit-function-declaration] [ 54s] MMU_DisableIDCM(); [ 54s] ^~~~~~~~~~~~~~~ [ 54s] thor_mode.c:340:2: warning: implicit declaration of function 'thor_USB_Init' [-Wimplicit-function-declaration] [ 54s] thor_USB_Init(); [ 54s] ^~~~~~~~~~~~~ [ 54s] thor_mode.c: In function 'do_thor_down': [ 54s] thor_mode.c:350:1: warning: control reaches end of non-void function [-Wreturn-type] [ 54s] } [ 54s] ^ [ 54s] At top level: [ 54s] thor_mode.c:139:23: warning: 'left' defined but not used [-Wunused-variable] [ 54s] static long long int left, ret_head; [ 54s] ^~~~ [ 54s] thor_mode.c:139:29: warning: 'ret_head' defined but not used [-Wunused-variable] [ 54s] static long long int left, ret_head; [ 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/6.2.1/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/cdc_descriptor.o usb/cdc_descriptor.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 tizen_misc.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 tizen_misc.c:4: [ 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 tizen_misc.c:1: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 tizen_misc.c:4: [ 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 tizen_misc.c:1: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/sprd_reg.h:58:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 54s] from tizen_misc.c:6: [ 54s] /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 [ 54s] #define BIT_GPU_SOFT_RST ( BIT(0) ) [ 54s] [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_reg.h:31:0, [ 54s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_keypad.h:5, [ 54s] from tizen_misc.c:6: [ 54s] /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 [ 54s] #define BIT_GPU_SOFT_RST (BIT(4)) [ 54s] [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:205:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] PUBLIC void Emmc_DisSdClk(); [ 54s] ^~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:20:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/secure_boot.h:18:0: warning: "VLR_INFO_OFF" redefined [ 54s] #define VLR_INFO_OFF (CONFIG_SYS_NAND_U_BOOT_START + CONFIG_SYS_NAND_U_BOOT_SIZE - VLR_INFO_SIZ) [ 54s] [ 54s] /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 [ 54s] #define VLR_INFO_OFF (512) [ 54s] [ 54s] In file included from tizen_misc.c:12:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:26:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned spl_data_buf[0x2000] __attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:27:1: warning: 'align' attribute directive ignored [-Wattributes] [ 54s] extern unsigned harsh_data_buf[8]__attribute__((align(4))); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:12:0: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:213:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] int read_spldata(); [ 54s] ^~~ [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:216:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void vlx_entry(); [ 54s] ^~~~ [ 54s] tizen_misc.c: In function 'convert_to_string': [ 54s] tizen_misc.c:18:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 54s] while (*buf++ = (char)*crap++); [ 54s] ^~~~~ [ 54s] tizen_misc.c: In function 'thor_save_env': [ 54s] tizen_misc.c:62:55: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] ret = Emmc_Write(PARTITION_USER, part_info.start, 1, str); [ 54s] ^~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c: In function 'thor_get_env': [ 54s] tizen_misc.c:82:54: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] ret = Emmc_Read(PARTITION_USER, part_info.start, 1, str); [ 54s] ^~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] tizen_misc.c:86:9: warning: function returns address of local variable [-Wreturn-local-addr] [ 54s] return str; [ 54s] ^~~ [ 54s] tizen_misc.c: In function 'check_pm_status': [ 54s] tizen_misc.c:103:6: warning: implicit declaration of function 'charger_connected' [-Wimplicit-function-declaration] [ 54s] if (charger_connected()) { [ 54s] ^~~~~~~~~~~~~~~~~ [ 54s] tizen_misc.c: In function 'thor_get_part_info': [ 54s] tizen_misc.c:178:33: warning: passing argument 1 of 'strtok' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] const char *file_name = strtok(name, "."); [ 54s] ^~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 54s] from tizen_misc.c:1: [ 54s] /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 *' [ 54s] extern char * strtok(char *,const char *); [ 54s] ^~~~~~ [ 54s] tizen_misc.c: In function 'tizen_get_emmc_serial_number': [ 54s] tizen_misc.c:189:26: warning: implicit declaration of function 'get_global_cid' [-Wimplicit-function-declaration] [ 54s] unsigned char *regCID = get_global_cid(); [ 54s] ^~~~~~~~~~~~~~ [ 54s] tizen_misc.c:189:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] [ 54s] tizen_misc.c: In function 'tizen_board_key_scan': [ 54s] tizen_misc.c:212:5: warning: implicit declaration of function 'get_volumn_down_status2' [-Wimplicit-function-declaration] [ 54s] if(get_volumn_down_status2()) [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~ [ 54s] tizen_misc.c:206:15: warning: unused variable 'key_code' [-Wunused-variable] [ 54s] unsigned int key_code = 0; [ 54s] ^~~~~~~~ [ 54s] tizen_misc.c: At top level: [ 54s] tizen_misc.c:257:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void (*update)(); [ 54s] ^~~~ [ 54s] tizen_misc.c: In function 'runtimenv_read_with_backup': [ 54s] tizen_misc.c:337:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, oribuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] tizen_misc.c:346:6: warning: implicit declaration of function '_chkNVEcc' [-Wimplicit-function-declaration] [ 54s] if (_chkNVEcc(oribuf + SECTOR_SIZE, RUNTIMENV_SIZE, checksum)) { [ 54s] ^~~~~~~~~ [ 54s] tizen_misc.c:347:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(runtimenv_adr,oribuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 54s] ^~~~~~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:356:81: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] ret = Emmc_Read(PARTITION_USER, part_info.start, RUNTIMENV_SIZE / SECTOR_SIZE, bakbuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] tizen_misc.c:367:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(runtimenv_adr,bakbuf+SECTOR_SIZE,RUNTIMENV_SIZE); [ 54s] ^~~~~~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:380:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:384:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(runtimenv_adr, bakbuf + SECTOR_SIZE, RUNTIMENV_SIZE); [ 54s] ^~~~~~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:390:93: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start, (RUNTIMENV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 54s] tizen_misc.c:435:93: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] ret = Emmc_Read(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, tmpbuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] tizen_misc.c:444:43: warning: implicit declaration of function 'calc_checksum' [-Wimplicit-function-declaration] [ 54s] tmp_header_p->checksum = (unsigned long)calc_checksum(tmpbuf, FIXNV_SIZE); [ 54s] ^~~~~~~~~~~~~ [ 54s] tizen_misc.c:452:50: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start, 1, tmp_header); [ 54s] ^~~~~~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:453:77: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, tmpbuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:478:31: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong {aka long unsigned int}' [-Wformat=] [ 54s] printf("loading fixnv1 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 54s] ^ [ 54s] tizen_misc.c:481:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, oribuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] tizen_misc.c:491:10: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(fixnv_adr, oribuf + SECTOR_SIZE, FIXNV_SIZE); [ 54s] ^~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:504:31: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ulong {aka long unsigned int}' [-Wformat=] [ 54s] printf("loading fixnv2 from %x(%x) to %x\n", part_info.start, FIXNV_SIZE, fixnv_adr); [ 54s] ^ [ 54s] tizen_misc.c:506:77: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] ret = Emmc_Read(PARTITION_USER, part_info.start, FIXNV_SIZE / SECTOR_SIZE, bakbuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] tizen_misc.c:572:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:573:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 54s] ^~~~~~~~~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:581:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:582:78: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start + 1, FIXNV_SIZE / SECTOR_SIZE, oribuf_update); [ 54s] ^~~~~~~~~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:584:11: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memset(fixnv_adr, 0xff, FIXNV_SIZE); [ 54s] ^~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:372:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memset(void*, int, size_t); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:585:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 54s] ^~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:596:51: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start, 1, header); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:597:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(fixnv_adr, oribuf_update, FIXNV_SIZE); [ 54s] ^~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:606:12: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(fixnv_adr, bakbuf + SECTOR_SIZE,FIXNV_SIZE); [ 54s] ^~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:619:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, oribuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:624:11: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] [ 54s] memcpy(fixnv_adr, bakbuf+SECTOR_SIZE, FIXNV_SIZE); [ 54s] ^~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/normal_mode.h:19:0, [ 54s] from tizen_misc.c:12: [ 54s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/malloc.h:373:7: note: expected 'void *' but argument is of type 'unsigned int' [ 54s] void* memcpy(void*, const void*, size_t); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:630:90: warning: pointer targets in passing argument 4 of 'Emmc_Write' differ in signedness [-Wpointer-sign] [ 54s] Emmc_Write(PARTITION_USER, part_info.start, (FIXNV_SIZE + SECTOR_SIZE) / SECTOR_SIZE, bakbuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:197:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Write(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 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 tizen_misc.c:1: [ 54s] tizen_misc.c: In function 'load_modem_data': [ 54s] /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 [-Wint-conversion] [ 54s] #define WMODEM_ADR 0x88300000 [ 54s] ^ [ 54s] tizen_misc.c:666:23: note: in expansion of macro 'WMODEM_ADR' [ 54s] unsigned char *buf = WMODEM_ADR; [ 54s] ^~~~~~~~~~ [ 54s] tizen_misc.c:671:34: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 54s] printf("load modem to addr 0x%08x\n", buf); [ 54s] ^ [ 54s] tizen_misc.c:693:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 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 tizen_misc.c:1: [ 54s] tizen_misc.c: In function 'load_dsp_data': [ 54s] /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 [-Wint-conversion] [ 54s] #define WDSP_ADR 0x88020000 [ 54s] ^ [ 54s] tizen_misc.c:712:23: note: in expansion of macro 'WDSP_ADR' [ 54s] unsigned char *buf = WDSP_ADR; [ 54s] ^~~~~~~~ [ 54s] tizen_misc.c:717:32: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] [ 54s] printf("load dsp to addr 0x%08x\n", buf); [ 54s] ^ [ 54s] tizen_misc.c:739:62: warning: pointer targets in passing argument 4 of 'Emmc_Read' differ in signedness [-Wpointer-sign] [ 54s] ret = Emmc_Read(PARTITION_USER, part_info.start + nsct, 1, sctbuf); [ 54s] ^~~~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] tizen_misc.c: In function 'load_binary_to_addr': [ 54s] tizen_misc.c:771:66: warning: passing argument 4 of 'Emmc_Read' makes pointer from integer without a cast [-Wint-conversion] [ 54s] ret = Emmc_Read(PARTITION_USER, info.offset, size / info.blksz, addr); [ 54s] ^~~~ [ 54s] In file included from tizen_misc.c:9:0: [ 54s] ../drivers/mmc/card_sdio.h:201:16: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'unsigned int' [ 54s] PUBLIC BOOLEAN Emmc_Read(CARD_EMMC_PARTITION_TPYE cardPartiton, uint32 startBlock,uint32 num,uint8* buf); [ 54s] ^~~~~~~~~ [ 54s] tizen_misc.c: In function 'check_board_signature': [ 54s] tizen_misc.c:795:40: warning: passing argument 2 of 'load_binary_to_addr' makes integer from pointer without a cast [-Wint-conversion] [ 54s] ret = load_binary_to_addr(PARTS_BOOT, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:762:12: note: expected 'unsigned int' but argument is of type 'char *' [ 54s] static int load_binary_to_addr(char *name, unsigned int addr, unsigned int size) [ 54s] ^~~~~~~~~~~~~~~~~~~ [ 54s] tizen_misc.c:799:40: warning: passing argument 2 of 'get_image_signature' makes integer from pointer without a cast [-Wint-conversion] [ 54s] ret = get_image_signature(&bh_target, bl_buf, CONFIG_SIG_IMAGE_SIZE); [ 54s] ^~~~~~ [ 54s] tizen_misc.c:750:5: note: expected 'unsigned int' but argument is of type 'char *' [ 54s] int get_image_signature(struct sig_header *hdr, unsigned int base_addr, [ 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/6.2.1/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/drv_cdc.o usb/drv_cdc.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 usb/cdc_descriptor.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] usb/cdc_descriptor.c: In function 'thor_get_config_desc': [ 54s] usb/cdc_descriptor.c:265:2: warning: implicit declaration of function 'usb_gadget_config_buf' [-Wimplicit-function-declaration] [ 54s] usb_gadget_config_buf(&thor_config_desc, &function_desc_buf, 256, thor_function_high); [ 54s] ^~~~~~~~~~~~~~~~~~~~~ [ 54s] usb/cdc_descriptor.c: In function 'str2wide': [ 54s] usb/cdc_descriptor.c:278:18: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] [ 54s] for (i = 0; i < strlen (str) && str[i]; i++){ [ 54s] ^~~~~~ [ 54s] At top level: [ 54s] usb/cdc_descriptor.c:236:13: warning: 'thor_device_qualifer_desc_buf' defined but not used [-Wunused-variable] [ 54s] static char thor_device_qualifer_desc_buf[sizeof(struct usb_qualifier_descriptor)] __align(32); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] tizen_misc.c: In function 'fixnv_read_with_backup': [ 54s] tizen_misc.c:550:3: warning: 'nv_backup_status' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 54s] printf("nv_backup_status = %d \n", nv_backup_status); [ 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/6.2.1/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/usb_hw.o usb/usb_hw.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from usb/drv_cdc.c:11: [ 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 usb/drv_cdc.c:14: [ 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 usb/drv_cdc.c:12: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 usb/drv_cdc.c:14: [ 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 usb/drv_cdc.c:12: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 usb/drv_cdc.c:14: [ 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 usb/drv_cdc.c:14: [ 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] usb/drv_cdc.c: In function 'usb_get_descriptor': [ 54s] usb/drv_cdc.c:254:26: warning: implicit declaration of function 'thor_get_device_desc' [-Wimplicit-function-declaration] [ 54s] send_data = (uint8 *) thor_get_device_desc(enum_speed); [ 54s] ^~~~~~~~~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c:260:26: warning: implicit declaration of function 'thor_get_config_desc' [-Wimplicit-function-declaration] [ 54s] send_data = (uint8 *) thor_get_config_desc(enum_speed); [ 54s] ^~~~~~~~~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c:278:16: warning: implicit declaration of function 'thor_get_string_desc' [-Wimplicit-function-declaration] [ 54s] send_data = thor_get_string_desc(str_index); [ 54s] ^~~~~~~~~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c:278:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] [ 54s] send_data = thor_get_string_desc(str_index); [ 54s] ^ [ 54s] usb/drv_cdc.c:292:26: warning: implicit declaration of function 'thor_get_qualifer_desc' [-Wimplicit-function-declaration] [ 54s] send_data = (uint8 *) thor_get_qualifer_desc(); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c:305:26: warning: implicit declaration of function 'thor_get_other_speed_config_desc' [-Wimplicit-function-declaration] [ 54s] send_data = (uint8 *) thor_get_other_speed_config_desc(); [ 54s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c: In function 'usb_set_feature': [ 54s] usb/drv_cdc.c:389:21: warning: variable 'request1' set but not used [-Wunused-but-set-variable] [ 54s] USB_REQUEST_1_U *request1; [ 54s] ^~~~~~~~ [ 54s] usb/drv_cdc.c:387:23: warning: unused variable 'dcfg_ptr' [-Wunused-variable] [ 54s] volatile USB_DCFG_U *dcfg_ptr = (volatile USB_DCFG_U *) USB_DCFG; [ 54s] ^~~~~~~~ [ 54s] usb/drv_cdc.c: In function 'usb_handler': [ 54s] usb/drv_cdc.c:790:15: warning: unused variable 'string' [-Wunused-variable] [ 54s] char string[64] ={0,}; [ 54s] ^~~~~~ [ 54s] usb/drv_cdc.c:789:9: warning: unused variable 'i' [-Wunused-variable] [ 54s] uint32 i=0; [ 54s] ^ [ 54s] usb/drv_cdc.c: In function 'USB_ReadEx_Internal': [ 54s] usb/drv_cdc.c:837:9: warning: unused variable 'i' [-Wunused-variable] [ 54s] int i; [ 54s] ^ [ 54s] usb/drv_cdc.c: In function 'thor_USB_Init': [ 54s] usb/drv_cdc.c:1034:2: warning: implicit declaration of function 'sprd_usb_thor_start' [-Wimplicit-function-declaration] [ 54s] sprd_usb_thor_start(); [ 54s] ^~~~~~~~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c:1024:15: warning: unused variable 'len' [-Wunused-variable] [ 54s] unsigned int len = 0; [ 54s] ^~~ [ 54s] usb/drv_cdc.c: In function 'USB_DeInit': [ 54s] usb/drv_cdc.c:1045:2: warning: implicit declaration of function 'usb_power_off' [-Wimplicit-function-declaration] [ 54s] usb_power_off(); [ 54s] ^~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c: At top level: [ 54s] usb/drv_cdc.c:1069:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 54s] void sprd_usb_thor_start() [ 54s] ^~~~~~~~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c:1069:6: warning: conflicting types for 'sprd_usb_thor_start' [ 54s] usb/drv_cdc.c:1034:2: note: previous implicit declaration of 'sprd_usb_thor_start' was here [ 54s] sprd_usb_thor_start(); [ 54s] ^~~~~~~~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c: In function 'sprd_usb_thor_start': [ 54s] usb/drv_cdc.c:1078:12: warning: 'return' with a value, in function returning void [ 54s] return -1; [ 54s] ^ [ 54s] usb/drv_cdc.c:1069:6: note: declared here [ 54s] void sprd_usb_thor_start() [ 54s] ^~~~~~~~~~~~~~~~~~~ [ 54s] usb/drv_cdc.c:1080:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 54s] if (!strncmp(sprd_thor_setup_buf, "THOR", strlen("THOR"))) [ 54s] ^~~~~~~~~~~~~~~~~~~ [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/common.h:41:0, [ 54s] from usb/drv_cdc.c:12: [ 54s] /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 *' [ 54s] extern int strncmp(const char *,const char *,__kernel_size_t); [ 54s] ^~~~~~~ [ 54s] usb/drv_cdc.c:1083:17: warning: pointer targets in passing argument 1 of 'USB_WriteEx' differ in signedness [-Wpointer-sign] [ 54s] USB_WriteEx("ROHT", strlen("ROHT")); [ 54s] ^~~~~~ [ 54s] usb/drv_cdc.c:906:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' [ 54s] PUBLIC int32 USB_WriteEx(uint8 *pBuf,uint32 len) [ 54s] ^~~~~~~~~~~ [ 54s] usb/drv_cdc.c:1097:9: warning: 'return' with a value, in function returning void [ 54s] return 0; [ 54s] ^ [ 54s] usb/drv_cdc.c:1069:6: note: declared here [ 54s] void sprd_usb_thor_start() [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 54s] -o vbat_check.o vbat_check.c -c [ 54s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/config.h:4:0, [ 54s] from usb/usb_hw.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 usb/usb_hw.c:3:0: [ 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 usb/usb_hw.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 usb/usb_hw.c:3:0: [ 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 usb/usb_hw.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] usb/usb_hw.c: In function 'usb_power_on': [ 54s] usb/usb_hw.c:132:6: warning: unused variable 'ret' [-Wunused-variable] [ 54s] int ret =0; [ 54s] ^~~ [ 54s] At top level: [ 54s] usb/usb_hw.c:84:21: warning: 'ADIAnalogdieRegWrite' defined but not used [-Wunused-function] [ 54s] static unsigned int ADIAnalogdieRegWrite(unsigned long addr,uint16 data) [ 54s] ^~~~~~~~~~~~~~~~~~~~ [ 54s] usb/usb_hw.c:67:21: warning: 'ADIAnalogdieRegRead' defined but not used [-Wunused-function] [ 54s] static unsigned int ADIAnalogdieRegRead(unsigned long addr) [ 54s] ^~~~~~~~~~~~~~~~~~~ [ 54s] usb/usb_hw.c:54:13: warning: 'ADIConfig' defined but not used [-Wunused-function] [ 54s] static void ADIConfig(void) [ 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 vbat_check.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 vbat_check.c:3: [ 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 vbat_check.c:1: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 vbat_check.c:3: [ 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 vbat_check.c:1: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] vbat_check.c: In function 'is_bat_low': [ 54s] vbat_check.c:65:8: warning: implicit declaration of function 'sprdbat_auxadc2vbatvol' [-Wimplicit-function-declaration] [ 54s] if(sprdbat_auxadc2vbatvol (adc_value) < comp_vbat) [ 54s] ^~~~~~~~~~~~~~~~~~~~~~ [ 55s] 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 [ 55s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/property' [ 55s] make -C board/spreadtrum/tizen_tm1/ [ 55s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 55s] -o openphone.o openphone.c -c [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 55s] -o sprd_kp.o sprd_kp.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 openphone.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/adi_hal_internal.h:23:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 55s] from openphone.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 openphone.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/asm/arch/adi_hal_internal.h:23:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/ldo.h:18, [ 55s] from openphone.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 openphone.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/regs_ahb.h:20:0, [ 55s] from openphone.c:5: [ 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 openphone.c:5:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:26:0: warning: "AHB_SOFT_RST" redefined [ 55s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x04) [ 55s] [ 55s] In file included from openphone.c:4:0: [ 55s] /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 [ 55s] #define AHB_SOFT_RST (AHB_REG_BASE + 0x0004) [ 55s] [ 55s] In file included from openphone.c:5:0: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/regs_ahb.h:41:0: warning: "CHIP_ID" redefined [ 55s] #define CHIP_ID (AHB_REG_BASE + 0x1FC) [ 55s] [ 55s] In file included from openphone.c:4:0: [ 55s] /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 [ 55s] #define CHIP_ID (AHB_REG_BASE + 0x00fc) [ 55s] [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_config_extern.h:34:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/chip_drv_reg.h:5, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_reg.h:25, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sc_fdl_reg.h:24, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/common.h:24, [ 55s] from openphone.c:6: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/sprd_module_config.h:54:0: warning: "KPD_NUM" redefined [ 55s] #define KPD_NUM (0x31 << 16) [ 55s] [ 55s] /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 [ 55s] #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 [ 55s] [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 55s] from openphone.c:12: [ 55s] /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm-generic/gpio.h:103:28: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration [ 55s] void (*dbg_show)(struct seq_file *s, [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 55s] from openphone.c:14: [ 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 openphone.c:5: [ 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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 55s] from openphone.c:14: [ 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/pinmap.h:20, [ 55s] from openphone.c:14: [ 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] openphone.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] int mmc_sdcard_init(); [ 55s] ^~~ [ 55s] openphone.c:42:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [ 55s] void aon_26M_timer2_enable() [ 55s] ^~~~~~~~~~~~~~~~~~~~~ [ 55s] openphone.c: In function 'get_hw_rev': [ 55s] openphone.c:58:3: warning: implicit declaration of function 'sprd_gpio_request' [-Wimplicit-function-declaration] [ 55s] sprd_gpio_request(NULL, hw_rev_gpio[i]); [ 55s] ^~~~~~~~~~~~~~~~~ [ 55s] openphone.c:59:3: warning: implicit declaration of function 'sprd_gpio_direction_input' [-Wimplicit-function-declaration] [ 55s] sprd_gpio_direction_input(NULL, hw_rev_gpio[i]); [ 55s] ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 55s] openphone.c:60:38: warning: implicit declaration of function 'sprd_gpio_get' [-Wimplicit-function-declaration] [ 55s] hw_revision = (hw_revision << 1) | sprd_gpio_get(NULL, hw_rev_gpio[i]); [ 55s] ^~~~~~~~~~~~~ [ 55s] openphone.c:61:3: warning: implicit declaration of function 'sprd_gpio_free' [-Wimplicit-function-declaration] [ 55s] sprd_gpio_free(NULL, hw_rev_gpio[i]); [ 55s] ^~~~~~~~~~~~~~ [ 55s] openphone.c: In function 'board_init': [ 55s] openphone.c:73:2: warning: implicit declaration of function 'misc_init' [-Wimplicit-function-declaration] [ 55s] misc_init(); [ 55s] ^~~~~~~~~ [ 55s] openphone.c:76:2: warning: implicit declaration of function 'sprd_eic_init' [-Wimplicit-function-declaration] [ 55s] sprd_eic_init(); [ 55s] ^~~~~~~~~~~~~ [ 55s] openphone.c:78:2: warning: implicit declaration of function 'init_ldo_sleep_gr' [-Wimplicit-function-declaration] [ 55s] init_ldo_sleep_gr(); [ 55s] ^~~~~~~~~~~~~~~~~ [ 55s] openphone.c:85:2: warning: implicit declaration of function 'check_smpl' [-Wimplicit-function-declaration] [ 55s] check_smpl(); [ 55s] ^~~~~~~~~~ [ 55s] openphone.c: At top level: [ 55s] openphone.c:91:6: warning: conflicting types for 'check_smpl' [ 55s] void check_smpl(void) [ 55s] ^~~~~~~~~~ [ 55s] openphone.c:85:2: note: previous implicit declaration of 'check_smpl' was here [ 55s] check_smpl(); [ 55s] ^~~~~~~~~~ [ 55s] In file included from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/linux/gpio.h:35:0, [ 55s] from openphone.c:12: [ 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] gcc -g -Os -fno-common -ffixed-r8 -msoft-float -mno-unaligned-access -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x9f600000 -DCONFIG_SYS_NAND_U_BOOT_SIZE=0xa0000 -DCONFIG_SPL_LOAD_LEN="(0x6000)" -I/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/armv7l-tizen-linux-gnueabi/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 55s] -o pinmap-sp7730.o pinmap-sp7730.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 sprd_kp.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 sprd_kp.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 sprd_kp.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 sprd_kp.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 sprd_kp.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 sprd_kp.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 sprd_kp.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] sprd_kp.c: In function 'board_keypad_init': [ 55s] sprd_kp.c:14:18: warning: unused variable 'key_type' [-Wunused-variable] [ 55s] unsigned int key_type; [ 55s] ^~~~~~~~ [ 55s] sprd_kp.c: In function 'board_key_scan': [ 55s] sprd_kp.c:104:2: warning: implicit declaration of function 'sprd_eic_request' [-Wimplicit-function-declaration] [ 55s] sprd_eic_request(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 55s] ^~~~~~~~~~~~~~~~ [ 55s] sprd_kp.c:106:13: warning: implicit declaration of function 'sprd_eic_get' [-Wimplicit-function-declaration] [ 55s] volumeup = sprd_eic_get(EIC_KEY2_7S_RST_EXT_RSTN_ACTIVE); [ 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/6.2.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector \ [ 55s] -o ldo_sleep.o ldo_sleep.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/asm/arch/pinmap.h:19, [ 55s] from pinmap-sp7730.c:5: [ 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/sprd_reg.h:58:0, [ 55s] from /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 55s] from pinmap-sp7730.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 /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/include/asm/arch/pinmap.h:20, [ 55s] from pinmap-sp7730.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] 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 ldo_sleep.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/sprd_reg.h:58:0, [ 55s] from ldo_sleep.c:4: [ 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 ldo_sleep.c:4: [ 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] ldo_sleep.c: In function 'init_ldo_sleep_gr': [ 55s] ldo_sleep.c:774:2: warning: implicit declaration of function 'CSP_Init' [-Wimplicit-function-declaration] [ 55s] CSP_Init(0); [ 55s] ^~~~~~~~ [ 55s] ar crv libtizen_tm1.o openphone.o sprd_kp.o pinmap-sp7730.o ldo_sleep.o [ 56s] a - openphone.o [ 56s] a - sprd_kp.o [ 56s] a - pinmap-sp7730.o [ 56s] a - ldo_sleep.o [ 56s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/board/spreadtrum/tizen_tm1' [ 56s] 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/6.2.1 -lgcc -Map u-boot.map -o u-boot [ 56s] objcopy -O srec u-boot u-boot.srec [ 56s] objcopy --gap-fill 0xff -O binary u-boot u-boot.bin [ 56s] + chmod 755 tools/mkimage_signed.sh [ 56s] + mkimage_signed.sh u-boot.bin tizen_tm1 [ 56s] ##################################### [ 56s] Running script: tools/mkimage_signed.sh [ 56s] Config: tizen_tm1 [ 56s] Input binary: u-boot.bin [ 56s] Input bytes: 614696 (Max size: 1048064 B) [ 56s] [ 56s] Header info: [ 56s] HDR length: 512 Bytes [ 56s] SIG magic: "BoOt" [ 56s] SIG size: 0 [ 56s] SIG valid: 0 [ 56s] SIG date: "2017091521" (YYMMDDHH) [ 56s] SIG version: "none" [ 56s] SIG board: "tizen_tm1" [ 56s] [ 56s] Output signed binary: u-boot-mmc.bin [ 56s] ##################################### [ 56s] + exit 0 [ 56s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fW0cwk [ 56s] + umask 022 [ 56s] + cd /home/abuild/rpmbuild/BUILD [ 56s] + cd u-boot-sprd-2010.12 [ 56s] + LANG=C [ 56s] + export LANG [ 56s] + unset DISPLAY [ 56s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm [ 56s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm [ 56s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm [ 56s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm/boot/u-boot [ 56s] + install -d /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm/boot/u-boot [ 56s] + install -m 755 u-boot.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm/boot/u-boot [ 56s] + install -m 755 u-boot-mmc.bin /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm/boot/u-boot [ 56s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12 [ 56s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/u-boot-sprd-debuginfo.manifest [ 56s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/u-boot-sprd-2010.12/u-boot-sprd-debugsource.manifest [ 56s] + /usr/lib/rpm/check-buildroot [ 56s] + /usr/lib/rpm//brp-compress [ 56s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 56s] + /usr/lib/rpm/brp-python-hardlink [ 56s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm [ 56s] Processing files: u-boot-sprd-debugsource-2010.12-2.5.armv7l [ 56s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 56s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 56s] [ 56s] Provides: u-boot-sprd-debugsource = 2010.12-2.5 u-boot-sprd-debugsource(armv7l-32) = 2010.12-2.5 [ 56s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 56s] Processing files: u-boot-tm1-2010.12-2.5.armv7l [ 56s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 56s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 56s] [ 56s] Provides: u-boot-tm1 = 2010.12-2.5 u-boot-tm1(armv7l-32) = 2010.12-2.5 [ 56s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 56s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm [ 56s] warning: Could not canonicalize hostname: obsnw01 [ 57s] Wrote: /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-2.5.src.rpm [ 57s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-2.5.armv7l.rpm [ 57s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-2.5.armv7l.rpm [ 57s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.r6RYSv [ 57s] + umask 022 [ 57s] + cd /home/abuild/rpmbuild/BUILD [ 57s] + cd u-boot-sprd-2010.12 [ 57s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/u-boot-sprd-2010.12-2.5.arm [ 57s] + exit 0 [ 57s] ... checking for files with abuild user/group [ 57s] ... creating baselibs [ 58s] ... comparing built packages with the former built [ 58s] /usr/lib/build/pkg-diff.sh [ 58s] compare /.build.oldpackages/u-boot-sprd-2010.12-2.4.src.rpm /home/abuild/rpmbuild/SRPMS/u-boot-sprd-2010.12-2.5.src.rpm [ 58s] This is not a prerelease project. Compare the project name. [ 58s] comparing rpmtags [ 58s] comparing RELEASE [ 58s] comparing PROVIDES [ 58s] comparing scripts [ 58s] comparing filelist [ 58s] comparing file checksum [ 58s] RPM meta information is identical [ 58s] compare /.build.oldpackages/u-boot-sprd-debugsource-2010.12-2.4.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/u-boot-sprd-debugsource-2010.12-2.5.armv7l.rpm [ 58s] Comparing u-boot-sprd-debugsource-2010.12-2.4.armv7l.rpm to u-boot-sprd-debugsource-2010.12-2.5.armv7l.rpm [ 58s] This is not a prerelease project. Compare the project name. [ 58s] comparing rpmtags [ 58s] comparing RELEASE [ 58s] comparing PROVIDES [ 58s] comparing scripts [ 58s] comparing filelist [ 58s] comparing file checksum [ 58s] creating rename script [ 59s] RPM meta information is identical [ 59s] compare /.build.oldpackages/u-boot-tm1-2010.12-2.4.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/u-boot-tm1-2010.12-2.5.armv7l.rpm [ 59s] Comparing u-boot-tm1-2010.12-2.4.armv7l.rpm to u-boot-tm1-2010.12-2.5.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 [ 59s] comparing filelist [ 59s] comparing file checksum [ 59s] creating rename script [ 59s] RPM file checksum differs. [ 59s] Extracting packages [ 59s] /boot/u-boot/u-boot-mmc.bin differs (data) [ 62s] --- /tmp/tmp.shlkm16322/tmp.SpvhT16594 2017-09-15 21:09:34.885071030 +0000 [ 62s] +++ /tmp/tmp.shlkm16322/tmp.qIssc16599 2017-09-15 21:09:34.945071960 +0000 [ 62s] @@ -17362,8 +17362,8 @@ [ 62s] 00043d10 6c 65 00 75 73 62 5f 70 6f 77 65 72 5f 6f 6e 00 |le.usb_power_on.| [ 62s] 00043d20 55 2d 42 6f 6f 74 20 32 30 31 30 2e 31 32 2d 67 |U-Boot 2010.12-g| [ 62s] 00043d30 34 62 31 36 38 32 63 30 61 2d 54 49 5a 45 4e 2e |4b1682c0a-TIZEN.| [ 62s] -00043d40 6f 72 67 20 28 53 65 70 20 30 39 20 32 30 31 37 |org (Sep 09 2017| [ 62s] -00043d50 20 2d 20 30 33 3a 32 39 3a 35 31 29 00 00 00 00 | - 03:29:51)....| [ 62s] +00043d40 6f 72 67 20 28 53 65 70 20 31 35 20 32 30 31 37 |org (Sep 15 2017| [ 62s] +00043d50 20 2d 20 32 31 3a 30 39 3a 30 37 29 00 00 00 00 | - 21:09:07)....| [ 62s] 00043d60 24 89 64 9f 2c 89 64 9f 33 89 64 9f 3a 89 64 9f |$.d.,.d.3.d.:.d.| [ 62s] 00043d70 41 89 64 9f 48 89 64 9f 4f 89 64 9f 56 89 64 9f |A.d.H.d.O.d.V.d.| [ 62s] 00043d80 5d 89 64 9f 64 89 64 9f 6b 89 64 9f 73 89 64 9f |].d.d.d.k.d.s.d.| [ 62s] @@ -37868,7 +37868,7 @@ [ 62s] 00096130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [ 62s] * [ 62s] 000ffe00 42 6f 4f 74 00 00 00 00 00 00 00 00 32 30 31 37 |BoOt........2017| [ 62s] -000ffe10 30 39 30 39 30 33 00 00 6e 6f 6e 65 00 00 00 00 |090903..none....| [ 62s] +000ffe10 30 39 31 35 32 31 00 00 6e 6f 6e 65 00 00 00 00 |091521..none....| [ 62s] 000ffe20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [ 62s] 000ffe30 74 69 7a 65 6e 5f 74 6d 31 00 00 00 00 00 00 00 |tizen_tm1.......| [ 62s] 000ffe40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [ 63s] [ 63s] obsnw01 finished "build u-boot-tm1.spec" at Fri Sep 15 21:09:35 UTC 2017. [ 63s]