Old English grist "action of grinding; grain to be ground," perhaps related to grindan "to grind" (see grind (v.)), though OED calls this connection "difficult." Meaning "wheat which is to be ground" is early 15c., as is the figurative extension from this sense.