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::241; helo=mail-lf0-x241.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x241.google.com (mail-lf0-x241.google.com [IPv6:2a00:1450:4010:c07::241]) (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 47A1921B00DC1 for ; Mon, 20 Nov 2017 22:42:51 -0800 (PST) Received: by mail-lf0-x241.google.com with SMTP id 73so12791550lfu.10 for ; Mon, 20 Nov 2017 22:47:06 -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=ogwIhVI7YRVV36qb297U5wgk/bONriMsxSvffER86GM=; b=z/8xn6ht8bE50qaNLtrZiSwLzYe2vd6lt/U6uLp0/H1EnRq+njhB3Z51G9reCr21EH f3QcsUlBCB27333zlRcMci5jxKX1fMftjJ44sifgko4+O3UThC9mQ8WQI+BqDZBDUsJ6 XJn6HAAk+KNdcXd04RpgIJ2iFL9ZEP5/rWCTyTphO50ZhYs7cuy55VcSDxIGa5eHqOS4 dEl0jdTfY4Agcm9U4bTd29/EJ1fCoFrDBg9pRZGPHt4/TgK1LTD2Z4U+krU7Ym1oyKvL tEskLLWGT/K+rZ9vmoMdxsdpYC/WjFxwaaOke/NI6cPJsO0EptoHvMnYqj5RTPR4Vz4M pSaQ== 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=ogwIhVI7YRVV36qb297U5wgk/bONriMsxSvffER86GM=; b=DR+C/pV+1yhlFiFS6GVFEpAmBY3F2PP+9EQky6/DA6Lt/8OKoAKQ9cucJMlM+g/DJo WilJCkUKrJiPaWMCNwdFpGXDc3AEfNBM2L+LKUIRQrNS50dAMXTbpeGOIhu0gVV/21AH CLNkpquVqktxc826cuNMgiA2nhAxUkzC1IGQ9dv7vfs+0vrxP6QKI6xj5yoQ9xTcgvju LwsFAnzDmgT19GHY/dYzT70M688SpFj3tBycoaYQtLLjY7AJ6EcZtTbsHBfn/5fXtJ1h iVfFFcSmz3mH7u51Z4K7CBZvicWVB9Dte6V8/S/ybTtdM1b5zVnP6kq7/ZLgPBsDQJPL 9lEQ== X-Gm-Message-State: AJaThX76Ipum7+Nsj2We+HjXMgmDH7HsKxeeLNOX3Y3uIqZc4HUTnFew VpeCoacNCDcywk1pfBm2i6KtmSLIXaI= X-Google-Smtp-Source: AGs4zMbxYpXvDFWm5yVppw+T7Ra10tRYV5U+Iu4P7DrlMoZvV4gUlYt4utlqa0AIYCAY1Kc2Wymxsg== X-Received: by 10.25.15.73 with SMTP id e70mr4581605lfi.64.1511246823878; Mon, 20 Nov 2017 22:47:03 -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 f79sm2267015lfk.57.2017.11.20.22.47.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Nov 2017 22:47:03 -0800 (PST) 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: Tue, 21 Nov 2017 07:46:17 +0100 Message-Id: <1511246781-7073-1-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 Subject: [platforms: PATCH v2 0/4] Armada 7k/8k variable support 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: Tue, 21 Nov 2017 06:42:51 -0000 Hi, I submit v2 of the Armada variable support with the style of the MvFvbDxe driver fixed and other minor modifications. Depex configuration was moved from 4/4 to previous patches. Details can be found in the changelog and commit messages. Patches are available in the github: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/var-upstream-r20171121 I'm looking forward to the comments or remarks. Best regards, Marcin Changelog: v1 -> v2: * Change patches order in order to safely apply related Depex modifications * 1/4: - Fix style (line breaking, openining brackets, alignment, typos) - Rework MvFvbSetAttributes - because it can return only EFI_SUCCESS / EFI_INVALID_PARAMETER and should return FVB attributes, add debug information, that operation is not supported and return default values via MvFvbGetAttributes. - Return EFI_SUCCESS, in case NumBytes == 0 in MvFvbRead. * 2/4: - Move Depex configuration from 4/4 * 3/4: - Move Depex configuration from 4/4 - Reword and break commit message. * 4/4: - Remove Depex configuration Marcin Wojtas (4): Platform/Marvell: Introduce MvFvbDxe variable support driver Marvell/Drivers: MvSpiFlash: Enable using driver in RT Marvell/Drivers: MvSpiDxe: Enable using driver in RT Marvell/Armada: Enable variables support Platform/Marvell/Armada/Armada.dsc.inc | 25 +- Platform/Marvell/Armada/Armada70x0.fdf | 6 +- Platform/Marvell/Drivers/Spi/Devices/MvSpiFlash.c | 58 +- Platform/Marvell/Drivers/Spi/Devices/MvSpiFlash.h | 1 + Platform/Marvell/Drivers/Spi/Devices/MvSpiFlash.inf | 11 +- Platform/Marvell/Drivers/Spi/MvSpiDxe.c | 50 +- Platform/Marvell/Drivers/Spi/MvSpiDxe.h | 2 + Platform/Marvell/Drivers/Spi/MvSpiDxe.inf | 9 +- Platform/Marvell/Drivers/Spi/Variables/MvFvbDxe.c | 1056 ++++++++++++++++++++ Platform/Marvell/Drivers/Spi/Variables/MvFvbDxe.h | 114 +++ Platform/Marvell/Drivers/Spi/Variables/MvFvbDxe.inf | 91 ++ Platform/Marvell/Include/Protocol/Spi.h | 7 + Platform/Marvell/Marvell.dec | 4 + 13 files changed, 1420 insertions(+), 14 deletions(-) create mode 100644 Platform/Marvell/Drivers/Spi/Variables/MvFvbDxe.c create mode 100644 Platform/Marvell/Drivers/Spi/Variables/MvFvbDxe.h create mode 100644 Platform/Marvell/Drivers/Spi/Variables/MvFvbDxe.inf -- 2.7.4