From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4864:20::144; helo=mail-lf1-x144.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) (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 EA1DC211B111E for ; Mon, 21 Jan 2019 17:32:47 -0800 (PST) Received: by mail-lf1-x144.google.com with SMTP id c16so16838340lfj.8 for ; Mon, 21 Jan 2019 17:32:47 -0800 (PST) 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=drp9tNFH5MLfrwAFjJUT7ph5+qZUC/qV1LdlNc+4ofY=; b=HxDVutJZcD2FfNBX2s8i1Czs3vAQOyDPawfHDRk0BJclwElVW9oIKKjOkTELMdstxz YIhQFLbJ/BYdbU/kcn7fkTndKh+5eIBNfZWyfdQQUQPbmVKdl61QBOLpRypS1jvjV0RX lyjrmR9dA3hQz3pquSqm9CksEWXdXsnOyo2gvzL2inUzM6Or0QI/5W/ALVj2wMnhV2xC 337V6N19+KUBsemW0DYowTEczZFP+bFMdAJ9x4MXP+Z05EqJRzJxGBQl/XeqtHZxKyjr esYinYmWjJzwVdK+I0Zq0HbW5JEbng6zdUm8r1uwmHh+xuWedRcjm1vwHOu4BaSGYIj0 y1Qw== 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=drp9tNFH5MLfrwAFjJUT7ph5+qZUC/qV1LdlNc+4ofY=; b=BRpCIcm/6ocZkkzciUpg3pQRPHsJedeWnh7xqutiELzioiRMnhuqsEvNUobzvTmfgk 5QzUNchSG6w48dX/pQkH28Tv0MHqyd7KmHkXardOd3cdc0NNsltr/LwqKFrmHNuhm4D+ maziOLmMlYokk3rSG4EsFDJRamiubdNrdxf1ck2pVjK4MzhBdIffFZb9tYvF7ygvqmVs vBDA8TrO0JK0X5gO/MSYGdszhPaqQfee4gs32lKyYDlPdQy/kPySGTyOMlCa5yqxS7O5 tBmMHkeMoTVWiehBRjDLtkLexB+qC2O6O+8tgu2uQSW8zRiCMuDVWZYu6HTl06UzP+L6 0tew== X-Gm-Message-State: AJcUukf5PaqbrVXnCSMEDrjHEW8aw60VjC9crRUSv0NQ3tkVw5W1E0fY NWNY7EcPuNUlw6H/SbDmQVwGLf+t4kA= X-Google-Smtp-Source: ALg8bN5hMkdt/7mU9vNvWlkPlDKUFV/VvsvcFTUAy4e48Rwk4YPk7mcGxfezhPRs5a0BdSN93sy9XA== X-Received: by 2002:a19:9fcd:: with SMTP id i196mr19368274lfe.82.1548120765548; Mon, 21 Jan 2019 17:32:45 -0800 (PST) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id b21sm2524463lfi.7.2019.01.21.17.32.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Jan 2019 17:32:44 -0800 (PST) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, mw@semihalf.com, jsd@semihalf.com, jaz@semihalf.com, kostap@marvell.com Date: Tue, 22 Jan 2019 02:32:18 +0100 Message-Id: <1548120742-11928-1-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 Subject: [platforms: PATCH v2 0/4] Armada7k8k memory handling update X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 X-List-Received-Date: Tue, 22 Jan 2019 01:32:48 -0000 Hi, The second version of the patchset introduces the new common header for Marvell SMC ID's, and answers other remarks pointed out in v1 review. The details can be found in the changelog below. Patches are available in the github: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/dram-upstream-r20190122 I'm looking forward to the comments and remarks. Best regards, Marcin Changelog: v1 -> v2: * 1/4 - Improve commit log - mention single area size and new PEI stack base * 2/4 (new patch) - Add common header for Marvell SMC ID's * 3/4 - Add function description comment - Define and use ARMADA7K8K_AP806_INDEX - Change function argument to EFI_PHYSICAL_ADDRESS * 4/4 - Move new SMC ID to MvSmc.h - Include ArmadaSoCDescLib.h directly (instead indirectly via BoardDesc.h) - Remove ARMADA7K8K_AP806_INDEX macro Grzegorz Jaszczyk (2): Marvell/Library: ArmadaSoCDescLib: Add North Bridge description Marvell/Armada7k8k: Read DRAM settings from ARM-TF Marcin Wojtas (2): Marvell/Armada7k8k: Shift PEI stack base Marvell/Library: Introduce common header for the SMC ID's Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 4 +- Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLib.inf | 3 + Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLibMem.h | 25 -------- Silicon/Marvell/Armada7k8k/Library/Armada7k8kSoCDescLib/Armada7k8kSoCDescLib.h | 6 ++ Silicon/Marvell/Include/Library/ArmadaSoCDescLib.h | 28 +++++++++ Silicon/Marvell/Include/Library/MvSmc.h | 24 ++++++++ Silicon/Marvell/Library/ComPhyLib/ComPhySipSvc.h | 8 +-- Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLibMem.c | 60 ++++++-------------- Silicon/Marvell/Armada7k8k/Library/Armada7k8kSoCDescLib/Armada7k8kSoCDescLib.c | 34 +++++++++++ Silicon/Marvell/Library/ComPhyLib/ComPhyCp110.c | 14 ++--- 10 files changed, 125 insertions(+), 81 deletions(-) create mode 100644 Silicon/Marvell/Include/Library/MvSmc.h -- 2.7.4