From patchwork Sun Apr 23 15:35:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 753940 X-Patchwork-Delegate: hs@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3w9tyg4Wg7z9s03 for ; Mon, 24 Apr 2017 01:42:35 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="ta6rDppR"; dkim-atps=neutral Received: by lists.denx.de (Postfix, from userid 105) id 603F6C21C2D; Sun, 23 Apr 2017 15:40:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 5BC73C21C8D; Sun, 23 Apr 2017 15:36:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9A8DFC21C58; Sun, 23 Apr 2017 15:35:51 +0000 (UTC) Received: from mail-io0-f170.google.com (mail-io0-f170.google.com [209.85.223.170]) by lists.denx.de (Postfix) with ESMTPS id 5F280C21C64 for ; Sun, 23 Apr 2017 15:35:45 +0000 (UTC) Received: by mail-io0-f170.google.com with SMTP id k87so160381170ioi.0 for ; Sun, 23 Apr 2017 08:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=AKJ0R6NxrWshL/6n5tKhVSo/1gFy3wFkz9JdU7agMaQ=; b=ta6rDppRV3hyx62ThaWV5J1ytwIMWBeT0boegVfwPcSCJiko7YJaOd5GMXtM8z27E/ 0L9maXlcDgo+dvi99oMBop4u+N8tDzr30vEWVOCOqliWYbuVYHRDbXHVBvTHx96ZO/g9 YkdfI/owSam0rfD+w0mCkOnT40bRe7I7qVKTMp4A3cRoVwdb4HE4ETeZmUY8nYPnRe6/ XYtYXFr92rkWDUYqoVP09knedSU8HyUfzpoys+OilmhUZBe3x4F/4mzfNS1XgoWqjNO7 441rsn9t9dvmwCkaqPpU9Kr49W/3WsXpXnDFRBropX+QcZFZIx5wSW+sZDCbWSXRedUN wQWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=AKJ0R6NxrWshL/6n5tKhVSo/1gFy3wFkz9JdU7agMaQ=; b=I6Y7NrESDwLCvgQ+/J3+yIyui1dip3eeXqWQPi/kA2GOJB9dYyabACSGiKiy+H2yXm MVcpYbwvkEhvrbzvolzZo+lDu4aXvR2+K8oNjvmZJGuhxHcPj5wTiBoR9c8/tgvClPPr 7UKV5MtW474bdcbF+hv10R0dmMhv525VbTEetZI6Y/gAIanWETja5ff/7bgAHiS5JNlS QOcE/+YJ/UG96f4InNPvyeQGE+d06sTKamfVdg39Chh+ows89eZ4b5sVx2A02+WnoId4 I97rconeKYz/Zb4lnMXI02Aja2S5RPrTgXp8HrSmFfVBV1EvWBZXEdSe0yTHGOWwAAg9 ZXYA== X-Gm-Message-State: AN3rC/6S6kFJUAGRF7Z7Jps6lijo5RvwQmmsetyhW31UVrMSwsp/s8CM yaT8PNYT+KCSDHmy X-Received: by 10.202.212.10 with SMTP id l10mr12941816oig.71.1492961744044; Sun, 23 Apr 2017 08:35:44 -0700 (PDT) Received: from kaki.bld.corp.google.com ([2620:0:1005:11:e580:a518:5f40:4085]) by smtp.gmail.com with ESMTPSA id b2sm2791612otd.10.2017.04.23.08.35.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Apr 2017 08:35:43 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id AC94740082; Sun, 23 Apr 2017 09:35:42 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Sun, 23 Apr 2017 09:35:24 -0600 Message-Id: <20170423153525.14882-11-sjg@chromium.org> X-Mailer: git-send-email 2.12.2.816.g2cccc81164-goog In-Reply-To: <20170423153525.14882-1-sjg@chromium.org> References: <20170423153525.14882-1-sjg@chromium.org> Cc: Tom Rini , Michal Simek , Jagan Teki Subject: [U-Boot] [PATCH 10/11] Drop CONFIG_I2CFAST X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass Reviewed-by: Heiko Schocher --- README | 6 ------ common/board_r.c | 17 ----------------- scripts/config_whitelist.txt | 1 - 3 files changed, 24 deletions(-) diff --git a/README b/README index aee17cb35d..9798292f8d 100644 --- a/README +++ b/README @@ -2333,12 +2333,6 @@ The following options need to be configured: custom i2c_init_board() routine in boards/xxx/board.c is run early in the boot sequence. - CONFIG_I2CFAST (PPC405GP|PPC405EP only) - - This option enables configuration of bi_iic_fast[] flags - in u-boot bd_info structure based on u-boot environment - variable "i2cfast". (see also i2cfast) - CONFIG_I2C_MULTI_BUS This option allows the use of multiple I2C buses, each of which diff --git a/common/board_r.c b/common/board_r.c index d69a33c4a3..dba2102b18 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -485,24 +485,7 @@ static int initr_env(void) /* Initialize from environment */ load_addr = getenv_ulong("loadaddr", 16, load_addr); -#if defined(CONFIG_SYS_EXTBDINFO) -#if defined(CONFIG_405GP) || defined(CONFIG_405EP) -#if defined(CONFIG_I2CFAST) - /* - * set bi_iic_fast for linux taking environment variable - * "i2cfast" into account - */ - { - char *s = getenv("i2cfast"); - if (s && ((*s == 'y') || (*s == 'Y'))) { - gd->bd->bi_iic_fast[0] = 1; - gd->bd->bi_iic_fast[1] = 1; - } - } -#endif /* CONFIG_I2CFAST */ -#endif /* CONFIG_405GP, CONFIG_405EP */ -#endif /* CONFIG_SYS_EXTBDINFO */ return 0; } diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 837c75f500..d89317ad38 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -1381,7 +1381,6 @@ CONFIG_HW_ENV_SETTINGS CONFIG_HW_WATCHDOG CONFIG_HW_WATCHDOG_TIMEOUT_MS CONFIG_I2C -CONFIG_I2CFAST CONFIG_I2C_CHIPADDRESS CONFIG_I2C_CMD_TREE CONFIG_I2C_ENV_EEPROM_BUS