aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nand/lpc32xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nand/lpc32xx.c')
-rw-r--r--src/flash/nand/lpc32xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand/lpc32xx.c b/src/flash/nand/lpc32xx.c
index 2c578d1..f8b59b3 100644
--- a/src/flash/nand/lpc32xx.c
+++ b/src/flash/nand/lpc32xx.c
@@ -1029,7 +1029,7 @@ static int lpc32xx_write_page_slc(struct nand_device *nand,
LOG_DEBUG("SLC write page %" PRIx32 " data=%d, oob=%d, "
"data_size=%" PRIu32 ", oob_size=%" PRIu32,
- page, data != 0, oob != 0, data_size, oob_size);
+ page, !!data, !!oob, data_size, oob_size);
target_mem_base = pworking_area->address;
/*