From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=aedbcW/0; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.222.196, mailfrom: mw@semihalf.com) Received: from mail-qk1-f196.google.com (mail-qk1-f196.google.com [209.85.222.196]) by groups.io with SMTP; Mon, 09 Sep 2019 23:23:50 -0700 Received: by mail-qk1-f196.google.com with SMTP id d26so15920801qkk.2 for ; Mon, 09 Sep 2019 23:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7HKopKE7S4uE/VZ58C16mnKPZVzI5jRbHCkg9TMH8JQ=; b=aedbcW/09xR+oujAtr3LsKukruZDgSVjQjfv+GxINUj/PGAw2UnDA4niZi9aedr93d qNOZ+Sd0r7qvlMrAdO7h2WLsSqqufxB3dqdyjEeOGmFUWTeKkv01d4d/1WXsUCTPh7Rg mXDFM8CsZABRBeGZxOYFc/Qqg1SThYr3SRhZ1nba2R8RkgB1tDFI6EPfsT+5fODUpRSt Hn1MeHv1IBAQNP5t15lbpQbel+IBW0GmhDnom3JaHxWIO+2PvREdZm1RbynkkWTm/Vfx MVLS1+VjsfzYFpV8/lmK/TjDBLTa5kX0FPT+gvtqBNkPvGp8UX/L/fXSxb6uFMZVX2xZ qkxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7HKopKE7S4uE/VZ58C16mnKPZVzI5jRbHCkg9TMH8JQ=; b=PvilJ7oJN42De9izXFxVDaZ4vMqvhgP+qByxZylk2oyTEf+4UL4Yw9efFmqMPk2JZi cQ3G54KyF/X9n5Rtgru4lZ+EOp7mrClmEL+NgLVx3mWduVOdXHLJpQ50kZUVmqRAN0zs tpRzFRqjOgHE+kxwqGwiCfZuAxh760uEBL2XvEfYRnsqhOb7RLttM5tiY8KWYNC278in ALqOR+Lx38SbT9VZs0EJTFFHSNLh/xrJz4iuj3P5wRE+Qh2qVASFVkHJ2PDjGqqu0zug Qdf0OGuAfyZFW0SCmTM4QRZZN6ObWqJg8BGRPyb2yXm3pnfSwaMSFI9Z53a3SS8gzgh7 BKtQ== X-Gm-Message-State: APjAAAXmjBmyW0nE64Z1ZIufScGPYx/WEr+yH/oHIMj3zQ+/baQG4Xmz J8Og88r7YM/3w8vbD8FX1/Vj3nAGp1ksjcky6yolpQ== X-Google-Smtp-Source: APXvYqwGLKmafbv/gq5bD3mYlX5RprtKSL7WGpm2I2F6v23pke/p+rjSQLwtTDyiufcdD9P3U17Oi6mgjDrGCeTbTx0= X-Received: by 2002:a05:620a:15c5:: with SMTP id o5mr26371842qkm.16.1568096629432; Mon, 09 Sep 2019 23:23:49 -0700 (PDT) MIME-Version: 1.0 References: <20190909155212.30338-1-pdk@semihalf.com> In-Reply-To: <20190909155212.30338-1-pdk@semihalf.com> From: "Marcin Wojtas" Date: Tue, 10 Sep 2019 08:23:38 +0200 Message-ID: Subject: Re: [edk2-platforms: PATCH 0/2] Armada 7k8k SPI flash driver improvements To: Patryk Duda Cc: edk2-devel-groups-io , Leif Lindholm , Ard Biesheuvel , "jsd@semihalf.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable pon., 9 wrz 2019 o 17:52 Patryk Duda napisa=C5=82(a): > > Hi, > > This patchset contains progress bar implementation for MvSpiFlash driver = and > small fix in calculating number of sectors to write. > > Progress bar implementation was mostly borrowed from TFTP module. > During implementation it turned out that when size is multiplication of > sector size, then last sector was not copied because remainder was 0. > This was fixed by increasing number of sectors to write. > > I'm looking forward to your comments or remarks. > > Best regards, > Patryk > > Patryk Duda (2): > Marvell/Drivers: MvSpiFlashDxe: Fix sector number obtaining > Marvell/Drivers: MvSpiFlashDxe: Implement progress bar > > Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.inf | 1 + > Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.h | 1 + > Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.c | 59 +++++++= +++++++++---- > 3 files changed, 51 insertions(+), 10 deletions(-) > Tested-by: Marcin Wojtas