summaryrefslogtreecommitdiffstats
path: root/hwp/perv/p9_sbe_chiplet_pll_initf.H
blob: 2c1ca038911ddb04ffd9c173f6f96d7ead3f65db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//------------------------------------------------------------------------------
/// @file  p9_sbe_chiplet_pll_initf.H
///
/// @brief procedure for scan initializing PLL config bits for XBus, OBus, PCIe, MC Chiplets
//------------------------------------------------------------------------------
// *HWP HW Owner        : Abhishek Agarwal <abagarw8@in.ibm.com>
// *HWP HW Backup Owner : srinivas naga <srinivan@in.ibm.com>
// *HWP FW Owner        : sunil kumar <skumar8j@in.ibm.com>
// *HWP Team            : Perv
// *HWP Level           : 2
// *HWP Consumed by     : SBE
//------------------------------------------------------------------------------


#ifndef _P9_SBE_CHIPLET_PLL_INITF_H_
#define _P9_SBE_CHIPLET_PLL_INITF_H_


#include <fapi2.H>


typedef fapi2::ReturnCode (*p9_sbe_chiplet_pll_initf_FP_t)(
    const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP> &);

/// @brief If TRUE then skip MC chiplet
/// run scan0 module  (scan region = PLL, scan_types = GPTR)
/// run scan0 module  (scan region = PLL, scan_types = BNDY/FUNC)
/// Scan initialize PLL BNDY chain (chiplet =[CPLT], scan ring = PLL, scan type = BNDY)
///
/// @param[in]     i_target_chip   Reference to TARGET_TYPE_PROC_CHIP target
/// @return  FAPI2_RC_SUCCESS if success, else error code.
extern "C"
{
    fapi2::ReturnCode p9_sbe_chiplet_pll_initf(const
            fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP> & i_target_chip);
}

#endif
OpenPOWER on IntegriCloud