<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/arch/powerpc/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-09-18T06:01:18Z</updated>
<entry>
<title>powerpc: Add read*_*/write*_* macros</title>
<updated>2018-09-18T06:01:18Z</updated>
<author>
<name>Mario Six</name>
</author>
<published>2018-08-06T08:23:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=08f5b0b23a62ac7d1b705241f16df1e3a1cb8ae1'/>
<id>urn:sha1:08f5b0b23a62ac7d1b705241f16df1e3a1cb8ae1</id>
<content type='text'>
Define the read*_*/write*_* macros for the PowerPC platform to be able
to use the macros in wait_bit.h.

Signed-off-by: Mario Six &lt;mario.six@gdsys.cc&gt;
</content>
</entry>
<entry>
<title>powerpc: Use asm-generic/io.h</title>
<updated>2017-10-03T01:52:23Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2017-09-14T22:05:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ae07d609e951d0018daa1bd82aa56a1c294743cc'/>
<id>urn:sha1:ae07d609e951d0018daa1bd82aa56a1c294743cc</id>
<content type='text'>
Convert the powerpc architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As powerpc can actually perform
non-identity mapping between physical &amp; virtual addresses we can't
simply make use of the generic phys_to_virt() &amp; virt_to_phys()
functions. However since map_physmem() already effectively implemented
the same thing as virt_to_phys() we can simply implement virt_to_phys()
instead of map_physmem() &amp; use the generic map_physmem(). We also drop
the no-op unmap_physmem().

This has only been build-tested, feedback from architecture maintainers
is welcome.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
</entry>
<entry>
<title>Replace "extern inline" with "static inline"</title>
<updated>2015-11-09T23:19:40Z</updated>
<author>
<name>Måns Rullgård</name>
</author>
<published>2015-11-06T12:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=44d0677a90f82eb2b01dd5150ca8e0115453d7d3'/>
<id>urn:sha1:44d0677a90f82eb2b01dd5150ca8e0115453d7d3</id>
<content type='text'>
A number of headers define functions as "extern inline" which is
causing problems with gcc5.  The reason is that starting with
version 5.1, gcc defaults to the standard C99 semantics for the
inline keyword.

Under the traditional GNU inline semantics, an "extern inline"
function would never create an external definition, the same
as inline *without* extern in C99.  In C99, and "extern inline"
definition is simply an external definition with an inline hint.
In short, the meanings of inline with and without extern are
swapped between GNU and C99.

The upshot is that all these definitions in header files create
an external definition wherever those headers are included,
resulting in multiple definition errors at link time.

Changing all these functions to "static inline" fixes the problem
since this works as desired in all gcc versions.  Although the
semantics are slightly different (a static inline definition may
result in an actual function being emitted), it works as intended
in practice.

This patch also removes extern prototype declarations for the
changed functions where they existed.

Signed-off-by: Mans Rullgard &lt;mans@mansr.com&gt;
</content>
</entry>
<entry>
<title>driver/ddr: Fix DDR4 driver for ARM</title>
<updated>2014-07-22T23:25:54Z</updated>
<author>
<name>York Sun</name>
</author>
<published>2014-06-23T22:36:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=8340e7ac86ad3c59956e8f0bd627b741e5209439'/>
<id>urn:sha1:8340e7ac86ad3c59956e8f0bd627b741e5209439</id>
<content type='text'>
Previously the driver was only tested on Power SoCs. Different barrier
instructions are needed for ARM SoCs.

Signed-off-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>include: delete include/linux/config.h</title>
<updated>2013-11-08T20:25:13Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2013-10-07T07:04:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=643aae1406c93ddc64fcf8c136b47cdffd9c8ccd'/>
<id>urn:sha1:643aae1406c93ddc64fcf8c136b47cdffd9c8ccd</id>
<content type='text'>
Linux Kernel abolished include/linux/config.h long time ago.
(around version v2.6.18..v2.6.19)

We don't need to provide Linux copatibility any more.

