ArmPlatformPkg/ArmiVExpressPkg: Introduce 'ArmVExpress.dsc.inc' to avoid duplication of library and PCD defintions around ARM Versatile Express Boards

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12428 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin
2011-09-22 23:21:02 +00:00
parent f4ee7a8234
commit 4463f70698
7 changed files with 356 additions and 269 deletions

View File

@@ -216,6 +216,9 @@ ArmPlatformSysConfigSetDevice (
// Intercept some functions
switch(Function) {
case SYS_CFG_SCC:
MmioWrite32 ((ARM_VE_SCC_BASE + (Device * 4)),Value);
return EFI_SUCCESS;
case SYS_CFG_OSC_SITE1:
Function = SYS_CFG_OSC;
@@ -240,7 +243,6 @@ ArmPlatformSysConfigSetDevice (
case SYS_CFG_AMP:
case SYS_CFG_TEMP:
case SYS_CFG_RESET:
case SYS_CFG_SCC:
case SYS_CFG_SHUTDOWN:
case SYS_CFG_REBOOT:
case SYS_CFG_DVIMODE:

View File

@@ -1,7 +1,5 @@
#/** @file
#
# Component discription file for ArmVeGraphicsDxe module
#
# Copyright (c) 2011, ARM Ltd. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -32,10 +30,3 @@
BaseLib
DebugLib
IoLib
[Guids]
[Protocols]
[Pcd]

View File

@@ -24,8 +24,6 @@
#include <ArmPlatform.h>
#define PL111_CLCD_SITE ARM_VE_DAUGHTERBOARD_1_SITE
typedef struct {
UINT32 Mode;
UINT32 HorizontalResolution;