summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/ArmVExpressPkg/Include
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-11 11:12:38 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-11 11:12:38 +0000
commit7d0f2f23d2e47341dc78096644ef57db0542b076 (patch)
tree146a1376041c90551469443792f90c6dd8b24b9a /ArmPlatformPkg/ArmVExpressPkg/Include
parent7b80d1a3b60f75732de1a8a84ad9a34bcd6d2adb (diff)
downloadedk2-platforms-7d0f2f23d2e47341dc78096644ef57db0542b076.tar.xz
ArmPlatformPkg: Add support for PL111 Lcd driver
This driver implements the interface for the PL111 Lcd controller. The LcdPlatformLib allows to set the platform specific requirements needed by the platform for setting the LCD (oscillators, etc). ArmPlatformPkg/ArmVExpressPkg: Implement LcdPlatformLib This library exports the supported resolutions. It also allocates the memory for the framebuffer and send the correct settings to the VExpress motherboard microcontroller. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11786 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/ArmVExpressPkg/Include')
-rw-r--r--ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h b/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h
index 3dc622ecc3..1b64392b2e 100644
--- a/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h
+++ b/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h
@@ -54,6 +54,8 @@
// DRAM
#define ARM_VE_DRAM_BASE 0x60000000
#define ARM_VE_DRAM_SZ 0x40000000
+// Inside the DRAM we allocate a section for the VRAM (Video RAM)
+#define LCD_VRAM_CORE_TILE_BASE 0x64000000
// External AXI between daughterboards (Logic Tile)
#define ARM_VE_EXT_AXI_BASE 0xE0000000
@@ -97,6 +99,14 @@
//#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
+
+/***********************************************************************************
Peripherals' misc settings
************************************************************************************/
@@ -117,6 +127,9 @@
#define ARM_VE_DECPROT_BIT_SMC_TZASC_LOCK (1 << 5)
+// PL111 Lcd
+#define PL111_CLCD_CORE_TILE_VIDEO_MODE_OSC_ID 1
+
/***********************************************************************************
// Interrupt Map
************************************************************************************/