This commit deletes include/linux/config.h
and fixes source files not to include this.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
</content>
</entry>
<entry>
<title>arch/powerpc/include/asm/io.h: fix warning: preprocessor token __iomem redefined</title>
<updated>2012-11-04T18:00:35Z</updated>
<author>
<name>Kim Phillips</name>
</author>
<published>2012-10-29T13:34:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=cdfdb8d7f300cbe42fc22af75efd142644ee9373'/>
<id>urn:sha1:cdfdb8d7f300cbe42fc22af75efd142644ee9373</id>
<content type='text'>
a fixup __iomem definition in arch code appears to be placed there as a cover
up from a code import from linux when u-boot didn't yet have a compiler.h,
introduced by commit 812711ce6b3a386125dcf0d6a59588e461abbb87 "Implement
__raw_{read,write}[bwl] on all architectures".

git show 812711ce6b3a386125dcf0d6a59588e461abbb87:include/linux/compiler.h
fatal: Path 'include/linux/compiler.h' exists on disk, but not in '812711ce6b3a386125dcf0d6a59588e461abbb87'.

Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</content>
</entry>
<entry>
<title>Revert "powerpc: Fix declaration type for I/O functions"</title>
<updated>2012-08-23T17:16:57Z</updated>
<author>
<name>Andy Fleming</name>
</author>
<published>2012-08-23T17:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=98ae9ac434debd96a86ed8d4b6714d757860838c'/>
<id>urn:sha1:98ae9ac434debd96a86ed8d4b6714d757860838c</id>
<content type='text'>
This reverts commit 20959471b5d07fdeb8603b918d80385aa2954711.
</content>
</entry>
<entry>
<title>powerpc: Fix declaration type for I/O functions</title>
<updated>2012-08-09T20:24:31Z</updated>
<author>
<name>Prabhakar Kushwaha</name>
</author>
<published>2012-04-10T22:49:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=20959471b5d07fdeb8603b918d80385aa2954711'/>
<id>urn:sha1:20959471b5d07fdeb8603b918d80385aa2954711</id>
<content type='text'>
Prototype declaration of I/O operation functions are not correct. as both
'extern' and function definition are at same place.

Chage protoype declaration as static.

Signed-off-by: Prabhakar Kushwaha &lt;prabhakar@freescale.com&gt;
</content>
</entry>
<entry>
<title>powerpc:Fix return type &amp; parameter passed for I/O functions</title>
<updated>2012-08-09T20:23:14Z</updated>
<author>
<name>Prabhakar Kushwaha</name>
</author>
<published>2012-04-10T22:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=a16a5cccfb30f4a4bd4c5798d899138250765b38'/>
<id>urn:sha1:a16a5cccfb30f4a4bd4c5798d899138250765b38</id>
<content type='text'>
Return type of in_8, in_be16 and in_le16 should not be'int'. Update it to type
u8/u16/u32.
Although 'unsigned' for in_be32 and in_le32 is correct. But to make return type
uniform across the file changed to u32

Similarly, parameter passed to out_8, out_be16, out_le16 ,out_be32 &amp; out_le32
should not be 'int'.Change it to type u8/u16/u32.

Signed-off-by: Prabhakar Kushwaha &lt;prabhakar@freescale.com&gt;
</content>
</entry>
<entry>
<title>lib/powerpc: addrmap_phys_to_virt() should return a pointer</title>
<updated>2012-07-06T22:30:32Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2012-05-04T12:21:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7b6e80538b919c814c94ce8887cec7b892f98a71'/>
<id>urn:sha1:7b6e80538b919c814c94ce8887cec7b892f98a71</id>
<content type='text'>
addrmap_phys_to_virt() converts a physical address (phys_addr_t) to a
virtual address, so it should return a pointer instead of an unsigned long.
Its counterpart, addrmap_virt_to_phys(), takes a pointer, so now they're
orthogonal.

The only caller of addrmap_phys_to_virt() converts the return value to
a pointer anyway.

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Andy Fleming &lt;afleming@freescale.com&gt;
</content>
</entry>
</feed>
