ArmVirtPkg: remove ArmPlatformSysConfigLib dependency
Now that the PL031 RTC driver library no longer depends on the ARM platform specific ArmPlatformSysConfigLib, we no longer need to implement ArmPlatform.h or have a resolution for that library. This allows us to get rid of a rather dodgy practice of including platform headers using compiler flags, which is a bad idea at various levels. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#include <Library/PcdLib.h>
|
||||
#include <Library/IoLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <ArmPlatform.h>
|
||||
|
||||
// Number of Virtual Memory Map Descriptors
|
||||
#define MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS 5
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#include <Library/IoLib.h>
|
||||
#include <Library/ArmPlatformLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <ArmPlatform.h>
|
||||
#include <Pi/PiBootMode.h>
|
||||
|
||||
/**
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include <Library/ArmPlatformLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/PcdLib.h>
|
||||
#include <ArmPlatform.h>
|
||||
#include <libfdt.h>
|
||||
#include <Pi/PiBootMode.h>
|
||||
#include <Uefi/UefiBaseType.h>
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#include <Library/PcdLib.h>
|
||||
#include <Library/IoLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <ArmPlatform.h>
|
||||
|
||||
// Number of Virtual Memory Map Descriptors
|
||||
#define MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS 5
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#include <Library/IoLib.h>
|
||||
#include <Library/ArmPlatformLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <ArmPlatform.h>
|
||||
#include <Pi/PiBootMode.h>
|
||||
|
||||
/**
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#include <Library/PcdLib.h>
|
||||
#include <Library/IoLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <ArmPlatform.h>
|
||||
|
||||
// Number of Virtual Memory Map Descriptors
|
||||
#define MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS 2
|
||||
|
@@ -12,9 +12,14 @@
|
||||
|
||||
**/
|
||||
|
||||
#include <ArmPlatform.h>
|
||||
#include <Library/NorFlashPlatformLib.h>
|
||||
|
||||
#define QEMU_NOR_BLOCK_SIZE SIZE_256KB
|
||||
#define QEMU_NOR0_BASE 0x0
|
||||
#define QEMU_NOR0_SIZE SIZE_64MB
|
||||
#define QEMU_NOR1_BASE 0x04000000
|
||||
#define QEMU_NOR1_SIZE SIZE_64MB
|
||||
|
||||
EFI_STATUS
|
||||
NorFlashPlatformInitialization (
|
||||
VOID
|
||||
|
Reference in New Issue
Block a user