My boy eats grass, too. (A little salad before our walkie!)
I've heard eating dirt means they're deficient in minerals -- but I don't know that for a fact. (Could be one of those old wives' tales for all I know.)
(They'll also eat their poo, kitty "tootsie rolls", and just about anything else gross!)