From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:400c:c0c::22f; helo=mail-wr0-x22f.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (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 0509421E43B4E for ; Sun, 24 Sep 2017 18:42:57 -0700 (PDT) Received: by mail-wr0-x22f.google.com with SMTP id g29so5209571wrg.11 for ; Sun, 24 Sep 2017 18:46:08 -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:in-reply-to:references; bh=/aEgiFkLLj0NiOZnHLobS4uSgwGOIrMUeyWXC0yExr0=; b=BsSkFYFP7eWMAzooTGT1AP28++G6cTQ/Prz1Z+eysVVz8rGiqVEQEiGGise6VUrFuL vHMVb5TVapIO8YMtNUhKJte71U6TXJgkfuZfqEAQ+1hWK4iHSOaHTQ1MhNjklMPJ8wfM QHBIYOZ6vouS9mUH3BSBobEu+ok0g5++G38kfcR8bLVTSd6ZVL/lu/ENF520Z4/hTZBx hGagyi/JLvCfLhdx0A3JsZROtzVboRE7VACg9iTjeYNo4NcB28E/ehhE88VFOU5kWgrF 0s6LYv2Du3QUQk6rxaiZZbBW4mKncX99pjRfecFROWNbVHirMWLLR1JwDXeiUhzwtvyw Hbtg== 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:in-reply-to :references; bh=/aEgiFkLLj0NiOZnHLobS4uSgwGOIrMUeyWXC0yExr0=; b=G6YeCefQf2lCE3vEnrs8IlQSXbiz5PUTYX9fdx1bDApJBNSGcpRMCqeJMw3r+OCRy6 H0nYKcVgihnSLW7RG9yk+aTpyDeECLoHzP3Q83hWH3d9hQiZcs29xfSSaotcE4D+VWek RoruHIgBGC4ZGFFn+2eCTAf2en0LZzJkw/0ATBU4geqqb5FJrIALzUD2TH089bK5eZ9J 07g9GUOC9OYuzmiNxPInsrOkySyjrJwp8SkkVZIXfy8CRrfktqCfDhFSRRRIHGA2OaKr uI1j42rNVULuQVxeAx6vzUC0KaiqTNLu1gfQPMP0ATUrdO67N+JlTz/k0Zwo89BkHmSQ ySvA== X-Gm-Message-State: AHPjjUjt4NEwx97W6Sv2q16Cdalw0C3+uc4PMLnLneq9i+PyV4FuMkiA BnVw6x4UZx6Z9X1IZpHA8TIUZSARq2w= X-Google-Smtp-Source: AOwi7QASt1oNHS/5OjoTbK6ts+WfZsR76UJRizzCDOFJ3aRbShFfeZkiDEEDuTd+yF37v957BQBiPw== X-Received: by 10.46.69.5 with SMTP id s5mr966433lja.26.1506303967258; Sun, 24 Sep 2017 18:46:07 -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 f16sm809520lfe.66.2017.09.24.18.46.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Sep 2017 18:46:06 -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, agraf@suse.de, mw@semihalf.com, jsd@semihalf.com Date: Mon, 25 Sep 2017 03:51:54 +0200 Message-Id: <1506304319-8620-6-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1506304319-8620-1-git-send-email-mw@semihalf.com> References: <1506304319-8620-1-git-send-email-mw@semihalf.com> Subject: [platforms: PATCH 05/10] Platform/Marvell/Armada70x0: set CS and SCLK Mode for SPI flash 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: Mon, 25 Sep 2017 01:42:58 -0000 This patch makes use of recently added SPI configuration PCDs and sets CS with SCLK mode on Armada 7040 DB. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada70x0.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Platform/Marvell/Armada/Armada70x0.dsc b/Platform/Marvell/Armada/Armada70x0.dsc index caf3840..467dfa3 100644 --- a/Platform/Marvell/Armada/Armada70x0.dsc +++ b/Platform/Marvell/Armada/Armada70x0.dsc @@ -95,6 +95,8 @@ gMarvellTokenSpaceGuid.PcdSpiFlashEraseSize|65536 gMarvellTokenSpaceGuid.PcdSpiFlashPageSize|256 gMarvellTokenSpaceGuid.PcdSpiFlashId|0x20BA18 + gMarvellTokenSpaceGuid.PcdSpiFlashMode|3 + gMarvellTokenSpaceGuid.PcdSpiFlashCs|0 #ComPhy gMarvellTokenSpaceGuid.PcdComPhyDevices|{ 0x1 } -- 1.8.3.1