[U-Boot] Pull request: u-boot-spi/next
Jagan Teki
jteki at openedev.com
Wed Nov 4 12:30:28 CET 2015
On 4 November 2015 at 16:51, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Jagan,
>
> On Wed, Nov 4, 2015 at 9:17 AM, Jagan Teki <jteki at openedev.com> wrote:
>
>> Updated u32 to size_t as prototype uses the same. Does this break? it look OK?
>
> Here is the error I see on Blackfin:
>
> Building bf518f-ezbrd board...
> /home/fabio/.buildman-toolchains/gcc-4.6.3-nolibc/bfin-uclinux/bin/bfin-uclinux-size:
> './u-boot': No such file
> drivers/mtd/spi/sf_ops.c:655:5: error: conflicting types for 'stm_lock'
> drivers/mtd/spi/sf_ops.c:706:5: error: conflicting types for 'stm_unlock'
> make[1]: *** [drivers/mtd/spi/sf_ops.o] Error 1
> make: *** [drivers/mtd/spi] Error 2
> drivers/mtd/spi/sf_ops.c:655:5: error: conflicting types for 'stm_lock'
> drivers/mtd/spi/sf_internal.h:180:5: note: previous declaration of
> 'stm_lock' was here
> drivers/mtd/spi/sf_ops.c:706:5: error: conflicting types for 'stm_unlock'
> drivers/mtd/spi/sf_internal.h:183:5: note: previous declaration of
> 'stm_unlock' was here
> make[1]: *** [drivers/mtd/spi/sf_ops.o] Error 1
>
> By using size_t we fix this conflicting type error.
Yes true, stm_lock and stm_unlock should use size_t for len - Will
update the same.
With these all built fine?
thanks!
--
Jagan | openedev.
More information about the U-Boot
mailing list