<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/arch/nios2/include/asm/io.h, 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>2018-05-07T13:34:12Z</updated>
<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>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>
<entry>
<title>nios2: Use asm-generic/io.h</title>
<updated>2017-10-03T01:52:23Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2017-09-14T22:05:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e16986c481dbfc84ce6a88b1dd9730ee19b2e1cb'/>
<id>urn:sha1:e16986c481dbfc84ce6a88b1dd9730ee19b2e1cb</id>
<content type='text'>
Convert the nios2 architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As nios2 actually performs
non-identity mapping between physical &amp; virtual addresses we can't
simply make use of the generic functions, with the exception of being
able to drop our no-op unmap_physmem() and definitions of unused map
flags.

Feedback from architecture maintainers is welcome.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: Thomas Chou &lt;thomas@wytron.com.tw&gt;
</content>
</entry>
<entry>
<title>nios2: zap ioremap</title>
<updated>2015-11-18T13:18:30Z</updated>
<author>
<name>Thomas Chou</name>
</author>
<published>2015-11-14T03:30:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=f5b76de4403881940a3ef57f9b6e9fa5b3433070'/>
<id>urn:sha1:f5b76de4403881940a3ef57f9b6e9fa5b3433070</id>
<content type='text'>
Zap ioremap(), as it is replaced by map_physmem(,,MAP_NOCACHE).

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>nios2: add memcpy_fromio and memcpy_toio</title>
<updated>2015-11-12T00:26:58Z</updated>
<author>
<name>Thomas Chou</name>
</author>
<published>2015-11-05T07:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=207e97b92334bc3992ad7b0a3554a5b1c92ce533'/>
<id>urn:sha1:207e97b92334bc3992ad7b0a3554a5b1c92ce533</id>
<content type='text'>
Add memcpy_fromio() and memcpy_toio().

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
</content>
</entry>
<entry>
<title>nios2: change virt_to_phys to use physaddr_mask in global data</title>
<updated>2015-11-06T01:14:11Z</updated>
<author>
<name>Thomas Chou</name>
</author>
<published>2015-10-27T01:02:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=2de4823dc0424923a6d6070a7378a7bf6ee67556'/>
<id>urn:sha1:2de4823dc0424923a6d6070a7378a7bf6ee67556</id>
<content type='text'>
As virt_to_phys() is used a lot in DMA transfer, change it
to use physaddr_mask in global data. This will save an "if"
statement and get a little faster.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>nios2: remove the useless parenthesis in asm/io.h</title>
<updated>2015-11-06T01:14:11Z</updated>
<author>
<name>Thomas Chou</name>
</author>
<published>2015-10-29T13:00:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1cda48f333acd0f822720275730de0e6a6591a75'/>
<id>urn:sha1:1cda48f333acd0f822720275730de0e6a6591a75</id>
<content type='text'>
Remove the useless parenthesis in asm/io.h as suggested
by Marek.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>nios2: fix map_physmem to do real cache mapping</title>
<updated>2015-11-06T01:14:11Z</updated>
<author>
<name>Thomas Chou</name>
</author>
<published>2015-10-27T00:30:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1ce61cbbe7b351041b31c59cf7c5d8b056a199ec'/>
<id>urn:sha1:1ce61cbbe7b351041b31c59cf7c5d8b056a199ec</id>
<content type='text'>
Fix the map_physmem() to do real cache mapping.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>nios2: fix virt_to_phys for nios2 with MMU</title>
<updated>2015-10-23T06:55:48Z</updated>
<author>
<name>Thomas Chou</name>
</author>
<published>2015-10-22T07:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=8a3ea979666799d09b57efd05d0b41bda1ac7d69'/>
<id>urn:sha1:8a3ea979666799d09b57efd05d0b41bda1ac7d69</id>
<content type='text'>
As the virtual address and physical address mapping of nios2 with
MMU are different. Add a check of MMU, and fix the mapping.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Ley Foon Tan &lt;lftan@altera.com&gt;
</content>
</entry>
<entry>
<title>nios2: convert ioremap to use dm cpu data</title>
<updated>2015-10-22T23:37:20Z</updated>
<author>
<name>Thomas Chou</name>
</author>
<published>2015-10-05T02:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=a64be6124a069c2eae87656175c4c2e479e901cb'/>
<id>urn:sha1:a64be6124a069c2eae87656175c4c2e479e901cb</id>
<content type='text'>
Convert ioremap() to use io_region_base in dm cpu global data.

Also remove three unused io functions, which have style issue
and are replaced by macros already.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
</content>
</entry>
<entry>
<title>nios2: add clear and set bits macros</title>
<updated>2015-10-22T23:37:03Z</updated>
<author>
<name>Thomas Chou</name>
</author>
<published>2015-09-30T12:56:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d21275ef5e7fe67c592896d6dbb157e219ec0450'/>
<id>urn:sha1:d21275ef5e7fe67c592896d6dbb157e219ec0450</id>
<content type='text'>
These macros can be used to clear and set multiple bits
in a register using a single call.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
Acked-by: Chin Liang See &lt;clsee@altera.com&gt;
</content>
</entry>
</feed>
