[U-Boot] Build failure in spi repo

Stephen Warren swarren at wwwdotorg.org
Thu Dec 15 19:17:06 CET 2016


On 12/15/2016 10:48 AM, Jagan Teki wrote:
> On Thu, Dec 15, 2016 at 6:24 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
>> Jagan, the latest content in u-boot-spi.git master branch fails to build for
>> sandbox with:
>>
>>> In file included from drivers/mtd/spi/spi_flash.c:12:0:
>>> drivers/mtd/spi/spi_flash.c: In function ‘set_quad_mode’:
>>> drivers/mtd/spi/spi_flash.c:906:49: error: ‘idcode0’ undeclared (first use
>>> in this function)
>>>    debug("SF: QEB is volatile for %02x flash\n", idcode0);
>>>                                                  ^
>>> include/common.h:123:26: note: in definition of macro ‘debug_cond’
>>>     printf(pr_fmt(fmt), ##args); \
>>>                           ^
>>> drivers/mtd/spi/spi_flash.c:906:3: note: in expansion of macro ‘debug’
>>>    debug("SF: QEB is volatile for %02x flash\n", idcode0);
>>>    ^
>>> drivers/mtd/spi/spi_flash.c:906:49: note: each undeclared identifier is
>>> reported only once for each function it appears in
>>>    debug("SF: QEB is volatile for %02x flash\n", idcode0);
>>>                                                  ^
>>> include/common.h:123:26: note: in definition of macro ‘debug_cond’
>>>     printf(pr_fmt(fmt), ##args); \
>>>                           ^
>>> drivers/mtd/spi/spi_flash.c:906:3: note: in expansion of macro ‘debug’
>>>    debug("SF: QEB is volatile for %02x flash\n", idcode0);
>>>    ^
>>> make[2]: *** [drivers/mtd/spi/spi_flash.o] Error 1
>>> make[2]: *** Waiting for unfinished jobs....
>>
>>
>> The build seems to work with the previous commit though.
>
> Please try now.

Looks like it's back to normal now, thanks.



More information about the U-Boot mailing list