lib/sw_apps/zynqmp_fsbl/src/xfsbl_partition_load.c
static void XFsbl_SetBSSecureState(u32 State)
{
	u32 RegVal;

	/* Set Firmware State in PMU GLOBAL GEN STORAGE Register */
	RegVal = Xil_In32(PMU_GLOBAL_GLOB_GEN_STORAGE5);
	RegVal &= ~XFSBL_STATE_MASK;
	RegVal |= State << XFSBL_STATE_SHIFT;
	Xil_Out32(PMU_GLOBAL_GLOB_GEN_STORAGE5, RegVal);
}
/*****************************************************************************/
/** Sets the library firmware state
 *
 * @param	State BS firmware state
 *
 * @return	None
 *****************************************************************************/
Sets the library firmware state
@param       State BS firmware state

@return      None
Sets the library firmware state @param State BS firmware state @return None
static void XFsbl_SetBSSecureState(u32 State)
{
	u32 RegVal;
	RegVal = Xil_In32(PMU_GLOBAL_GLOB_GEN_STORAGE5);
	RegVal &= ~XFSBL_STATE_MASK;
	RegVal |= State << XFSBL_STATE_SHIFT;
	Xil_Out32(PMU_GLOBAL_GLOB_GEN_STORAGE5, RegVal);
}
static void XFsbl_SetBSSecureState ( u32 State ) { u32 RegVal ; RegVal = Xil_In32 ( PMU_GLOBAL_GLOB_GEN_STORAGE5 ) ; RegVal &= ~ XFSBL_STATE_MASK ; RegVal |= State << XFSBL_STATE_SHIFT ; Xil_Out32 ( PMU_GLOBAL_GLOB_GEN_STORAGE5 , RegVal ) ; }
Sets the library firmware state
 @param       State BS firmware state
Sets the library firmware state @param State BS firmware state
/* Set Firmware State in PMU GLOBAL GEN STORAGE Register */