lib/sw_apps/zynqmp_pmufw/src/pm_binding.c
void XPfw_PmInit(void)
{
#ifdef ENABLE_POS
	u32 bootType = PmHookGetBootType();

	/* Call user hook for Power Off Suspend initialization */
	PmHookInitPowerOffSuspend();
#else
	u32 bootType = PM_COLD_BOOT;
#endif

	PmInfo("Power Management Init\r\n");

	if (bootType == PM_COLD_BOOT) {
		PmMasterDefaultConfig();
		PmNodeConstruct();
	}
}
/**
 * XPfw_PmInit() - initializes PM firmware
 *
 * @note	Call on startup to initialize PM firmware.
 */
initializes PM firmware
@note        Call on startup to initialize PM firmware.
initializes PM firmware @note Call on startup to initialize PM firmware .
void XPfw_PmInit(void)
{
#ifdef ENABLE_POS
	u32 bootType = PmHookGetBootType();
	PmHookInitPowerOffSuspend();
#else
	u32 bootType = PM_COLD_BOOT;
#endif
	PmInfo("Power Management Init\r\n");
	if (bootType == PM_COLD_BOOT) {
		PmMasterDefaultConfig();
		PmNodeConstruct();
	}
}
void XPfw_PmInit ( void ) { #ifdef ENABLE_POS u32 bootType = PmHookGetBootType ( ) ; PmHookInitPowerOffSuspend ( ) ; #else u32 bootType = PM_COLD_BOOT ; #endif PmInfo ( " \r \n " ) ; if ( bootType == PM_COLD_BOOT ) { PmMasterDefaultConfig ( ) ; PmNodeConstruct ( ) ; } }
XPfw_PmInit() - initializes PM firmware
 @note        Call on startup to initialize PM firmware.
XPfw_PmInit () - initializes PM firmware @note Call on startup to initialize PM firmware .
/* Call user hook for Power Off Suspend initialization */