Re: [U-Boot] Build failure in spi repo

2016-12-15 Thread Stephen Warren

On 12/15/2016 10:48 AM, Jagan Teki wrote:

On Thu, Dec 15, 2016 at 6:24 PM, Stephen Warren  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.

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Build failure in spi repo

2016-12-15 Thread Jagan Teki
On Thu, Dec 15, 2016 at 6:24 PM, Stephen Warren  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.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Build failure in spi repo

2016-12-15 Thread Stephen Warren
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.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot