From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::22c; helo=mail-lf0-x22c.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 421D721FC7487 for ; Sun, 8 Oct 2017 03:46:26 -0700 (PDT) Received: by mail-lf0-x22c.google.com with SMTP id k40so4978882lfi.4 for ; Sun, 08 Oct 2017 03:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=MAVdgV9rke84oh0mLdLs6AxIL8zmNWA3JCVzKy65duw=; b=ri5RosuHlocxKlORV7d3uM/9L+ebUVKIpDvtAIg7YOZLKUiPssJM0yS36eiJqt4qgy 9aNR44zltOqcNuTDJ1neHwqDAHEjmiOfyjCpqAvOZZ2TBupxK1BJcON+epl9ZY6gtVBe 6EjQBOZ6HfGhsDb18Teqw7ZwxK5FU5L+y9UiRc3KwADRcQZjIYxtcxCQzM+6rGn8borP 2sZvl0N0gPLbw3poAK/gv+UlHL5whfrzsB15+AcRziq757lxAMqKKXfO/DNEOrF/jgfr Cx9Bu/BRCbgaqZ6esQwTdsuo+FNQsqWKfOgBs+b5bZ6kZV2aVhhTR/OBn6YR4xYMoVrn jBKA== 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; bh=MAVdgV9rke84oh0mLdLs6AxIL8zmNWA3JCVzKy65duw=; b=WoTdbOiI4JhZmHc5Qunue7UvHMD5YA/yqI/lIuBcrVT9QyhNnzV0K0kah7Yg3e5Agi /TES8et2xE4JnnjEhLNzybICGBdo6fjcPn+w2G+ICM9I+2ikXu8rWQ+GK44a0W/UNRbg sycKk+/RaW6Sjp2ZIMyG6eF4y2Fx57trZjqvyQxXIybNs196qfp5YBEveqQMc9voKnUI Mb+VWUsb1fU0KiXL2Qj4Yucwo9LM5PhKYaaga/v2D7TSkkKJ+z8L/pPXKmKROpHfSTYP fSay7pV2BoIR7xYxtneJbw53+QPnuKF84HlP1p6tNpq+QafNDeq/L63SBsdaXW9ZO/wf 5t/Q== X-Gm-Message-State: AMCzsaWfqGEU0RjfpMIxewljMlFQQl079F8APCTDDjCc5LeP202jU+w1 oX+zJbdnPHiCpJO0IevbEwLeMkgG1CA= X-Google-Smtp-Source: AOwi7QCq/42VsOgaJ94jZg58QY2rzReR0ZuDg51ROW73YNH5lPcsHIIJ47AJvqRScYBWKQE1NmCeow== X-Received: by 10.25.125.67 with SMTP id y64mr2152272lfc.44.1507459789593; Sun, 08 Oct 2017 03:49:49 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id y17sm930370lfj.0.2017.10.08.03.49.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Oct 2017 03:49:48 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com, jinghua@marvell.com, mw@semihalf.com, jsd@semihalf.com Date: Sun, 8 Oct 2017 12:56:47 +0200 Message-Id: <1507460212-10323-1-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 Subject: [platforms: PATCH v2 0/5] Armada 7k/8k - ParsePcdLib removal X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 10:46:26 -0000 Hi, This is a second version of the patchset with the complete removal of ParsePcdLib and cleanup of boards' PCD representation. According to v1 remarks, I modified PCD names and introduced macros in Armada.dsc.inc, so that the readability of boards .dsc could increse. More details can befound in the changelog and commits. The patches are available in the github: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/parsepcd-upstream-r20171008 I'm looking forward to your comments or remarks. Best regards, Marcin Changelog: v1 -> v2 1/5 * Add new [Defines] section was added to Armada.dsc.inc file in order to increase readability. 2/5 * s/PcdI2cControllers/PcdI2cControllersEnabled/ 3/5 * s/PcdUtmiControllers/PcdUtmiControllersEnabled/ * Add defines for PcdUtmiPortType 4/5: * s/PcdMdioControllers/PcdMdioControllersEnabled/ * Add macros for network PHY type and speed in Armada.dsc.inc 5/5 * Add RBs Marcin Wojtas (5): Marvell/Library: ComPhyLib: Remove PCD string parsing Marvell/Drivers: MvI2cDxe: Move devices description to MvHwDescLib Marvell/Library: UtmiLib: Move devices description to MvHwDescLib Marvell/Drivers: Pp2Dxe: Rework PHY handling Platform/Marvell/Armada: Remove ParsePcdLib Platform/Marvell/Armada/Armada.dsc.inc | 68 +++++- Platform/Marvell/Armada/Armada70x0.dsc | 30 +-- Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c | 42 ++-- Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.inf | 3 +- Platform/Marvell/Drivers/Net/MvMdioDxe/MvMdioDxe.c | 35 ++- Platform/Marvell/Drivers/Net/MvMdioDxe/MvMdioDxe.inf | 3 - Platform/Marvell/Drivers/Net/Phy/MvPhyDxe/MvPhyDxe.c | 122 ++++++----- Platform/Marvell/Drivers/Net/Phy/MvPhyDxe/MvPhyDxe.h | 2 - Platform/Marvell/Drivers/Net/Phy/MvPhyDxe/MvPhyDxe.inf | 4 +- Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.c | 16 +- Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.h | 2 +- Platform/Marvell/Drivers/Net/Pp2Dxe/Pp2Dxe.inf | 4 +- Platform/Marvell/Include/Library/MvHwDescLib.h | 95 ++++++++ Platform/Marvell/Include/Library/ParsePcdLib.h | 46 ---- Platform/Marvell/Include/Protocol/Mdio.h | 6 + Platform/Marvell/Include/Protocol/MvPhy.h | 1 + Platform/Marvell/Library/ComPhyLib/ComPhyLib.c | 65 +----- Platform/Marvell/Library/ComPhyLib/ComPhyLib.h | 25 +-- Platform/Marvell/Library/ComPhyLib/ComPhyLib.inf | 1 - Platform/Marvell/Library/ParsePcdLib/ParsePcdLib.c | 228 -------------------- Platform/Marvell/Library/ParsePcdLib/ParsePcdLib.inf | 50 ----- Platform/Marvell/Library/UtmiPhyLib/UtmiPhyLib.c | 150 ++++++------- Platform/Marvell/Library/UtmiPhyLib/UtmiPhyLib.h | 1 - Platform/Marvell/Library/UtmiPhyLib/UtmiPhyLib.inf | 11 +- Platform/Marvell/Marvell.dec | 17 +- Silicon/Marvell/Documentation/PortingGuide.txt | 165 ++++++++------ 26 files changed, 528 insertions(+), 664 deletions(-) delete mode 100644 Platform/Marvell/Include/Library/ParsePcdLib.h delete mode 100644 Platform/Marvell/Library/ParsePcdLib/ParsePcdLib.c delete mode 100644 Platform/Marvell/Library/ParsePcdLib/ParsePcdLib.inf -- 1.8.3.1