Remove the pointless dependency on ArmPlatformLib: none of the code we
call from it actually does anything useful.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
LzmaDecompressLib\r
PeCoffGetEntryPointLib\r
PrePiLib\r
LzmaDecompressLib\r
PeCoffGetEntryPointLib\r
PrePiLib\r
ArmPlatformStackLib\r
MemoryAllocationLib\r
HobLib\r
ArmPlatformStackLib\r
MemoryAllocationLib\r
HobLib\r
**/\r
\r
#include <PiPei.h>\r
**/\r
\r
#include <PiPei.h>\r
+#include <Pi/PiBootMode.h>\r
\r
#include <Library/PrePiLib.h>\r
#include <Library/PrintLib.h>\r
\r
#include <Library/PrePiLib.h>\r
#include <Library/PrintLib.h>\r
BuildCpuHob (PcdGet8 (PcdPrePiCpuMemorySize), PcdGet8 (PcdPrePiCpuIoSize));\r
\r
// Set the Boot Mode\r
BuildCpuHob (PcdGet8 (PcdPrePiCpuMemorySize), PcdGet8 (PcdPrePiCpuIoSize));\r
\r
// Set the Boot Mode\r
- SetBootMode (ArmPlatformGetBootMode ());\r
+ SetBootMode (BOOT_WITH_FULL_CONFIGURATION);\r
\r
// Initialize Platform HOBs (CpuHob and FvHob)\r
Status = PlatformPeim ();\r
\r
// Initialize Platform HOBs (CpuHob and FvHob)\r
Status = PlatformPeim ();\r
{\r
UINT64 StartTimeStamp;\r
\r
{\r
UINT64 StartTimeStamp;\r
\r
- // Initialize the platform specific controllers\r
- ArmPlatformInitialize (MpId);\r
-\r
if (PerformanceMeasurementEnabled ()) {\r
// Initialize the Timer Library to setup the Timer HW controller\r
TimerConstructor ();\r
if (PerformanceMeasurementEnabled ()) {\r
// Initialize the Timer Library to setup the Timer HW controller\r
TimerConstructor ();\r
#include <Library/MemoryAllocationLib.h>\r
#include <Library/HobLib.h>\r
#include <Library/SerialPortLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
#include <Library/HobLib.h>\r
#include <Library/SerialPortLib.h>\r
-#include <Library/ArmPlatformLib.h>\r
\r
#define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1);\r
\r
\r
#define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1);\r
\r