projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'sandbox' of git://git.denx.de/u-boot-x86
[oweals/u-boot.git]
/
drivers
/
mtd
/
nand
/
denali_spl.c
diff --git
a/drivers/mtd/nand/denali_spl.c
b/drivers/mtd/nand/denali_spl.c
index 65fdde8a65290eeb062f479a10ae26449d55703a..e98f537c2c36fa1d8035b4cfbc91ed2c6c0a98ee 100644
(file)
--- a/
drivers/mtd/nand/denali_spl.c
+++ b/
drivers/mtd/nand/denali_spl.c
@@
-203,7
+203,7
@@
int nand_spl_load_image(uint32_t offs, unsigned int size, void *dst)
if (ret < 0)
return ret;
- readlen = min(page_size - column, size);
+ readlen = min(page_size - column,
(int)
size);
memcpy(dst, page_buffer, readlen);
column = 0;