From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web11.6243.1666175768226552717 for ; Wed, 19 Oct 2022 03:36:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Koi+InKi; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 62F79617F7; Wed, 19 Oct 2022 10:36:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90F1CC433C1; Wed, 19 Oct 2022 10:36:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666175766; bh=s5ncmKQC4WzX5D1DwfbmCwo+BPeRya3MEkT3F8ogyZU=; h=From:To:Cc:Subject:Date:From; b=Koi+InKikeCc9sLu0C0Z9c3y/nGPlNhaK2oH7lPLAiSJh0+7IOvYSRrMmZtwXWNCr k+qtADUHjPfT2qJV4t54lM1FDXSrcFFA/gIsXu2KNMGQ9H8c4w0WgXSZOtjxCIwnJo SFbhxzHtQ4dEM+O8kcC7QUQWSPzJbnAe1iWybduvk8cpPvQUIejeYo8IW0J2i5cIs4 tHeZlHFR055fFPThTFhbeFNK5E3pFQFICD18Vj0FVScPMFhJZEmSIT//7o0siyA33j V9jYSm4RtbfegdiPhuXWTFUYu09G+h4LEdNgJLJNq24MgyR5Ji/Hu+8o4Rp6ck7u4v mepEYIlXe0AZA== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Thomas Abraham , Sami Mujawar Subject: [PATCH edk2-platforms 0/4] Platform/ARM: clone ArmPlatformPkg's NorFlashDxe Date: Wed, 19 Oct 2022 12:35:51 +0200 Message-Id: <20221019103555.493477-1-ardb@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable NorFlashDxe in ArmPlatformPkg is used in two different ways:=0D - by emulated QEMU based platforms that use its NOR flash emulation=0D which is based on versatile express=0D - by physical ARM platforms under Platform/ARM in edk2-platforms.=0D =0D In order to improve support for the former use case, let's first split=0D off the latter and give them their own version of the driver.=0D =0D Cc: Leif Lindholm =0D Cc: Thomas Abraham =0D Cc: Sami Mujawar =0D =0D Ard Biesheuvel (4):=0D Platform/ARM/BootMonFs: drop spurious dependency on ArmPlatformPkg=0D Platform/ARM: create local definition of NorFlashPlatformLib=0D Platform/ARM: clone NorFlashDxe from ArmPlatformPkg=0D Platform/ARM: switch to local version of NorFlashDxe drivers=0D =0D Platform/ARM/ARM.dec | 5 = +=0D Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 2 = +-=0D Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc | 2 = +-=0D Platform/ARM/JunoPkg/ArmJuno.dsc | 2 = +-=0D Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc | 2 = +-=0D Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 2 = +-=0D Platform/ARM/JunoPkg/ArmJuno.fdf | 2 = +-=0D Platform/ARM/SgiPkg/PlatformStandaloneMm.fdf | 2 = +-=0D Platform/ARM/SgiPkg/SgiPlatform.fdf | 2 = +-=0D Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.fdf | 2 = +-=0D Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.fdf | 2 = +-=0D Platform/ARM/Drivers/BootMonFs/BootMonFs.inf | 1 = -=0D Platform/ARM/Drivers/NorFlashDxe/NorFlashDxe.inf | 71 = ++=0D Platform/ARM/Drivers/NorFlashDxe/NorFlashStandaloneMm.inf | 66 = ++=0D Platform/ARM/JunoPkg/Library/NorFlashJunoLib/NorFlashJunoLib.inf | 2 = +-=0D Platform/ARM/SgiPkg/Library/NorFlashLib/NorFlashLib.inf | 2 = +-=0D Platform/ARM/SgiPkg/Library/NorFlashLib/StandaloneMmNorFlashLib.inf | 2 = +-=0D Platform/ARM/Drivers/NorFlashDxe/NorFlash.h | 422 = +++++++++=0D Platform/ARM/Include/Library/NorFlashPlatformLib.h | 30 = +=0D Platform/ARM/Drivers/BootMonFs/BootMonFsImages.c | 1 = -=0D Platform/ARM/Drivers/NorFlashDxe/NorFlash.c | 991 = ++++++++++++++++++++=0D Platform/ARM/Drivers/NorFlashDxe/NorFlashBlockIoDxe.c | 123 = +++=0D Platform/ARM/Drivers/NorFlashDxe/NorFlashDxe.c | 506 = ++++++++++=0D Platform/ARM/Drivers/NorFlashDxe/NorFlashFvb.c | 777 = +++++++++++++++=0D Platform/ARM/Drivers/NorFlashDxe/NorFlashStandaloneMm.c | 383 = ++++++++=0D 25 files changed, 3387 insertions(+), 15 deletions(-)=0D create mode 100644 Platform/ARM/Drivers/NorFlashDxe/NorFlashDxe.inf=0D create mode 100644 Platform/ARM/Drivers/NorFlashDxe/NorFlashStandaloneMm.i= nf=0D create mode 100644 Platform/ARM/Drivers/NorFlashDxe/NorFlash.h=0D create mode 100644 Platform/ARM/Include/Library/NorFlashPlatformLib.h=0D create mode 100644 Platform/ARM/Drivers/NorFlashDxe/NorFlash.c=0D create mode 100644 Platform/ARM/Drivers/NorFlashDxe/NorFlashBlockIoDxe.c=0D create mode 100644 Platform/ARM/Drivers/NorFlashDxe/NorFlashDxe.c=0D create mode 100644 Platform/ARM/Drivers/NorFlashDxe/NorFlashFvb.c=0D create mode 100644 Platform/ARM/Drivers/NorFlashDxe/NorFlashStandaloneMm.c= =0D =0D -- =0D 2.35.1=0D =0D