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:
@@ -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