ArmPkg: Move ARM Platform drivers from ArmPkg/Drivers/ to ArmPlatformPkg/Drivers/
The idea is to keep ArmPkg responsible for the ARM architectural modules and ArmPlatformPkg the ARM development platform packages (with their respective drivers). ArmPlatformPkg: Reduce driver dependency on ArmPlatform.h - Move some driver definitions from C-Macro to PCD values - Unify PCD driver namespace git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11956 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -52,10 +52,10 @@
|
||||
#define ARM_VE_SMB_PERIPH_SZ SIZE_64MB
|
||||
|
||||
// DRAM
|
||||
#define ARM_VE_DRAM_BASE 0x60000000
|
||||
#define ARM_VE_DRAM_SZ 0x40000000
|
||||
#define ARM_VE_DRAM_BASE PcdGet32 (PcdSystemMemoryBase)
|
||||
#define ARM_VE_DRAM_SZ PcdGet32 (PcdSystemMemorySize)
|
||||
// Inside the DRAM we allocate a section for the VRAM (Video RAM)
|
||||
#define LCD_VRAM_CORE_TILE_BASE 0x64000000
|
||||
#define LCD_VRAM_CORE_TILE_BASE 0x64000000
|
||||
|
||||
// External AXI between daughterboards (Logic Tile)
|
||||
#define ARM_VE_EXT_AXI_BASE 0xE0000000
|
||||
@@ -98,18 +98,6 @@
|
||||
// PL310 L2x0 Cache Controller Base Address
|
||||
//#define ARM_VE_L2x0_CTLR_BASE 0x1E00A000
|
||||
|
||||
/***********************************************************************************
|
||||
Select between Motherboard and Core Tile peripherals
|
||||
************************************************************************************/
|
||||
|
||||
// Specify which PL111 to use
|
||||
//#define PL111_CLCD_BASE PL111_CLCD_MOTHERBOARD_BASE
|
||||
#define PL111_CLCD_BASE PL111_CLCD_CORE_TILE_BASE
|
||||
|
||||
// Specify which Watchdog to use
|
||||
#define SP805_WDOG_BASE SP805_WDOG_MOTHERBOARD_BASE
|
||||
//#define SP805_WDOG_BASE SP805_WDOG_CORE_TILE_BASE
|
||||
|
||||
/***********************************************************************************
|
||||
Peripherals' misc settings
|
||||
************************************************************************************/
|
||||
@@ -130,16 +118,6 @@
|
||||
#define ARM_VE_DECPROT_BIT_NMC_TZASC_LOCK (1 << 4)
|
||||
#define ARM_VE_DECPROT_BIT_SMC_TZASC_LOCK (1 << 5)
|
||||
|
||||
// PL031 RTC - Other settings
|
||||
#define PL031_PPM_ACCURACY 300000000
|
||||
|
||||
// SP805 Watchdog - Other settings
|
||||
#define SP805_CLOCK_FREQUENCY 32000
|
||||
#define SP805_MAX_TICKS 0xFFFFFFFF
|
||||
|
||||
// PL111 Lcd
|
||||
#define PL111_CLCD_CORE_TILE_VIDEO_MODE_OSC_ID 1
|
||||
|
||||
/***********************************************************************************
|
||||
// EFI Memory Map in Permanent Memory (DRAM)
|
||||
************************************************************************************/
|
||||
|
Reference in New Issue
Block a user