openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

appl_ref_board.h (1049B)


      1 /** \file appl_ref_board.h
      2  *
      3  * functions which are board specific
      4  */
      5 
      6 /*
      7  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      8  * 
      9  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
     10  */
     11 
     12 #ifndef FILE_APPL_REF_DNXC_INIT_BOARD_H_INCLUDED
     13 /* { */
     14 #define FILE_APPL_REF_DNXC_INIT_BOARD_H_INCLUDED
     15 
     16 #if !defined(BCM_DNX_SUPPORT) && !defined(BCM_DNXF_SUPPORT)
     17 #error "This file is for use by DNXC family only!"
     18 #endif
     19 
     20 #include <sal/types.h>
     21 
     22 /*
     23 * MACROs:
     24 * {
     25 */
     26 
     27 /*
     28  * }
     29  */
     30 
     31 /*
     32  * Structs and Enums:
     33  * {
     34  */
     35 
     36 /*
     37  * }
     38  */
     39 
     40 
     41 
     42 /*
     43 * Function Declarations:
     44 * {
     45 */
     46 
     47 /*
     48  * This function will perform a system reset on the given unit or report if a system reset is supported.
     49  * If SOC_SYSTEM_RESET_FLAG_IS_SUPPORTED is specified in flags, it will return SOC_E_NONE if supported.
     50  * Otherwise it will perform a system reset if supported, and return SOC_E_NONE on success.
     51  */
     52 int dnxc_perform_system_reset(
     53     int unit,
     54     uint32 flags);
     55 
     56 /*
     57  * }
     58  */
     59 
     60 /* } */
     61 #endif