Home | History | Annotate | Download | only in ArmPlatformSysConfigLibNull
      1 /** @file
      2 
      3   Copyright (c) 2011-2014, ARM Ltd. All rights reserved.<BR>
      4 
      5   This program and the accompanying materials
      6   are licensed and made available under the terms and conditions of the BSD License
      7   which accompanies this distribution.  The full text of the license may be found at
      8   http://opensource.org/licenses/bsd-license.php
      9 
     10   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     11   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     12 
     13 **/
     14 
     15 #include <Base.h>
     16 
     17 #include <Library/ArmPlatformSysConfigLib.h>
     18 
     19 
     20 RETURN_STATUS
     21 ArmPlatformSysConfigInitialize (
     22   VOID
     23   )
     24 {
     25   return RETURN_SUCCESS;
     26 }
     27 
     28 /***************************************
     29  * GENERAL FUNCTION: AccessSysCfgRegister
     30  * Interacts with
     31  *    SYS_CFGSTAT
     32  *    SYS_CFGDATA
     33  *    SYS_CFGCTRL
     34  * for setting and for reading out values
     35  ***************************************/
     36 RETURN_STATUS
     37 AccessSysCfgRegister (
     38   IN     UINT32   ReadWrite,
     39   IN     UINT32   Function,
     40   IN     UINT32   Site,
     41   IN     UINT32   Position,
     42   IN     UINT32   Device,
     43   IN OUT UINT32*  Data
     44   )
     45 {
     46   return RETURN_UNSUPPORTED;
     47 }
     48 
     49 RETURN_STATUS
     50 ArmPlatformSysConfigGet (
     51   IN  SYS_CONFIG_FUNCTION   Function,
     52   OUT UINT32*               Value
     53   )
     54 {
     55   return RETURN_UNSUPPORTED;
     56 }
     57 
     58 RETURN_STATUS
     59 ArmPlatformSysConfigGetValues (
     60   IN  SYS_CONFIG_FUNCTION   Function,
     61   IN  UINTN                 Size,
     62   OUT UINT32*               Values
     63   )
     64 {
     65   return RETURN_UNSUPPORTED;
     66 }
     67 
     68 RETURN_STATUS
     69 ArmPlatformSysConfigSet (
     70   IN  SYS_CONFIG_FUNCTION   Function,
     71   IN  UINT32                Value
     72   )
     73 {
     74   return RETURN_UNSUPPORTED;
     75 }
     76 
     77 RETURN_STATUS
     78 ArmPlatformSysConfigSetDevice (
     79   IN  SYS_CONFIG_FUNCTION   Function,
     80   IN  UINT32                Device,
     81   IN  UINT32                Value
     82   )
     83 {
     84   return RETURN_UNSUPPORTED;
     85 }
     86