<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/nios2/include/asm, branch v2015.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/nios2/include/asm?h=v2015.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/nios2/include/asm?h=v2015.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-08-30T09:48:43Z</updated>
<entry>
<title>nios2: move nios2.h to arch asm directory</title>
<updated>2014-08-30T09:48:43Z</updated>
<author>
<name>Thomas Chou</name>
<email>thomas@wytron.com.tw</email>
</author>
<published>2014-08-25T09:09:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=57cfeb5140642b1071b01a7cc5c34d4ef3166180'/>
<id>urn:sha1:57cfeb5140642b1071b01a7cc5c34d4ef3166180</id>
<content type='text'>
The nios2.h is nios2 cpu specific, and should go arch asm
directory.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
</content>
</entry>
<entry>
<title>nios2: add generic board support</title>
<updated>2014-08-24T03:28:10Z</updated>
<author>
<name>Thomas Chou</name>
<email>thomas@wytron.com.tw</email>
</author>
<published>2014-08-22T03:36:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5ff10aa7e76fc7dbd205ec13381757bfa2c99911'/>
<id>urn:sha1:5ff10aa7e76fc7dbd205ec13381757bfa2c99911</id>
<content type='text'>
This patch implements the generic board init as described in
doc/README.generic-board.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Signed-off-by: Scott McNutt &lt;smcnutt@psyent.com&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>nios2: Fix printf size_t format related warnings (again...)</title>
<updated>2014-08-24T03:27:31Z</updated>
<author>
<name>Vasili Galka</name>
<email>vvv444@gmail.com</email>
</author>
<published>2014-08-14T14:42:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=00a2517fcb5159ed016b25130184638b1dbf2f02'/>
<id>urn:sha1:00a2517fcb5159ed016b25130184638b1dbf2f02</id>
<content type='text'>
When compiling the current code on GCC 4.8.3, the following warnings
appear:

warning: format '%zu' expects argument of type 'size_t', but argument
2 has type 'long unsigned int' [-Wformat=]

There were many mails about such warnings on different architectures.
This patch limits itself to the nios2 architecture.

The problem is that for the size_t (%zu, %zd, ...) arguments of
printf GCC does not verify the type match to size_t type. It verifies
the type match to the compiler-defined __SIZE_TYPE__ type. Thus, if
size_t is defined different from __SIZE_TYPE__ - warnings inevitably
appear.

There is a comment by Thomas Chou to the (rejected) patch:
http://patchwork.ozlabs.org/patch/272102/
which explains that the older GCC toolchains (gcc-3.4.6 and gcc-4.1.2)
expect size_t to be "unsigned long" and the newer expect it to be
"unsigned int". Thus, no matter how we define size_t - either way
warnings appear when using some GCC version.

By rejecting that patch, a choice was made to prefer older GCC versions
and leave the warnings when building with the newer toolchains.
Personally, I disagree with this choice...

In any case, this patch proposes a way to fix the warnings for any GCC
version. Just define size_t using the __SIZE_TYPE__ compiler-defined
type and the type verification will pass.

I tested that this fixes the warning on GCC 4.8.3. I don't have an
older toolchain to test with, but __SIZE_TYPE__ was definitely defined
in GCC 3.4.6, so it should work there too.

Signed-off-by: Vasili Galka &lt;vvv444@gmail.com&gt;
Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
</content>
</entry>
<entry>
<title>bd_info: remove bi_barudrate member from struct bd_info</title>
<updated>2014-05-12T19:19:45Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-04-04T11:09:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8e2615752ee6d5daf8ce2e1e599a0512750f24b9'/>
<id>urn:sha1:8e2615752ee6d5daf8ce2e1e599a0512750f24b9</id>
<content type='text'>
gd-&gt;bd-&gt;bi_baudrate is a copy of gd-&gt;baudrate.

Since baudrate is a common feature for all architectures,
keep gd-&gt;baudrate only.

It is true that bi_baudrate was passed to the kernel in that structure
but it was a long time ago.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Michal Simek &lt;monstr@monstr.eu&gt; (For microblaze)
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>urn:sha1:1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>Introduce generic link section.h symbol files</title>
<updated>2013-03-15T20:13:58Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-05T14:39:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1865286466a5d0c7f2e3c37632da56556c838e9e'/>
<id>urn:sha1:1865286466a5d0c7f2e3c37632da56556c838e9e</id>
<content type='text'>
We create a separate header file for link symbols defined by the link
scripts. It is helpful to have these all in one place and try to
make them common across architectures. Since Linux already has a similar
file, we bring this in even though many of the symbols there are not
relevant to us.

Each architecture has its own asm/sections.h where symbols specifc to
that architecture can be added. For now everything except AVR32 just
includes the generic header.

One change is needed in arch/avr32/lib/board.c to make this conversion
work.

Reviewed-by: Tom Rini &lt;trini@ti.com&gt; (version 5)
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>nios2: Use generic global_data</title>
<updated>2013-02-04T14:05:46Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-13T20:49:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1f7559ec386ef4139b2d82be9670f83dd1d0c25e'/>
<id>urn:sha1:1f7559ec386ef4139b2d82be9670f83dd1d0c25e</id>
<content type='text'>
Move nios2 over to use generic global_data.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
</content>
</entry>
<entry>
<title>Add architecture-specific global data</title>
<updated>2013-02-01T20:07:49Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-13T20:48:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5cb48582ac05931c66b00b46c60d3ee8c6fc7950'/>
<id>urn:sha1:5cb48582ac05931c66b00b46c60d3ee8c6fc7950</id>
<content type='text'>
We plan to move architecture-specific data into a separate structure so
that we can make the rest of it common.

As a first step, create struct arch_global_data to hold these fields.
Initially it is empty.

This patch applies to all archs at once. I can split it if this is really
a pain.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>nios2: remove asm/status_led.h</title>
<updated>2012-11-10T11:45:58Z</updated>
<author>
<name>Thomas Chou</name>
<email>thomas@wytron.com.tw</email>
</author>
<published>2012-11-05T04:51:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=db71964235c1dfa13ec398da483b0bdbbf31d5b7'/>
<id>urn:sha1:db71964235c1dfa13ec398da483b0bdbbf31d5b7</id>
<content type='text'>
The file has a wrong inline keyword of __led_toggle(), which causes
compilation error. And its content is defined in common status_led.h.
So define CONFIG_BOARD_SPECIFIC_LED in board config files and remove
this header file.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
</content>
</entry>
<entry>
<title>nios2: Change bi_baudrate and global data baudrate to int</title>
<updated>2012-10-19T22:25:44Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-10-12T14:21:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7fffe2fac8a467a9eddf7f2306e1b5f7c3fae186'/>
<id>urn:sha1:7fffe2fac8a467a9eddf7f2306e1b5f7c3fae186</id>
<content type='text'>
These don't need to be longs, so change them.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
</feed>
