From patchwork Tue Nov 11 17:46:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 409600 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 62F771400E7 for ; Wed, 12 Nov 2014 04:55:34 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 81D0A4B996; Tue, 11 Nov 2014 18:55:31 +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 ABjzdFKdo0km; Tue, 11 Nov 2014 18:55:31 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D6E904B990; Tue, 11 Nov 2014 18:55:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CA89D4B960 for ; Tue, 11 Nov 2014 18:55:16 +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 RUbk3N-PVcWG for ; Tue, 11 Nov 2014 18:55:16 +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 mail-yh0-f74.google.com (mail-yh0-f74.google.com [209.85.213.74]) by theia.denx.de (Postfix) with ESMTPS id 07F434B977 for ; Tue, 11 Nov 2014 18:55:11 +0100 (CET) Received: by mail-yh0-f74.google.com with SMTP id a41so35388yho.1 for ; Tue, 11 Nov 2014 09:55:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XpN+uYQ4aWPiNpUPlbIKQ/cry/7ySxvr7MoWbHITOBs=; b=i/hdHxfjoxtQDUfot/H0JZtoC198ZGx0CDs6v6L5EAGfB9HG8StE+MLp3Hb6hvS8ld pVM4aDXdXM0aiTBZjP5FKysXKGvCKkKtYIFcF/nvGBzJ0nFPMlq/qs6+8Z8gLDC1RObB pTMuIo7iNVfFHUldBWyd77k/puoDAsdHGvOU03mqPGG+u4x4X+bLzy3lQL+NXTfb+N72 5sf+43Go3vXB5THjpPrkVZE8neayRQesy5eWsH/sr4uzpqVMoYKdVZgCwnQvpnR8Rleq FWQgtlQ22MWiLGoRH8p5OFKEBAOWTauB7VYKSlaOmEPij3aTcCtv90cLZrYlW2m+RY4b fZUw== X-Gm-Message-State: ALoCoQnDpTW7Nox5uCy6X51zX0f3TkKteoAd/KWOD+wSsqYAYtk9/d9AJa9Knm/X81QEw/8vZzUS X-Received: by 10.236.104.233 with SMTP id i69mr31373259yhg.37.1415728510850; Tue, 11 Nov 2014 09:55:10 -0800 (PST) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id s23si831305yhf.0.2014.11.11.09.55.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Nov 2014 09:55:10 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id b12uaeKG.1; Tue, 11 Nov 2014 09:55:10 -0800 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id D84BE220F3F; Tue, 11 Nov 2014 10:48:51 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Tue, 11 Nov 2014 10:46:29 -0700 Message-Id: <1415727993-22032-14-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1415727993-22032-1-git-send-email-sjg@chromium.org> References: <1415727993-22032-1-git-send-email-sjg@chromium.org> Cc: u-boot-review@google.com Subject: [U-Boot] [PATCH v2 13/17] dm: i2c: config: Enable I2C for sandbox using driver model X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Enable the options to bring up I2C on sandbox. Also enable all the available I2C commands for testing purposes. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Acked-by: Heiko Schocher --- Changes in v2: None include/configs/sandbox.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index ee4b244..d4ebe6a 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -110,6 +110,12 @@ #define CONFIG_SPI_FLASH_STMICRO #define CONFIG_SPI_FLASH_WINBOND +#define CONFIG_DM_I2C +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C_SANDBOX +#define CONFIG_I2C_EDID +#define CONFIG_I2C_EEPROM + /* Memory things - we don't really want a memory test */ #define CONFIG_SYS_LOAD_ADDR 0x00000000 #define CONFIG_SYS_MEMTEST_START 0x00100000