From patchwork Sat Feb 11 03:39:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 93814 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp168649qgi; Fri, 10 Feb 2017 19:41:07 -0800 (PST) X-Received: by 10.28.7.7 with SMTP id 7mr10727784wmh.55.1486784467817; Fri, 10 Feb 2017 19:41:07 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id 107si4609021wra.205.2017.02.10.19.41.07; Fri, 10 Feb 2017 19:41:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4D6C74B6CF; Sat, 11 Feb 2017 04:41:05 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fqVroBRkX0pt; Sat, 11 Feb 2017 04:41:05 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7DADA4B78C; Sat, 11 Feb 2017 04:41:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B1BF74B64F for ; Sat, 11 Feb 2017 04:40:37 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qfq2P_Kyccj7 for ; Sat, 11 Feb 2017 04:40:37 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by theia.denx.de (Postfix) with ESMTPS id 10DF04B64E for ; Sat, 11 Feb 2017 04:40:35 +0100 (CET) Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-11.nifty.com with ESMTP id v1B3dvE2016777; Sat, 11 Feb 2017 12:40:02 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com v1B3dvE2016777 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1486784402; bh=nmXw5QnmPbDOK+m3LQ4BQh7HMb1QE7L0fXbUpof42zo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J2KFiUXUVba5pDKzTpBrfgMxXGr3mvp/oTjaTlKK4Cb44COUZWSxPbTYhzO/EKvgc YQYfcYyEJxED6jQNEYD55z+/qA+yWzZKfAs5idt2jxuwHd5QVN74nlrqF4df4fAAod 1VhtcGWK9UIKWCQVvvHvTl/XdD8kuH7o0D00RS012MVmq07JAL9FEW7sDvkUdLOv9I +V18fHhhod7HIl8BT5KacKnjNDJEMlmBInVFM1TPq7RW+QempBJzycoKRAd1NFnEuQ WrluP9p82d2q4/DMkx0hGwrTTsENelgME1zULCigKycHAD2N6Sd+4HOGSCOgdpabOG hGCcQawPxGC8g== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: Tom Rini , u-boot@lists.denx.de Date: Sat, 11 Feb 2017 12:39:55 +0900 Message-Id: <1486784395-19609-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486784395-19609-1-git-send-email-yamada.masahiro@socionext.com> References: <1486784395-19609-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 2/2] i2c: sandbox: remove code snippet from Kconfig help X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- drivers/i2c/Kconfig | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot Acked-by: Heiko Schocher 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@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - compatible = "sandbox,i2c"; - clock-frequency = <400000>; - eeprom@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"