<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/sh, branch v2019.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?h=v2019.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/sh?h=v2019.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2018-11-18T15:02:23Z</updated>
<entry>
<title>Kbuild: add LDFLAGS_STANDALONE</title>
<updated>2018-11-18T15:02:23Z</updated>
<author>
<name>Daniel Schwierzeck</name>
<email>daniel.schwierzeck@gmail.com</email>
</author>
<published>2018-09-23T17:15:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1d3b97c94eb562fa1071abd50b3a4cb4cca7f203'/>
<id>urn:sha1:1d3b97c94eb562fa1071abd50b3a4cb4cca7f203</id>
<content type='text'>
Introduce a new Makefile variable for passing LDFLAGS to standalone
programs. Currently the variable CONFIG_STANDALONE_LOAD_ADDR is
misued on some archs to pass a specific linker script.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Rick Chen &lt;rick@andestech.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>sh: sh7724: Drop EDMR macro</title>
<updated>2018-09-15T01:19:06Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-28T09:44:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2606deb22b58c8b55426a34dd7d93c703de65974'/>
<id>urn:sha1:2606deb22b58c8b55426a34dd7d93c703de65974</id>
<content type='text'>
Drop the macro as it is never used and it collides with sh_eth.h macros.

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