
Tom Rini <trini <at> konsulko.com> writes:
We want to see if the requested start or total block count are unaligned. We discard the whole numbers and only care about the remainder. Update the code to use div_u64_rem here and add a comment.
drivers/mmc/mmc_write.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc_write.c b/drivers/mmc/mmc_write.c index 3db9669..7aea7e9 100644
Hi Tom!
I can confirm that this patch solves the CONFIG_SYS_64BIT_LBA compilation issue with armhf for me (gcc 4.8.3 armv7a-hardfloat-linux-gnueabi, on a Banana Pi = sun7i/A20).
So I'll add a Tested-by: Bernhard Nortmann bernhard.nortmann@web.de
BTW: There's a small typo you also might want to fix: "The erase range would be change to " -> "The erase range would be changed to "
Regards, B. Nortmann