public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms 0/2] Replace individual CRC implementations with BaseLib
@ 2022-03-27  0:59 Pedro Falcato
  2022-03-27  0:59 ` [PATCH edk2-platforms 1/2] Ext4Pkg: Replace the " Pedro Falcato
  2022-03-27  0:59 ` [PATCH edk2-platforms 2/2] WhitleyOpenBoardPkg: Replace BaseCrcLib " Pedro Falcato
  0 siblings, 2 replies; 4+ messages in thread
From: Pedro Falcato @ 2022-03-27  0:59 UTC (permalink / raw)
  To: devel
  Cc: Leif Lindholm, Michael D Kinney, Isaac Oram, Nate DeSimone,
	Chasel Chiu

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3871

This patch-set replaces the individual CRC16 implementations in Ext4Pkg and WhitleyOpenBoardPkg
with the soon-to-be-merged BaseLib implementation of CalculateCrc16().

These patches should not be merged before the BaseLib one, but also not too long after,
as the BaseLib changes will certainly break these packages' builds.
I encourage the platform maintainers to build and test my changes as I couldn't build them nor
test them (although everything looks good from a bird's eye view).

Also CC'ing the platforms maintainers as I can't review my own patches :)

Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Isaac Oram <isaac.w.oram@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>

Pedro Falcato (2):
  Ext4Pkg: Replace the CRC implementations with BaseLib
  WhitleyOpenBoardPkg: Replace BaseCrcLib with BaseLib

 Features/Ext4Pkg/Ext4Dxe/Crc16.c              | 75 -----------------
 Features/Ext4Pkg/Ext4Dxe/Crc32c.c             | 84 -------------------
 Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h            | 34 +-------
 Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.inf          |  2 -
 .../Include/Library/CrcLib.h                  | 42 ----------
 .../AcpiPlatformLibBdat.c                     | 46 +++-------
 .../Library/BaseCrcLib/BaseCrcLib.c           | 71 ----------------
 .../Library/BaseCrcLib/BaseCrcLib.inf         | 23 -----
 .../Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc |  1 -
 9 files changed, 13 insertions(+), 365 deletions(-)
 delete mode 100644 Features/Ext4Pkg/Ext4Dxe/Crc16.c
 delete mode 100644 Features/Ext4Pkg/Ext4Dxe/Crc32c.c
 delete mode 100644 Platform/Intel/WhitleyOpenBoardPkg/Include/Library/CrcLib.h
 delete mode 100644 Platform/Intel/WhitleyOpenBoardPkg/Library/BaseCrcLib/BaseCrcLib.c
 delete mode 100644 Platform/Intel/WhitleyOpenBoardPkg/Library/BaseCrcLib/BaseCrcLib.inf

-- 
2.35.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-28  1:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-27  0:59 [PATCH edk2-platforms 0/2] Replace individual CRC implementations with BaseLib Pedro Falcato
2022-03-27  0:59 ` [PATCH edk2-platforms 1/2] Ext4Pkg: Replace the " Pedro Falcato
2022-03-27  0:59 ` [PATCH edk2-platforms 2/2] WhitleyOpenBoardPkg: Replace BaseCrcLib " Pedro Falcato
2022-03-28  1:51   ` Pedro Falcato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox