> -----Original Message----- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Monday, September 12, 2011 12:06 PM > To: U-Boot; Premi, Sanjeev; Paulraj, Sandeep > Subject: Warning > > Sanjeev, Sandeep, > > I see a lot of this warning in many OMAP boards: > > --------------------- > Configuring for omap4_sdp4430 board... > gpio.c: In function 'omap_get_gpio_dataout': > gpio.c:161: warning: assignment discards qualifiers from > pointer target type > ---------------------
Albert, Which branch are you seeing this warning on? I was able to build the u-boot successfully for "omap4_sdp4430" using codesourcery 2011.03-41 and codesourcery2009q1-203 on the u-boot-arm/master at: 4f02fba : omap4: fix pad configuration settings for SDP and Panda 3e90493 : omap4: IO settings a5b6a6c : omap4: make SDRAM init work for ES1.0 silicon e5c06a0 : omap4: factor out common part from board config headers 9a18112 : omap: gpio: Adapt board files to use generic API d7605af : omap: gpio: generic changes after changing API 5b5c435 : omap: gpio: Use generic API c7a993f : led: remove camel casing of led identifiers globally Infact, the function "omap_get_gpio_dataout" shouldn't exist as it was replaced with generic gpio API in commit "5b5c435" listed above. Believeing that you were trying to build the u-boot master, I tried to check there, but always get stuck with different errors: premi # make omap4_sdp4430_config Configuring for omap4_sdp4430 board... premi # make > bld-master.log make[1]: *** No rule to make target `/home/premi/u-boot/include/configs/omap4_common.h', needed by `hello_world.o'. Stop. make: *** [examples/standalone] Error 2 premi # make distclean premi # make omap3_evm_config Configuring for omap3_evm board... premi # make >> bld-master.log make[1]: *** No rule to make target `/home/premi/u-boot/include/configs/omap4_common.h', needed by `hello_world.o'. Stop. make: *** [examples/standalone] Error 2 > > Commit 5c2684dbebe9df47ea0a1865ed94db7886ea5941, I assume, is what > brought this in, but I cannot verify this right now, as I am in the > middle of aMAKEALL arm. > Couldn't find this commit in my repo may be, because I am tracking only master. But wasn't able to find via gitweb either on: http://git.denx.de/?p=u-boot/u-boot-arm.git;a=shortlog ~sanjeev > Can someone look up what causes this warning? > > Amicalement, > -- > Albert. > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot