/* Whereas, The Configureation value is constructed using MFP() array consists of 32bit values as defined in MFP(xx,xx..) macro  */
void mfp_config(u32 *mfp_cfgs)
/* Whereas, The Configureation value is constructed using MFP() array consists of 32bit values as defined in MFP(xx,xx..) macro  */
void mfp_config(u32 *mfp_cfgs)
{
	u32 *p_mfpr = NULL;
	u32 cfg_val, val;
	do {
		cfg_val = *mfp_cfgs++;
		if (cfg_val == MFP_EOC)
			break;
		p_mfpr = (u32 *)(MV_MFPR_BASE
				+ MFP_REG_GET_OFFSET(cfg_val));
		val = 0;
		if (cfg_val & MFP_VALUE_MASK)
			val |= cfg_val & MFP_VALUE_MASK;
		writel(val, p_mfpr);
	} while (1);
	readl(p_mfpr);
}