]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM/ArmPlatform.h
ArmPlatformPkg/FVP: map motherboard VRAM as uncached memory
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / Include / Platform / RTSM / ArmPlatform.h
index 06414e6e7208aa8718c8058fb606bf0e35db0052..d856b6daa1d761656426bf7f3d1d0d95bd950622 100644 (file)
 #define ARM_VE_SMB_SRAM_BASE                    0x2E000000\r
 #define ARM_VE_SMB_SRAM_SZ                      SIZE_64KB\r
 // USB, Ethernet, VRAM\r
-#define ARM_VE_SMB_PERIPH_BASE                  0x18000000\r
-#define PL111_CLCD_VRAM_MOTHERBOARD_BASE        ARM_VE_SMB_PERIPH_BASE\r
-#define ARM_VE_SMB_PERIPH_SZ                    SIZE_64MB\r
+#define ARM_VE_SMB_PERIPH_BASE                  0x18800000\r
+#define ARM_VE_SMB_PERIPH_SZ                    (SIZE_64MB - SIZE_8MB)\r
+\r
+#define PL111_CLCD_VRAM_MOTHERBOARD_BASE        0x18000000\r
+#define PL111_CLCD_VRAM_MOTHERBOARD_SIZE        0x800000\r
 \r
 // DRAM\r
 #define ARM_VE_DRAM_BASE                        PcdGet64 (PcdSystemMemoryBase)\r
@@ -74,7 +76,4 @@
 #define PL111_CLCD_MOTHERBOARD_VIDEO_MODE_OSC_ID  1\r
 #define PL111_CLCD_CORE_TILE_VIDEO_MODE_OSC_ID  1\r
 \r
-// VRAM offset for the PL111 Colour LCD Controller on the motherboard\r
-#define VRAM_MOTHERBOARD_BASE                     (ARM_VE_SMB_PERIPH_BASE   + 0x00000)\r
-\r
 #endif\r