From 42838e91620ddf55e83a1287025adc7a7fb1e38b Mon Sep 17 00:00:00 2001 From: Samer El-Haj-Mahmoud Date: Sun, 19 Apr 2020 09:04:14 -0400 Subject: [PATCH] Platform/RaspberryPi/RPi3: Fix TFTP dynamic command initialization Set the PcdShellLibAutoInitialize for the TFTP dynamic Shell command. This fixes an ASSERT observed in https://github.com/pftf/RPi3/issues/11 Signed-off-by: Samer El-Haj-Mahmoud Reviewed-by: Ard Biesheuvel --- Platform/RaspberryPi/RPi3/RPi3.dsc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc index a451e2a82b5..54ebfdfbb05 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -662,5 +662,8 @@ gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x200000 } !if $(INCLUDE_TFTP_COMMAND) == TRUE - ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf { + + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE + } !endif