lib/sw_apps/zynqmp_fsbl/src/xfsbl_board.c
u32 XFsbl_BoardInit(void)
{
	u32 Status;
#if defined(XPS_BOARD_ZCU102) || defined(XPS_BOARD_ZCU106)		\
		|| defined(XPS_BOARD_ZCU104) || defined(XPS_BOARD_ZCU111) \
		|| defined(XPS_BOARD_ZCU216) || defined(XPS_BOARD_ZCU208)
	/* Program I2C to configure GT lanes */
	Status = XFsbl_BoardConfig();
	if (Status != XFSBL_SUCCESS) {
		goto END;
	}

#if defined(XPS_BOARD_ZCU102)
	XFsbl_PcieReset();
#endif
#else
	Status = XFSBL_SUCCESS;
	goto END;
#endif

END:
	return Status;
}
/*****************************************************************************/
/**
 * This function does board specific initialization.
 * Currently this is done for ZCU102 board.
 * If there isn't any board specific initialization required, it just returns.
 *
 * @param none
 *
 * @return
 * 		- XFSBL_SUCCESS for successful configuration
 * 		- errors as mentioned in xfsbl_error.h
 *
 *****************************************************************************/
This function does board specific initialization.
Currently this is done for ZCU102 board.
If there isn't any board specific initialization required, it just returns.

@param none

@return
- XFSBL_SUCCESS for successful configuration
- errors as mentioned in xfsbl_error.h
This function does board specific initialization . Currently this is done for ZCU102 board . If there isn ' t any board specific initialization required it just returns . @param none @return - XFSBL_SUCCESS for successful configuration - errors as mentioned in xfsbl_error . h
u32 XFsbl_BoardInit(void)
{
	u32 Status;
#if defined(XPS_BOARD_ZCU102) || defined(XPS_BOARD_ZCU106)		\
		|| defined(XPS_BOARD_ZCU104) || defined(XPS_BOARD_ZCU111) \
		|| defined(XPS_BOARD_ZCU216) || defined(XPS_BOARD_ZCU208)
	Status = XFsbl_BoardConfig();
	if (Status != XFSBL_SUCCESS) {
		goto END;
	}
#if defined(XPS_BOARD_ZCU102)
	XFsbl_PcieReset();
#endif
#else
	Status = XFSBL_SUCCESS;
	goto END;
#endif
END:
	return Status;
}
u32 XFsbl_BoardInit ( void ) { u32 Status ; #if defined ( XPS_BOARD_ZCU102 ) || defined ( XPS_BOARD_ZCU106 ) || defined ( XPS_BOARD_ZCU104 ) || defined ( XPS_BOARD_ZCU111 ) || defined ( XPS_BOARD_ZCU216 ) || defined ( XPS_BOARD_ZCU208 ) Status = XFsbl_BoardConfig ( ) ; if ( Status != XFSBL_SUCCESS ) { goto END ; } #if defined ( XPS_BOARD_ZCU102 ) XFsbl_PcieReset ( ) ; #endif #else Status = XFSBL_SUCCESS ; goto END ; #endif END : return Status ; }
This function does board specific initialization.
This function does board specific initialization .
/* Program I2C to configure GT lanes */