The edk2 commit bacfd6e let CpuDxe running latter. CpuDxe is needed by gDS->SetMemorySpaceAttributes, and gDS->SetMemorySpaceAttributes is invoked by some drivers.
This issue can solve by adding Depex on gEfiCpuArchProtocolGuid to SFCDriver.
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang ming.huang@linaro.org --- Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex | Bin 2 -> 36 bytes 1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex b/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex index 2a47cc2..e5c4b16 100644 Binary files a/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex and b/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex differ