Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9A0C1C61D97 for ; Sun, 29 Jan 2023 01:12:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3B59B857C8; Sun, 29 Jan 2023 02:11:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="f8xzqQBN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 80A688573B; Sun, 29 Jan 2023 02:10:32 +0100 (CET) Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4DF6C8576E for ; Sun, 29 Jan 2023 02:10:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x135.google.com with SMTP id h18so1088021ilj.6 for ; Sat, 28 Jan 2023 17:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ftWvnq0+Hsv7XGnB2O2N0bXCX59ogFHrzmM9xdORgo0=; b=f8xzqQBNMwa8gGwSE5trNv3e24OmA+m3hhwyMfVqkWivssI2N44RWZ/l/cTrCbwjX2 4zc4PSaJTX1LtbVfaGH814dSmZa+T0K9Asz60XH4i9/ihg1oUrDT3ZP0hZZBwS3WnkpS +3c924HLVpwadl1QAGbpCVJUlzX34bU1n0660= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ftWvnq0+Hsv7XGnB2O2N0bXCX59ogFHrzmM9xdORgo0=; b=eoLsqoQ+2XbsBCOwWInhotrdhUCeqSMPYJVvMbsNPtHlF9yl5raK9IJEoH8yiv+WU/ KA0udReNQx6R1lb/9LbY3NcVnkN6fe3bfXNdEQnk5oOyr5PcU47an4NX2i9I9St/Qq5/ yIJ1jUkGXsUSGNd5yMateFiZncEyRxbEK7+tFTI7AKgaKCCi3fKi2B06YGWaENMCjKgE Y9SHZ8pfo5Aix93lM5m/nkprHLUZPYYgxm2tP6RDC0yssA0lZ3v+l2VsZaPDroMYWGps m0PCA5T4G8I0DCQx74uz8rsUyVaw4IRtnYHaVWLroG4wrj5F4cqIX4gbHF1UCOrky1dq IPRw== X-Gm-Message-State: AO0yUKWZVjF4DQ0+esfw9Ui8pIWQqLizS+mgQ9Bh4f5TXbYj1yOvK4RV Qr258yMNJMuPAuLH8tw7j+kh3uyraQUQRiJp X-Google-Smtp-Source: AK7set9N/VWSnsoyvzkqklc+/MsrT1LFVfYKNlBG7Li9V/6HHqL3bTsrIxgKEAKWjGzBUUnFuLaRmA== X-Received: by 2002:a05:6e02:1bcc:b0:310:e816:8c8c with SMTP id x12-20020a056e021bcc00b00310e8168c8cmr931741ilv.3.1674954622908; Sat, 28 Jan 2023 17:10:22 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id b5-20020a92c145000000b003024dd5c682sm568613ilh.71.2023.01.28.17.10.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Jan 2023 17:10:22 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 44/87] nand: Drop unused actl_nand driver Date: Sat, 28 Jan 2023 17:58:20 -0700 Message-Id: <20230129005903.74918-45-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230129005903.74918-1-sjg@chromium.org> References: <20230129005903.74918-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This is not used since this commit: ed7fe2bee12 ppc: Remove xpedite boards Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) board/xes/common/Makefile | 1 - board/xes/common/actl_nand.c | 49 ------------------------------------ 2 files changed, 50 deletions(-) delete mode 100644 board/xes/common/actl_nand.c diff --git a/board/xes/common/Makefile b/board/xes/common/Makefile index d6f09f71b75..b139ee9f759 100644 --- a/board/xes/common/Makefile +++ b/board/xes/common/Makefile @@ -7,4 +7,3 @@ obj-$(CONFIG_MPC86XX) += fsl_8xxx_clk.o obj-$(CONFIG_ARCH_P2020) += fsl_8xxx_clk.o obj-$(CONFIG_MPC85XX) += fsl_8xxx_misc.o board.o obj-$(CONFIG_MPC86XX) += fsl_8xxx_misc.o board.o -obj-$(CONFIG_NAND_ACTL) += actl_nand.o diff --git a/board/xes/common/actl_nand.c b/board/xes/common/actl_nand.c deleted file mode 100644 index 2d8a57576a6..00000000000 --- a/board/xes/common/actl_nand.c +++ /dev/null @@ -1,49 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2008 Extreme Engineering Solutions, Inc. - * - * This driver support NAND devices which have address lines - * connected as ALE and CLE inputs. - */ - -#include -#include -#include -#include - -/* - * Hardware specific access to control-lines - */ -static void nand_addr_hwcontrol(struct mtd_info *mtd, int cmd, uint ctrl) -{ - struct nand_chip *this = mtd_to_nand(mtd); - ulong IO_ADDR_W; - - if (ctrl & NAND_CTRL_CHANGE) { - IO_ADDR_W = (ulong)this->IO_ADDR_W; - - IO_ADDR_W &= ~(CONFIG_SYS_NAND_ACTL_CLE | - CONFIG_SYS_NAND_ACTL_ALE | - CONFIG_SYS_NAND_ACTL_NCE); - if (ctrl & NAND_CLE) - IO_ADDR_W |= CONFIG_SYS_NAND_ACTL_CLE; - if (ctrl & NAND_ALE) - IO_ADDR_W |= CONFIG_SYS_NAND_ACTL_ALE; - if (ctrl & NAND_NCE) - IO_ADDR_W |= CONFIG_SYS_NAND_ACTL_NCE; - - this->IO_ADDR_W = (void *)IO_ADDR_W; - } - - if (cmd != NAND_CMD_NONE) - writeb(cmd, this->IO_ADDR_W); -} - -int board_nand_init(struct nand_chip *nand) -{ - nand->ecc.mode = NAND_ECC_SOFT; - nand->cmd_ctrl = nand_addr_hwcontrol; - nand->chip_delay = CONFIG_SYS_NAND_ACTL_DELAY; - - return 0; -} -- 2.39.1.456.gfc5497dd1b-goog