<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/Kconfig, branch v2018.03-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/common/Kconfig?h=v2018.03-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/common/Kconfig?h=v2018.03-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2018-02-03T17:09:27Z</updated>
<entry>
<title>log: Add a way to log error-return values</title>
<updated>2018-02-03T17:09:27Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-12-28T20:14:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3707c6ee0d1f939130a62c945b56045d9a83fafc'/>
<id>urn:sha1:3707c6ee0d1f939130a62c945b56045d9a83fafc</id>
<content type='text'>
When functions return an error it propagates up the stack to the point
where it is reported. Often the error code provides enough information
about the root cause of the error that this is obvious what went wrong.

However in some cases the error may be hard to trace. For example if a
driver uses several devices to perform an operation, it may not be
obvious which one failed.

Add a log_ret() macro to help with this. This can be used to wrap any
error-return value. The logging system will then output a log record when
the original error is generated, making it easy to trace the call stack
of the error.

This macro can significantly impact code size, so its use is controlled
by a Kconfig option, which is enabled for sandbox.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO</title>
<updated>2018-01-23T22:47:02Z</updated>
<author>
<name>Angelo Dureghello</name>
<email>angelo@sysam.it</email>
</author>
<published>2017-08-19T22:01:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b9153fe3088a4ea295d6cd23dd44bed51224679a'/>
<id>urn:sha1:b9153fe3088a4ea295d6cd23dd44bed51224679a</id>
<content type='text'>
Change all coldfire arch files to use CONFIG_DISPLAY_CPUINFO.

Signed-off-by: Angelo Dureghello &lt;angelo@sysam.it&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
---
Changes for v2:
   - update common/Kconfig to add M68K to the default y list
</content>
</entry>
<entry>
<title>log: Add a test command</title>
<updated>2017-12-07T20:17:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-12-04T20:48:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ef11ed8239bf02b347e7fb9fc6d980aec0c7810a'/>
<id>urn:sha1:ef11ed8239bf02b347e7fb9fc6d980aec0c7810a</id>
<content type='text'>
Add a command which exercises the logging system.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>log: Add a console driver</title>
<updated>2017-12-07T20:17:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-12-04T20:48:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c6d47535dfb6636ae5244958a2a9e043bb7646ae'/>
<id>urn:sha1:c6d47535dfb6636ae5244958a2a9e043bb7646ae</id>
<content type='text'>
It is useful to display log messages on the console. Add a simple driver
to handle this.

Note that this driver outputs to the console, which may be serial or
video. It does not specifically select serial output.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>log: Add an implementation of logging</title>
<updated>2017-12-07T20:17:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-12-04T20:48:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e9c8d49d54cbbc7b219a1637d2994de7448b767d'/>
<id>urn:sha1:e9c8d49d54cbbc7b219a1637d2994de7448b767d</id>
<content type='text'>
Add the logging header file and implementation with some configuration
options to control it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Kconfig: Introduce USE_BOOTCOMMAND and migrate BOOTCOMMAND</title>
<updated>2017-11-17T21:37:26Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2017-11-06T23:15:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b6251db8c3f0de605b4cd6f15a00fc7dd19cda63'/>
<id>urn:sha1:b6251db8c3f0de605b4cd6f15a00fc7dd19cda63</id>
<content type='text'>
We first introduce CONFIG_USE_BOOTCOMMAND, similar to
CONFIG_USE_BOOTARGS.  We then migrate CONFIG_BOOTCOMMAND for most
CONFIG_DISTRO_DEFAULT users.  In some cases platforms have a complex
scheme around this usage, and these have been defered for the moment so
that platform maintainers can work on a migration plan.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig</title>
<updated>2017-10-06T01:31:04Z</updated>
<author>
<name>Jean-Jacques Hiblot</name>
<email>jjhiblot@ti.com</email>
</author>
<published>2017-09-15T10:57:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=11955590a284ecb75892aad5f1174ca1b94a709b'/>
<id>urn:sha1:11955590a284ecb75892aad5f1174ca1b94a709b</id>
<content type='text'>
CONFIG_FIT_EMBED might be confused with CONFIG_OF_EMBED, rename it
MULTI_DTB_FIT as it is able to get a DTB from a FIT image containing
multiple DTBs. Also move the option to the Kconfig dedicated to the DTS
options and create a README for this feature.

Signed-off-by: Jean-Jacques Hiblot &lt;jjhiblot@ti.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>common: Drop LOGLEVEL to 4</title>
<updated>2017-10-05T12:25:18Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2017-10-04T20:44:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6a3e65dea3e525b5337ca8014aa4be9f5fafeb92'/>
<id>urn:sha1:6a3e65dea3e525b5337ca8014aa4be9f5fafeb92</id>
<content type='text'>
While this came in with a default value of 6 I am lowering this to 4.
The MTD/UBI code has a large number of error messages that we include
now.  In addition, "normally" warning messages are not included so this
feels like a more natural level to have.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>printk: collect printk stuff into &lt;linux/printk.h&gt; with loglevel support</title>
<updated>2017-10-04T14:31:17Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2017-09-16T05:10:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b44b30260ffa3dc82f4bb98b022483bb09e95353'/>
<id>urn:sha1:b44b30260ffa3dc82f4bb98b022483bb09e95353</id>
<content type='text'>
When we import code from Linux, with regular re-sync planned, we want
to use printk() and pr_*().  U-Boot does not support them in a clean
way.  So, people end up with local macros, or compat headers here and
there, then we occasionally see build errors of definition conflicts.

We have include/linux/compat.h, but putting all sorts of unrelated
things into a single header is just a temporal workaround.  Hence this
patch, to find the best home for all printk variants.  If you want to
use printk() and friends, please include &lt;linux/printk.h&gt;.  This header
is self-contained, and pulls in only a few headers.

When I was testing this clean-up, I noticed the image size exceeded
its platform limit on some boards.  This is because all pr_*() that
were previously defined as no-op in include/linux/mtd/mtd.h (unless
CONFIG_MTD_DEBUG is set), are now enabled.

To make such boards happy, this commit also implements CONFIG_LOGLEVEL.
The concept is similar to the kernel parameter "loglevel".  (Actually,
the Kconfig help message was taken from kernel-paremeter.txt of Linux)
Messages with a loglevel smaller than console loglevel will be printed.

The difference is the loglevel is build-time determined.  To save the
image size, lower priority pr_*() are compiled out.  I set the default
of CONFIG_LOGLEVEL to 6, i.e. pr_notice and higher priority messages
are compiled in.

I adjusted CONFIG_LOGLEVEL to avoid build error for some boards.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
[trini: Add in SPL_LOGLEVEL that is the same as LOGLEVEL]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>bootstage: Provide a separate record count setting for SPL</title>
<updated>2017-09-16T06:57:44Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-09-06T01:49:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d69bb0ecbf9f73dc75096368653a796d5167b884'/>
<id>urn:sha1:d69bb0ecbf9f73dc75096368653a796d5167b884</id>
<content type='text'>
With SPL we often have limited memory and do not need very many bootstage
records. Add a separate Kconfig option for SPL.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
</feed>
