コード例 #1
0
ファイル: evm.c プロジェクト: CreatorDev/u-boot
void recalibrate_iodelay(void)
{
	if (is_dra72x()) {
		__recalibrate_iodelay(core_padconf_array_essential,
				      ARRAY_SIZE(core_padconf_array_essential),
				      iodelay_cfg_array,
				      ARRAY_SIZE(iodelay_cfg_array));
	} else {
		__recalibrate_iodelay(dra74x_core_padconf_array,
				      ARRAY_SIZE(dra74x_core_padconf_array),
				      dra742_iodelay_cfg_array,
				      ARRAY_SIZE(dra742_iodelay_cfg_array));
	}
}
コード例 #2
0
void recalibrate_iodelay(void)
{
	const struct pad_conf_entry *pconf;
	const struct iodelay_cfg_entry *iod;
	int pconf_sz, iod_sz;

	if (board_is_am572x_idk()) {
		pconf = core_padconf_array_essential_am572x_idk;
		pconf_sz = ARRAY_SIZE(core_padconf_array_essential_am572x_idk);
		iod = iodelay_cfg_array_am572x_idk;
		iod_sz = ARRAY_SIZE(iodelay_cfg_array_am572x_idk);
	} else {
		/* Common for X15/GPEVM */
		pconf = core_padconf_array_essential_x15;
		pconf_sz = ARRAY_SIZE(core_padconf_array_essential_x15);
		iod = iodelay_cfg_array_x15;
		iod_sz = ARRAY_SIZE(iodelay_cfg_array_x15);
	}

	__recalibrate_iodelay(pconf, pconf_sz, iod, iod_sz);
}
コード例 #3
0
void recalibrate_iodelay(void)
{
	__recalibrate_iodelay(core_padconf_array_essential,
			      ARRAY_SIZE(core_padconf_array_essential),
			      iodelay_cfg_array, ARRAY_SIZE(iodelay_cfg_array));
}