]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/NorFlashDxe: factor out DXE specific pieces
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Fri, 18 Dec 2020 10:05:15 +0000 (19:05 +0900)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 4 Jan 2021 18:34:16 +0000 (18:34 +0000)
commitc2d1cf1bce3973a4bd99d60d85e7f3ff30a9f90f
tree6c704c16812531164b6fa5acfda8c27d630b2832
parente5908945368163bb15c8c1a49745f4c1138f1ab4
ArmPlatformPkg/NorFlashDxe: factor out DXE specific pieces

In preparation of creating a standalone MM version of the
NOR Flash driver, refactor the existing pieces into a core
driver. NorFlashDxe.c has the DXE instantiation code,
FVB initialization code and some common functions.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlash.c [new file with mode: 0644]
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlash.h [new file with mode: 0644]
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashBlockIoDxe.c
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.c
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.h [deleted file]
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvb.c [new file with mode: 0644]
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c [deleted file]