Skip to contentSkip to conversation

Move 64bit division from avr32 to generic lib, take #2

PATCH New Dirk Behme 2 participants 2 messages Aug 2, 2007 – Aug 5, 2007

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH 1/2 Move 64bit division from avr32 to generic lib, take #2

Move the 64bit division from lib_avr32 to lib_generic. With this, all boards can do_div/__div64_32 if needed, not only avr one. Code is put to lib_generic, so no larger memory footprint if not used. No code modifications. Thanks for proposal by H?vard Skinnemoen.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 01_div64_generic_patch.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20070802/75df5b99/attachment.txt

#1 lore raw

PATCH 1/2 Move 64bit division from avr32 to generic lib, take #2

Dear Dirk,

Quoted 7 lines · in message <[email protected]> you wrote:

Move the 64bit division from lib_avr32 to lib_generic. With this, all boards can do_div/__div64_32 if needed, not only avr one. Code is put to lib_generic, so no larger memory footprint if not used. No code modifications. Thanks for proposal by H?vard Skinnemoen.

Can you please check and redo the pacth against currnt u-boot-testing repo? I cannot apply it:

error: patch failed: lib_generic/Makefile:27
error: lib_generic/Makefile: patch does not apply
fatal: sha1 information is lacking or useless (lib_generic/Makefile). Patch does not record usable index information.
Cannot fall back to three-way merge.
Patch failed at 0001.

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
But the only way of discovering the limits  of  the  possible  is  to
venture a little way past them into the impossible.
                         - _Profiles of the Future_ (1962; rev. 1973)
                  ``Hazards of Prophecy: The Failure of Imagination''