<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/arch/xtensa, 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-18T12:15:35Z</updated>
<entry>
<title>CONFIG_SPL_SYS_[DI]CACHE_OFF: add</title>
<updated>2019-05-18T12:15:35Z</updated>
<author>
<name>Trevor Woerner</name>
</author>
<published>2019-05-03T13:41:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1001502545ff0125c39232cf0e7f26d9213ab55f'/>
<id>urn:sha1:1001502545ff0125c39232cf0e7f26d9213ab55f</id>
<content type='text'>
While converting CONFIG_SYS_[DI]CACHE_OFF to Kconfig, there are instances
where these configuration items are conditional on SPL. This commit adds SPL
variants of these configuration items, uses CONFIG_IS_ENABLED(), and updates
the configurations as required.

Acked-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Signed-off-by: Trevor Woerner &lt;trevor@toganlabs.com&gt;
[trini: Make the default depend on the setting for full U-Boot, update
more zynq hardware]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig</title>
<updated>2019-05-18T12:15:34Z</updated>
<author>
<name>Trevor Woerner</name>
</author>
<published>2019-05-03T13:40:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=a0aba8a2ebae51287fbee6848aece71655795fdb'/>
<id>urn:sha1:a0aba8a2ebae51287fbee6848aece71655795fdb</id>
<content type='text'>
CONFIG_SYS_[DI]CACHE_OFF had been partially converted to Kconfig
parameters; only for the ARC architecture. This patch turns these two
parameters into Kconfig items everywhere else they are found.

All of the include/configs/* and defconfig changes in this patch are
for arm machines only. The Kconfig changes for arc, nds32, riscv,
and xtensa have been included since these symbols are found in code
under arch/{arc,nds32,riscv,xtensa}, however, no currently-defined
include/configs/* or defconfigs for these architectures exist which
include these symbols.

These results have been confirmed with tools/moveconfig.py.

Acked-by: Alexey Brodkin &lt;abrodkin@snopsys.com&gt;
Signed-off-by: Trevor Woerner &lt;trevor@toganlabs.com&gt;
[trini: Re-migrate for a few more boards]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>CONFIG_SYS_[ID]CACHE_OFF: unify the 'any' case</title>
<updated>2019-05-18T12:15:34Z</updated>
<author>
<name>Trevor Woerner</name>
</author>
<published>2019-05-03T13:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=b7b4af0e357f4cb2a1133ca8d8cec66cbd11de81'/>
<id>urn:sha1:b7b4af0e357f4cb2a1133ca8d8cec66cbd11de81</id>
<content type='text'>
According to De Morgan's Law[1]:
	!(A &amp;&amp; B) = !A || !B
	!(A || B) = !A &amp;&amp; !B

There are 5 places in the code where we find:
	#if !(defined(CONFIG_SYS_ICACHE_OFF) &amp;&amp; defined(CONFIG_SYS_DCACHE_OFF))
and 4 places in the code where we find:
	#if (!defined(CONFIG_SYS_ICACHE_OFF) || !defined(CONFIG_SYS_DCACHE_OFF))

In words, the construct:
	!defined(CONFIG_SYS_[DI]CACHE_OFF)
means:
	"is the [DI]CACHE on?"
and the construct:
	defined(CONFIG_SYS_[DI]CACHE_OFF)
means:
	"is the [DI]CACHE off?"

Therefore
	!(defined(CONFIG_SYS_ICACHE_OFF) &amp;&amp; defined(CONFIG_SYS_DCACHE_OFF))
means:
	"the opposite of 'are they both off?'"
in other words:
	"are either or both on?"
and:
	(!defined(CONFIG_SYS_ICACHE_OFF) || !defined(CONFIG_SYS_DCACHE_OFF)
means:
	"are either or both on?"

As a result, I've converted the 4 instances of '(!A || !B)' to '!(A &amp;&amp; B)' for
consistency.

[1] https://en.wikipedia.org/wiki/De_Morgan%27s_laws

Signed-off-by: Trevor Woerner &lt;trevor@toganlabs.com&gt;
</content>
</entry>
<entry>
<title>xtensa: use asm-generic/atomic.h</title>
<updated>2018-09-26T01:49:18Z</updated>
<author>
<name>Chris Packham</name>
</author>
<published>2018-09-08T09:39:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=47cef9c80587e3ec8d3f3cbd546c0539c372a995'/>
<id>urn:sha1:47cef9c80587e3ec8d3f3cbd546c0539c372a995</id>
<content type='text'>
Make use of asm-generic/atomic.h.

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Acked-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
</content>
</entry>
<entry>
<title>arch: types.h: factor out fixed width typedefs to int-ll64.h</title>
<updated>2018-09-11T00:48:16Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2018-08-06T11:47:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=3747bdbb2bb83a3bb2e7bd823856de4f4908f711'/>
<id>urn:sha1:3747bdbb2bb83a3bb2e7bd823856de4f4908f711</id>
<content type='text'>
All architectures have the same definition for s8/16/32/64
and u8/16/32/64.

Factor out the duplicated code into &lt;asm-generic/int-ll64.h&gt;.

BTW, Linux unified the kernel space definition into int-ll64.h
a few years ago as you see in Linux commit 0c79a8e29b5f
("asm/types.h: Remove include/asm-generic/int-l64.h").

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>CONFIG_SYS_GENERIC_BOARD: Finish migration</title>
<updated>2018-08-16T20:45:02Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-08-16T20:44:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=0bdea7c4301ace5c61120eeeccab4b5c8ee79536'/>
<id>urn:sha1:0bdea7c4301ace5c61120eeeccab4b5c8ee79536</id>
<content type='text'>
While we have long since migrated to CONFIG_SYS_GENERIC_BOARD being
enabled, we had just a few places left that still referenced or defined
it.  Update.

Signed-off-by: Tom Rini &lt;trini@konsulko.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>
</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>xtensa: clean up CONFIG_SYS_TEXT_ADDR</title>
<updated>2018-02-23T15:21:41Z</updated>
<author>
<name>Max Filippov</name>
</author>
<published>2018-02-12T23:39:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=10117a298554d586e7a288a9fa0b574ce35d62a0'/>
<id>urn:sha1:10117a298554d586e7a288a9fa0b574ce35d62a0</id>
<content type='text'>
Drop CONFIG_SYS_MEMORY_TOP. Rename CONFIG_SYS_TEXT_ADDR to
XTENSA_SYS_TEXT_ADDR.

Signed-off-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
</content>
</entry>
<entry>
<title>xtensa: Use asm-generic/io.h</title>
<updated>2017-10-03T01:52:22Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2017-09-14T22:05:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e8645527b1c2f6d56fef04bc43d1e81ae1904fae'/>
<id>urn:sha1:e8645527b1c2f6d56fef04bc43d1e81ae1904fae</id>
<content type='text'>
Convert the xtensa architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As the generic implementations are
suitable for xtensa this is primarily a matter of moving code.

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

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Acked-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
</content>
</entry>
<entry>
<title>env: Rename getenv/_f() to env_get()</title>
<updated>2017-08-16T12:30:24Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-08-03T18:22:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=00caae6d47645e68d6e5277aceb69592b49381a6'/>
<id>urn:sha1:00caae6d47645e68d6e5277aceb69592b49381a6</id>
<content type='text'>
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.

Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.

Suggested-by: Wolfgang Denk &lt;wd@denx.de&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
