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 DBEC1C38142 for ; Sun, 29 Jan 2023 01:18:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EAE98857E1; Sun, 29 Jan 2023 02:15:57 +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="amzj3yKU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 45B23857F2; Sun, 29 Jan 2023 02:15:50 +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 46A8A857A6 for ; Sun, 29 Jan 2023 02:15:47 +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 g16so3876176ilr.1 for ; Sat, 28 Jan 2023 17:15:47 -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=dPY+CXVob4aBpryRsnbfltRPSspy66bq6W4xSVAiulQ=; b=amzj3yKUDu+xqdn4ruIzfRYnJMMjsJDfcMISjAnKLaMhRewqTjiyXqbbCSdwUvZhIg Sk2nHeo9beVz+QdaFfjnIbMW0QcTRRgHfRRK8awyc/7JYSCsCqUlNRYkmJOARusSmdm9 bGnn4QmDYzSFC3XVCf8cjo8ZUuMA3PO1ALbT0= 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=dPY+CXVob4aBpryRsnbfltRPSspy66bq6W4xSVAiulQ=; b=12VRmW3KtSm3oDSGb8CFqAFrX2R5QLmMTL/KMBtSqH9DZGwV76ushDHWotABmAKIw+ dLXGyAp3s+jci/Jfjtg4hPmXW80FLIX6JPfQV9Q3C4m4obf1NfnNdA+XsfxeGvQwhscb buStDPhI7iIkCkcUArft6LoQ9WgLc1ZUdPmRsarGK7RU6ioNH4k9YrZ14ici7gGzOHHs 77dJbOI4/3XgnwiplGyNs3inN6NtgUVbv2DMs8eZeAPAWtyYYVCh75QWPqwDI2R+WOXJ eq4KbfRtRquPeUFuVaTjMuCxDb7XuV5slh14EAYgJv5rt3J+ZRzmZ8+rIoxgK1UBxZH7 0sgA== X-Gm-Message-State: AFqh2kqaS1ZqdFooBtZpZjPviPZ4hWw00MpL/l6LYoWVwPZcGP64CZcB XHRH2Yk7uSa3ktVh6jRL+v79JnEOgqcfBBgi X-Google-Smtp-Source: AMrXdXsNReQNG9Kw6ps+ovKaa8uWP8IgtZwlgItvkDoLvMv73PRxkY89o0CVP0LJxemW6hXHmDRqhg== X-Received: by 2002:a92:c261:0:b0:30f:641b:d12b with SMTP id h1-20020a92c261000000b0030f641bd12bmr33130136ild.21.1674954944835; Sat, 28 Jan 2023 17:15:44 -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.15.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Jan 2023 17:15:44 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 70/87] gdsys: Drop unused fpga file Date: Sat, 28 Jan 2023 17:58:46 -0700 Message-Id: <20230129005903.74918-71-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 CONFIG_SYS_FPGA_COMMON is not defined anywhere. Drop the code and the Makefile rule. Signed-off-by: Simon Glass --- (no changes since v1) board/gdsys/common/Makefile | 1 - board/gdsys/common/fpga.c | 28 ---------------------------- 2 files changed, 29 deletions(-) delete mode 100644 board/gdsys/common/fpga.c diff --git a/board/gdsys/common/Makefile b/board/gdsys/common/Makefile index 553e2ca50ed..94cbf3c5cc1 100644 --- a/board/gdsys/common/Makefile +++ b/board/gdsys/common/Makefile @@ -3,7 +3,6 @@ # (C) Copyright 2007 # Stefan Roese, DENX Software Engineering, sr@denx.de. -obj-$(CONFIG_SYS_FPGA_COMMON) += fpga.o obj-$(CONFIG_CMD_IOLOOP) += cmd_ioloop.o obj-$(CONFIG_TARGET_CONTROLCENTERDC) += dp501.o obj-$(CONFIG_TARGET_GAZERBEAM) += osd.o ihs_mdio.o ioep-fpga.o diff --git a/board/gdsys/common/fpga.c b/board/gdsys/common/fpga.c deleted file mode 100644 index 5ba6613ed56..00000000000 --- a/board/gdsys/common/fpga.c +++ /dev/null @@ -1,28 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * (C) Copyright 2013 - * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc - */ - -#ifdef CONFIG_GDSYS_LEGACY_DRIVERS - -#include -#include - -#include - -int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data) -{ - out_le16(reg, data); - - return 0; -} - -int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data) -{ - *data = in_le16(reg); - - return 0; -} - -#endif /* CONFIG_GDSYS_LEGACY_DRIVERS */ -- 2.39.1.456.gfc5497dd1b-goog