MAX_XIN_COUNT
u32 memtype[MAX_XIN_COUNT];
if (!vbif || xin_id >= MAX_XIN_COUNT)
if (!vbif || xin_id >= MAX_XIN_COUNT || xin_id >= 16)