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>
This commit is contained in:
Masahisa Kojima
2020-12-18 19:05:15 +09:00
committed by mergify[bot]
parent e590894536
commit c2d1cf1bce
6 changed files with 1159 additions and 1080 deletions

View File

@@ -17,9 +17,10 @@
ENTRY_POINT = NorFlashInitialise
[Sources.common]
NorFlashDxe.h
NorFlash.c
NorFlash.h
NorFlashDxe.c
NorFlashFvbDxe.c
NorFlashFvb.c
NorFlashBlockIoDxe.c
[Packages]