<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/sh/lib/time.c, branch v2020.01</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.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/sh/lib/time.c?h=v2020.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-05-10T20:43:18Z</updated>
<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>
<entry>
<title>sh: tmu: Clean up CONFIG_SYS_TMU_CLK_DIV</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:19:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d1da5d6cd8d33f777cf8374bf070970c4cca32e1'/>
<id>urn:sha1:d1da5d6cd8d33f777cf8374bf070970c4cca32e1</id>
<content type='text'>
This constant is always 4 , for all boards that exist. Define it
once in arch/sh/lib/time.c and remove it from the configs.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
