C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2333 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
cbc3543247
commit
db4daee44f
|
@ -94,7 +94,7 @@ static int davinci_init(struct nand_device_s *nand)
|
||||||
*/
|
*/
|
||||||
target_read_u32(target, info->aemif + NANDFCR, &nandfcr);
|
target_read_u32(target, info->aemif + NANDFCR, &nandfcr);
|
||||||
if (!(nandfcr & (1 << info->chipsel))) {
|
if (!(nandfcr & (1 << info->chipsel))) {
|
||||||
LOG_ERROR("chip address %08x not NAND-enabled?", info->data);
|
LOG_ERROR("chip address %08" PRIx32 " not NAND-enabled?", info->data);
|
||||||
return ERROR_NAND_OPERATION_FAILED;
|
return ERROR_NAND_OPERATION_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue