summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-22 23:21:02 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-22 23:21:02 +0000
commit4463f706986cf6a8a9484ebadc2d22a6ca4eb4b5 (patch)
treefe5749a5a79f2eed6a2f97a0752dabb67e76b562 /ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib
parentf4ee7a82342ea532b2590e5d7fe6195f670e9def (diff)
downloadedk2-platforms-4463f706986cf6a8a9484ebadc2d22a6ca4eb4b5.tar.xz
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
Diffstat (limited to 'ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib')
-rw-r--r--ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfig.c b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfig.c
index 27ef0a7c5f..e26052a0ca 100644
--- a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfig.c
+++ b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfig.c
@@ -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: