<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/arch/sh/lib, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<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>
</author>
<published>2019-05-07T20:04:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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: sh2: Remove CPU support</title>
<updated>2019-05-10T20:43:18Z</updated>
<author>
<name>Marek Vasut</name>
</author>
<published>2019-05-07T19:52:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7de3ea8b98a531c516505f07902e56077bf78816'/>
<id>urn:sha1:7de3ea8b98a531c516505f07902e56077bf78816</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>
</author>
<published>2018-08-24T19:52:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>
</author>
<published>2018-08-24T19:43:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>
</author>
<published>2018-08-24T19:37:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>
</author>
<published>2018-08-24T19:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>
</author>
<published>2018-08-24T19:29:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>
</author>
<published>2018-08-24T19:23:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>
</author>
<published>2018-08-24T19:20:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>
</author>
<published>2018-08-24T19:19:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>
</feed>
