From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EEFEFC433F5 for ; Fri, 24 Sep 2021 20:59:40 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E75C860F13 for ; Fri, 24 Sep 2021 20:59:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E75C860F13 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nic.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D584A834C6; Fri, 24 Sep 2021 22:59:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nic.cz 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; secure) header.d=nic.cz header.i=@nic.cz header.b="qfLwp9EY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD5DA834B2; Fri, 24 Sep 2021 22:59:28 +0200 (CEST) Received: from mail.nic.cz (lists.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 558FF83485 for ; Fri, 24 Sep 2021 22:59:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.behun@nic.cz Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:be02:5020:4be2:aff5]) by mail.nic.cz (Postfix) with ESMTPSA id 96603140875; Fri, 24 Sep 2021 22:59:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1632517163; bh=efZlZt06/nDTzmbGBOvMMbldLOXFAkVeys59l7AZ+kA=; h=From:To:Date; b=qfLwp9EYjwVcBs/5B3z2oyiSOAfI9NIouYnhAxMmRLJ02GkIHJPQOFaXIDsc4H/hy EnT04WO2kjJsOEdoXKUMNcH2Jw9vc0bQMTvCzvBhq8tc2CZozsMaRIFq2MQhZfRcak B0lzEqQ86iERgwOZTMM2cvobUmf7dESHb88qD6Fk= From: =?UTF-8?q?Marek=20Beh=C3=BAn?= To: Stefan Roese Cc: u-boot@lists.denx.de, pali@kernel.org, =?UTF-8?q?Marek=20Beh=C3=BAn?= Subject: [PATCH u-boot-marvell 0/9] a38x serdes cleanup Date: Fri, 24 Sep 2021 22:59:13 +0200 Message-Id: <20210924205922.25432-1-marek.behun@nic.cz> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Hi Stefan, this series by Pali cleans unneeded code in arch/arm/mach-mvebu/serdes/a38x. Pali studied the code, added comments about what the code does, and then removed unneeded parts, wich explanations in commits. Marek Pali Rohár (9): arm: mvebu: a38x: serdes: Add comments and use macros in PCIe code arm: mvebu: a38x: serdes: Remove duplicate macro SOC_CTRL_REG arm: mvebu: a38x: serdes: Add comments for hws_pex_config() code arm: mvebu: a38x: serdes: Don't overwrite read-only SAR PCIe registers arm: mvebu: a38x: serdes: Don't set PCIe Common Clock Configuration arm: mvebu: a38x: serdes: Don't overwrite PCI device ID arm: mvebu: a38x: serdes: Don't configure PCIe cards in SerDes init code arm: mvebu: a38x: serdes: Remove unused PCIe macros and functions arm: mvebu: a38x: serdes: Update comment about PCIE*_ENABLE_* defines arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c | 297 +----------------- arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.h | 68 +--- .../serdes/a38x/high_speed_env_spec.c | 42 +-- 3 files changed, 22 insertions(+), 385 deletions(-) -- 2.32.0