From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] i2c: sandbox: remove code snippet from Kconfig help
Date: Mon, 13 Feb 2017 08:57:17 +0100 [thread overview]
Message-ID: <58A166DD.2030702@denx.de> (raw)
In-Reply-To: <1486784395-19609-3-git-send-email-yamada.masahiro@socionext.com>
Hello Masahiro,
Am 11.02.2017 um 04:39 schrieb Masahiro Yamada:
> With the Kconfig re-sync with Linux 4.10, characters such as
> '}', ';' in Kconfig help message cause warnings:
>
> $ make defconfig
> *** Default configuration is based on 'sandbox_defconfig'
> drivers/i2c/Kconfig:132:warning: ignoring unsupported character '}'
> drivers/i2c/Kconfig:132:warning: ignoring unsupported character ';'
>
> Drop the Device Tree fragment from the help.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> drivers/i2c/Kconfig | 23 +----------------------
> 1 file changed, 1 insertion(+), 22 deletions(-)
Thanks!
Acked-by: Heiko Schocher <hs@denx.de>
bye,
Heiko
>
> diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
> index 71cc173..39f62da 100644
> --- a/drivers/i2c/Kconfig
> +++ b/drivers/i2c/Kconfig
> @@ -132,28 +132,7 @@ config SYS_I2C_SANDBOX
> help
> Enable I2C support for sandbox. This is an emulation of a real I2C
> bus. Devices can be attached to the bus using the device tree
> - which specifies the driver to use. As an example, see this device
> - tree fragment from sandbox.dts. It shows that the I2C bus has a
> - single EEPROM at address 0x2c (7-bit address) which is emulated by
> - the driver for "sandbox,i2c-eeprom", which is in
> - drivers/misc/i2c_eeprom_emul.c.
> -
> - i2c at 0 {
> - #address-cells = <1>;
> - #size-cells = <0>;
> - reg = <0>;
> - compatible = "sandbox,i2c";
> - clock-frequency = <400000>;
> - eeprom at 2c {
> - reg = <0x2c>;
> - compatible = "i2c-eeprom";
> - emul {
> - compatible = "sandbox,i2c-eeprom";
> - sandbox,filename = "i2c.bin";
> - sandbox,size = <128>;
> - };
> - };
> - };
> + which specifies the driver to use. See sandbox.dts as an example.
>
> config SYS_I2C_S3C24X0
> bool "Samsung I2C driver"
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next prev parent reply other threads:[~2017-02-13 7:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-11 3:39 [U-Boot] [PATCH 0/2] kconfig resync with Linux 4.10 Masahiro Yamada
2017-02-11 3:39 ` [U-Boot] [PATCH 1/2] kconfig: re-sync " Masahiro Yamada
2017-02-13 12:19 ` Tom Rini
2017-02-11 3:39 ` [U-Boot] [PATCH 2/2] i2c: sandbox: remove code snippet from Kconfig help Masahiro Yamada
2017-02-13 7:57 ` Heiko Schocher [this message]
2017-02-13 12:19 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58A166DD.2030702@denx.de \
--to=hs@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox