public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ard.biesheuvel@arm.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>, devel@edk2.groups.io
Cc: leif@nuviainc.com
Subject: Re: [edk2-devel] [PATCH edk2-platforms v2 1/2] Platform/ARM/VExpressPkg: incorporate PL180 driver
Date: Thu, 30 Apr 2020 12:47:08 +0200	[thread overview]
Message-ID: <ac3e0e8f-3133-fa42-48dd-cf99a84f25ef@arm.com> (raw)
In-Reply-To: <9835345a-54a8-debe-dcb3-67be80f45df5@redhat.com>

On 4/30/20 12:06 PM, Philippe Mathieu-Daudé wrote:
> Hi Ard,
> 
> On 4/30/20 10:25 AM, Ard Biesheuvel wrote:
>> The PL180 SD host controller driver is only used on emulated ARM
>> platforms, uses an obsolete version of the MMC host protocol and
>> does not adhere to the UEFI driver model.
>>
>> Given the above, let's just move it into VExpressPkg where it
>> belongs.
>>
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
>> ---
>>   Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc            |   6 +-
>>   Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.fdf            |   2 +-
>>   Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc         |   6 +-
>>   Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.fdf         |   2 +-
>>   Platform/ARM/VExpressPkg/ArmVExpressPkg.dec                  |   4 +
>>   Platform/ARM/VExpressPkg/Drivers/PL180MciDxe/PL180Mci.c      | 570 
>> ++++++++++++++++++++
>>   Platform/ARM/VExpressPkg/Drivers/PL180MciDxe/PL180Mci.h      | 169 
>> ++++++
>>   Platform/ARM/VExpressPkg/Drivers/PL180MciDxe/PL180MciDxe.inf |  53 ++
>>   8 files changed, 804 insertions(+), 8 deletions(-)
>>
> [...]
>> diff --git a/Platform/ARM/VExpressPkg/Drivers/PL180MciDxe/PL180Mci.c 
>> b/Platform/ARM/VExpressPkg/Drivers/PL180MciDxe/PL180Mci.c
>> new file mode 100644
>> index 000000000000..8526bb41600e
>> --- /dev/null
>> +++ b/Platform/ARM/VExpressPkg/Drivers/PL180MciDxe/PL180Mci.c
>> @@ -0,0 +1,570 @@
>> +/** @file
>> +  This file implement the MMC Host Protocol for the ARM PrimeCell PL180.
>> +
>> +  WARNING:
>> +  This driver fails to follow the UEFI driver model without a good
>> +  reason, and only remains in the tree because it is still used by
>> +  a small number of platforms. It will removed when no longer used.
> 
> I suppose "It will [be] removed"? (2 other occurrences in this patch).
> 

Ah yes thanks for spotting that.

> Otherwise:
> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
> 
>> +  New platforms should not use it, and no one should use this as
>> +  reference code for developing new drivers.
>> +
>> +  Copyright (c) 2011-2020, ARM Limited. All rights reserved.
>> +
>> +  SPDX-License-Identifier: BSD-2-Clause-Patent
>> +
>> +**/
> [...]
> 


  reply	other threads:[~2020-04-30 10:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-30  8:25 [PATCH edk2-platforms v2 0/2] move obsolete platform drivers out of core edk2 Ard Biesheuvel
2020-04-30  8:25 ` [PATCH edk2-platforms v2 1/2] Platform/ARM/VExpressPkg: incorporate PL180 driver Ard Biesheuvel
2020-04-30 10:06   ` [edk2-devel] " Philippe Mathieu-Daudé
2020-04-30 10:47     ` Ard Biesheuvel [this message]
2020-04-30  8:25 ` [PATCH edk2-platforms v2 2/2] Platform/ARM/JunoPkg: incorporate SiI3132 SATA controller driver Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ac3e0e8f-3133-fa42-48dd-cf99a84f25ef@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox