add uba mem configuration entry, get mem addr from flags