<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/sh/lib/time.c, branch v2020.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/sh/lib/time.c?h=v2020.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/sh/lib/time.c?h=v2020.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-05-19T01:19:23Z</updated>
<entry>
<title>common: Drop linux/bitops.h from common header</title>
<updated>2020-05-19T01:19:23Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-10T17:40:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cd93d625fd751d55c729c78b10f82109d56a5f1d'/>
<id>urn:sha1:cd93d625fd751d55c729c78b10f82109d56a5f1d</id>
<content type='text'>
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>common: Drop init.h from common header</title>
<updated>2020-05-18T21:33:33Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2020-05-10T17:40:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=691d719db7183dfb1d1360efed4c5e9f6899095f'/>
<id>urn:sha1:691d719db7183dfb1d1360efed4c5e9f6899095f</id>
<content type='text'>
Move this uncommon header out of the common header.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sh: sh3: Remove CPU support</title>
<updated>2019-05-10T20:43:18Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2019-05-07T20:04:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d0487da83f916181eba57251ca28b2cb4d728092'/>
<id>urn:sha1:d0487da83f916181eba57251ca28b2cb4d728092</id>
<content type='text'>
This CPU core is old, no boards using the CPU are left in mainline,
it has no prospects of ever being converted to DM, drop it.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
Cc: Chris Brandt &lt;chris.brandt@renesas.com&gt;
Cc: Nobuhiro Iwamatsu &lt;iwamatsu@nigauri.org&gt;
Cc: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Cc: Yoshihiro Shimoda &lt;shimoda.yoshihiro.uh@renesas.com&gt;
</content>
</entry>
<entry>
<title>sh: tmu: Zap get_tbclk and timer_read_counter</title>
<updated>2018-09-15T01:19:07Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-24T19:52:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0e286c529f395947dbb96da93081883aca40a57f'/>
<id>urn:sha1:0e286c529f395947dbb96da93081883aca40a57f</id>
<content type='text'>
Replace those two functions with generic ones by defining the
timer macros in include/config/*.h .

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
</content>
</entry>
<entry>
<title>sh: tmu: Clean up register usage</title>
<updated>2018-09-15T01:19:07Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-24T19:43:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f02c1f695e13ee0ce01f111952ceaac094700de1'/>
<id>urn:sha1:f02c1f695e13ee0ce01f111952ceaac094700de1</id>
<content type='text'>
The code uses all in all three TMU registers, drop the massive
register layout structures and just define the required timer
registers and use them throughout the code.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
</content>
</entry>
<entry>
<title>sh: tmu: Inline sh_tmu.h</title>
<updated>2018-09-15T01:19:07Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-24T19:37:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8b39df9e78759c3af07466224c03d9a90d2453ca'/>
<id>urn:sha1:8b39df9e78759c3af07466224c03d9a90d2453ca</id>
<content type='text'>
The header contains only the TMU register layout, just inline it
into the TMU timer implementation and drop the header completely.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
</content>
</entry>
<entry>
<title>sh: tmu: Clean up CONFIG_SH_TMU_CLK_FREQ</title>
<updated>2018-09-15T01:19:07Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-24T19:34:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ccce3acfe70bdfb4fa8529dc853294f82859b08b'/>
<id>urn:sha1:ccce3acfe70bdfb4fa8529dc853294f82859b08b</id>
<content type='text'>
The R-Car Gen2 feeds the TMU with CONFIG_SYS_CLK_FREQ / 2,
while the old SH parts use CONFIG_SYS_CLK_FREQ directly.
Just put this into the TMU implementation and drop the
CONFIG_SH_TMU_CLK_FREQ config option.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
</content>
</entry>
<entry>
<title>sh: tmu: Inline get_tmu0_clk_rate()</title>
<updated>2018-09-15T01:19:07Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-24T19:29:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ae59a9f8f7785d86277149eb37314d2f21392f6f'/>
<id>urn:sha1:ae59a9f8f7785d86277149eb37314d2f21392f6f</id>
<content type='text'>
This function just returns CONFIG_SH_TMU_CLK_FREQ, use the constant
directly instead.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
</content>
</entry>
<entry>
<title>sh: tmu: Inline tmu_timer_{start,stop}()</title>
<updated>2018-09-15T01:19:07Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-24T19:23:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=15f11fc6d72175ff5b7763f03d7b0d502efd24af'/>
<id>urn:sha1:15f11fc6d72175ff5b7763f03d7b0d502efd24af</id>
<content type='text'>
These functions are always called for timer = 0, so drop the
timer check. Since these functions are called from one place
only and they are reduced to one line of code, just inline
them.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
</content>
</entry>
<entry>
<title>sh: tmu: Simplify the tmu_bit math</title>
<updated>2018-09-15T01:19:07Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-24T19:20:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eb05dcfea29bbafbc9f8ce3b7894e3e53f35d743'/>
<id>urn:sha1:eb05dcfea29bbafbc9f8ce3b7894e3e53f35d743</id>
<content type='text'>
The tmu_bit value evaluates to (ffs(4) &gt;&gt; 1) - 1 = (3 &gt;&gt; 1) - 1 = 0.
Just drop the tmu_bit completely as well as CONFIG_SYS_TMU_CLK_DIV.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
</content>
</entry>
</feed>
