move mmc constants out of header