1 /** @file SysCfgArmPlatform.c
3 Copyright (c) 2011, ARM Ltd. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #include <Library/IoLib.h>
16 #include <Library/DebugLib.h>
18 #include <Library/ArmPlatformSysConfigLib.h>
19 #include <ArmPlatform.h>
21 /****************************************************************************
23 * This file makes it easier to access the System Configuration Registers
24 * in the ARM Versatile Express motherboard.
26 ****************************************************************************/
29 ArmPlatformSysConfigInitialize (
37 ArmPlatformSysConfigGet (
38 IN SYS_CONFIG_FUNCTION Function
,
46 // Intercept some functions
50 Status
= EFI_UNSUPPORTED
;
57 ArmPlatformSysConfigSet (
58 IN SYS_CONFIG_FUNCTION Function
,
66 // Intercept some functions
70 Status
= EFI_UNSUPPORTED
;
77 ArmPlatformSysConfigSetDevice (
78 IN SYS_CONFIG_FUNCTION Function
,
87 // Intercept some functions
91 Status
= EFI_UNSUPPORTED
;