]> git.ipfire.org Git - people/ms/u-boot.git/commit - common/cmd_nand.c
Fix do_div() usage in nand process output
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>
Tue, 11 Sep 2007 15:04:00 +0000 (17:04 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 15 Sep 2007 19:38:38 +0000 (21:38 +0200)
commit5bd7fe9aeb76906371f40b8fd07613f10922e3e7
tree017950cd8c366e46f23b2f9253d470f40ce1b61a
parentc750d2e6692a000a82f29de7bf24e3dc21239161
Fix do_div() usage in nand process output

Fix usage of do_div() in nand erase|read|write process output.

The last patch to nand_util.c introduced do_div() instead of libgcc's
implementation. But do_div() returns the quotient in its first
macro parameter and not as result.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
common/cmd_nand.c
drivers/nand/nand_util.c