From patchwork Wed May 27 19:00:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1318 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 95D3C3F1DD for ; Wed, 27 May 2020 21:00:17 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id g22sf18756251plq.11 for ; Wed, 27 May 2020 12:00:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590606015; cv=pass; d=google.com; s=arc-20160816; b=MNXop9nxesssu0GEnMGq9UEitMjtYyva1UImeGEy/JdrYPfNK+4Sd8X1PUJ7IgUFKw 8CEuAjfPTeLYjQZpa0g8urPelweH1wWV6dtq+GY/EipX5XbmMCrUKN8+bZIqPGYTqeLj MkHgd6HJ3CHkpI1LQ+j4isvUjfXn9fYe8mgXww8dseStvZZ1xaC1FFSp+gOmjfs0mkmD ucwFxtQb0qXfkKYLOqzXgfow+SHxSWLSsMnlX+Pvx8J426LYUYr9ql06L6me9oLTGyxl OezX6cAmCGVIOhPP+uT9QPAoMnefLcm8Cg5iXPoD1+kQjVrqo9Ad3kL8TS9N/GZnweXf IGCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=G7Q4oDKfKE+5wBJMbNFR7UysBCwTBEAkX9JACEuzpNg=; b=gYpqVk9gdcOG85cnBbcM2k01BUoJMZn/GjLX/uGHZsRhpyX6NjJXyEQjK8AVHpnCb7 e0Rz1/W7AC5eYi2IcN3LBqZ+cVZEU41OvnpytH0dq+NUS+E8BmFnF/+Vlg4pkKsR42lP 0jlnqv1j0d3zBSyb5dpnDBFgFg93DaHgbhBLvyElXn40dVzmtYxOQKqhWBUZPg5WlMv6 TnXAg+32XEGsMOMvGeQuPjPzDpZRRiAPrIEy+iK4wlT7bqmXExCOetSkaeugwXbV6wkO VhteVz/1BZ7EPQMKdbfdxrBXLxwYnbU7i5hRIcafre6GSw6gc/fweS93RKs9+WlL7aj9 rUSw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=g3ybc20c; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=G7Q4oDKfKE+5wBJMbNFR7UysBCwTBEAkX9JACEuzpNg=; b=eGofEn25ocpyzxlKQyHVnh9J9vIraEe76prdLfNTlPap5Mrr+QZPuT6WtulwJPCJKy aME3J01qJa23yfrdzkxscicRy+wlqMXDCxRVcchrhfeGUHmnUBIdaYguWl3FM5BBb85H w76CTPweMiyK6ujwELBcr4fUrXLI17Z3wMUUw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=G7Q4oDKfKE+5wBJMbNFR7UysBCwTBEAkX9JACEuzpNg=; b=DTiBWLxSvZwUrnweFARbb7HbK+FvaaDKjKPkWObpZ+NDIlXqOYOKT/3P5ha3s/7PFT KBVbrvJ1QqwrDrOBncU4Fmvs7V+c8g6Dt4gzAD9zNmlblzSPyE1Js1rgBT07s8jehp0W 7AMq9pEd3PWGhZGmVZ3U94CFBaHq/LBHMdrFZTvR3LzS9jyp80uD7qa+J0WC5iJU1O9Z xjJSOBMWNkLKy0P5z2esaWMewgGLYzs+rLOoPfgSlWOZmZk7ivopQM2QQ/j/xk5hd8dd DWaqmEfAWHCMCw7ui/tTlQ6e/Ft6MzFBBhIX8v9IG3Wvp7nhv07dkWhEO8U5d19sbL9C hLrg== X-Gm-Message-State: AOAM532020xaQHOUDGuPMfsaXx0rGdJAAt/LHIcvRc+7R0kwPCc+VW26 s21/UXs8nAjypTVN5NQ8eQa7eeUJ X-Google-Smtp-Source: ABdhPJxd6836KcxHk9BI/QowoS+tEMbweg4Ful6Wjbh9V+tqzTgaUaflnJck5GU3wiqlSLDVV/5CCA== X-Received: by 2002:a17:90a:338b:: with SMTP id n11mr6801590pjb.225.1590606015354; Wed, 27 May 2020 12:00:15 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:4f04:: with SMTP id p4ls1835322pjh.3.canary-gmail; Wed, 27 May 2020 12:00:15 -0700 (PDT) X-Received: by 2002:a17:902:8218:: with SMTP id x24mr1402656pln.150.1590606014811; Wed, 27 May 2020 12:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590606014; cv=none; d=google.com; s=arc-20160816; b=aSmNUWwh+pVLTyDfzNOYYMRjJkwXNn8/dVCOd2iHLqjcoGsO+plKNS/rcPwgFmNcjb HH2gKMFkOhdewA7/mK1r70Sx31NYR4mSzZTmb+xapsO7owI2CRMk/PASydSqcC8/6PSR pjfbJd+Mo0Pu1DevSOnkvSjS/pv7q73l4fw6TZnu2DI36yaIWmWa34owRt1v6M0w+66N SbsUS7HYXeSkrYv6gvPJZNySseHH9UPZ7LaGYDzrTCmP1nCj8LMMcEJIYS7RKjheCjtV NT1KAoFWx0XFRVmT3OLZTGuYMVtpfFOv1B/T2GwyjiW2z1kE3ga2x+CUU5DDxDqMbuSU cBxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=hRtXnCtJa58fPmBN0oP7HQ1c6KKsbdqrEyXj+jVLBwg=; b=ZAoq3m7sDx35XNFaL/JOX6FkxtebGV6Kf/uE4YmVL5KasLHJ6edTu6mnPyok9sdgi9 Q25TdbsPxwaJQhCnOS1n8tXGeW3lR+RrtCGf3PpizmxT2oMVbHo5EXVEXqOT35W/iGD6 4VwveNwv4zfzMz1a/VgYIUnQe1HYl+oXPOrFEyw1rKF9UImZTobQQyA+aNTGn+7vBrt4 3coaH7wShmh6Ma27eGha6jjN/gVfb1RpqyCuG/7XLcUQ4+4ARsYNsY+UUsSG+kKiX5lR wxh8WElM6zamkrNBmxlyYIUkBacoQkW2EjIAX+GCDo1do3Scdyv45jkw3gq4XU0+oPHV wR4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=g3ybc20c; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id co2sor4701748pjb.18.2020.05.27.12.00.14 for (Google Transport Security); Wed, 27 May 2020 12:00:14 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:8990:: with SMTP id v16mr6805237pjn.176.1590606013846; Wed, 27 May 2020 12:00:13 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:91de:b2d4:ed11:6aeb]) by smtp.gmail.com with ESMTPSA id s123sm2691532pfs.170.2020.05.27.12.00.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 12:00:13 -0700 (PDT) From: Jagan Teki To: Simon Glass , Tom Rini Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Wenyou Yang Subject: [PATCH 1/3] spi: atmel: Drop CONFIG_SYS_SPI_WRITE_TOUT Date: Thu, 28 May 2020 00:30:00 +0530 Message-Id: <20200527190002.202913-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=g3ybc20c; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Drop CONFIG_SYS_SPI_WRITE_TOUT there is no code usage. Cc: Wenyou Yang Signed-off-by: Jagan Teki --- drivers/spi/atmel_spi.h | 4 ---- scripts/config_whitelist.txt | 1 - 2 files changed, 5 deletions(-) diff --git a/drivers/spi/atmel_spi.h b/drivers/spi/atmel_spi.h index 6167bd164b..b602887c29 100644 --- a/drivers/spi/atmel_spi.h +++ b/drivers/spi/atmel_spi.h @@ -95,7 +95,3 @@ static inline struct atmel_spi_slave *to_atmel_spi(struct spi_slave *slave) readl(as->regs + ATMEL_SPI_##reg) #define spi_writel(as, reg, value) \ writel(value, as->regs + ATMEL_SPI_##reg) - -#if !defined(CONFIG_SYS_SPI_WRITE_TOUT) -#define CONFIG_SYS_SPI_WRITE_TOUT (5 * CONFIG_SYS_HZ) -#endif diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 92e202e5aa..761da1aef6 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -3816,7 +3816,6 @@ CONFIG_SYS_SPI_MXC_WAIT CONFIG_SYS_SPI_RTC_DEVID CONFIG_SYS_SPI_ST_ENABLE_WP_PIN CONFIG_SYS_SPI_U_BOOT_SIZE -CONFIG_SYS_SPI_WRITE_TOUT CONFIG_SYS_SPL_ARGS_ADDR CONFIG_SYS_SPL_LEN CONFIG_SYS_SPL_MALLOC_SIZE