[U-Boot] Build failure in spi repo

Jagan Teki jagan at openedev.com
Thu Dec 15 18:48:37 CET 2016


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.

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list