<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/linux/math64.h, branch v2026.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/include/linux/math64.h?h=v2026.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/include/linux/math64.h?h=v2026.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-04-21T17:19:49Z</updated>
<entry>
<title>compat: math64: add abs_diff()</title>
<updated>2026-04-21T17:19:49Z</updated>
<author>
<name>Casey Connolly</name>
<email>casey.connolly@linaro.org</email>
</author>
<published>2026-04-01T14:15:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f1f4a1d1d8355b0fc6bfc82d9ca6741a8e92623b'/>
<id>urn:sha1:f1f4a1d1d8355b0fc6bfc82d9ca6741a8e92623b</id>
<content type='text'>
Add the abs_diff() macro, copied directly from Linux 6.18.

Signed-off-by: Casey Connolly &lt;casey.connolly@linaro.org&gt;
</content>
</entry>
<entry>
<title>lib: div64: Add support for round up of div64_u64</title>
<updated>2022-03-09T11:34:47Z</updated>
<author>
<name>Ashok Reddy Soma</name>
<email>ashok.reddy.soma@xilinx.com</email>
</author>
<published>2022-02-23T14:36:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3adc17f60bf804fd8fe25e7c20399243f26d7f49'/>
<id>urn:sha1:3adc17f60bf804fd8fe25e7c20399243f26d7f49</id>
<content type='text'>
Most of the frequencies are not rounded up to a proper number.
When we need to devide these frequencies to get a number for example
frequency in Mhz, we see it as one less than the actual intended value.
Ex: If we want to get Mhz from frequency 199999994hz, we will calculate
it using div64_u64(199999994, 1000000) and we will get 199Mhz in place
of 200Mhz.

Add a macro DIV64_U64_ROUND_UP for rounding up div64_u64. This is taken
from linux 'commit 68600f623d69("mm: don't miss the last page because of
round-off error")'.

Signed-off-by: Ashok Reddy Soma &lt;ashok.reddy.soma@xilinx.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Link: https://lore.kernel.org/r/f9fdcba76cd692ae436b1d7883b490e3dc207231.1645626962.git.michal.simek@xilinx.com
</content>
</entry>
<entry>
<title>lib: div64: sync with Linux</title>
<updated>2017-04-13T13:41:10Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2017-04-10T05:39:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0342e335ba887817ed401e77be324e064ea7031e'/>
<id>urn:sha1:0342e335ba887817ed401e77be324e064ea7031e</id>
<content type='text'>
Sync with Linux commit ad0376eb1483b ("Merge tag 'edac_for_4.11_2'").

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>UBIFS: Implement read-only UBIFS support in U-Boot</title>
<updated>2009-03-20T21:39:15Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2009-03-19T14:35:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9eefe2a2b37a838558e3d213a9f5519503d0c180'/>
<id>urn:sha1:9eefe2a2b37a838558e3d213a9f5519503d0c180</id>
<content type='text'>
The U-Boot UBIFS implementation is largely a direct copy from the current
Linux version (2.6.29-rc6). As already done in the UBI version we have an
"abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock()
...). This makes it possible to use the original Linux code with very
little changes. And by this we can better update to later Linux versions.

I removed some of the Linux features that are not used in the U-Boot
version (e.g. garbage-collection, write support).

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
CC: Artem Bityutskiy &lt;dedekind@infradead.org&gt;
CC: Adrian Hunter &lt;ext-Adrian.Hunter@nokia.com&gt;
</content>
</entry>
</feed>
