Having different thoughts to someone else isn't illegal. Being a bell end isn't illegal. He has essentially done nothing wrong. Just because he is a bell end of a person does not mean that his company and their employees have to suffer because his opinion differs to anybody elses.
But, again, no one's saying what he did was illegal. That wasn't why he was forced to step down. In any case, other people have to suffer because his opinion differs from theirs - viz., the victims of Prop 8 in California - our opinions have consequences, and he's facing them now.
Societies across the world have reached a point where holding homophobic views is no longer just an unpopular opinion, like believing that the poor should have to pay more taxes. We've reached the point where holding a homophobic viewpoint is akin to holding a racist one: would people have any doubt whatsoever about the propriety of Eich's dismissal if he'd donated to Stormfront or something?
As usual, Ross Douthat says it best:
--------------------------------------------
"But there’s another possibility, in which the oft-invoked analogy between opposition to gay marriage and support for segregation in the 1960s South is pushed to its logical public-policy conclusion. In this scenario, the unwilling photographer or caterer would be treated like the proprietor of a segregated lunch counter, and face fines or lose his business — which is the intent of recent legal actions against a wedding photographer in New Mexico,
a florist in Washington State, and
a baker in Colorado.
Meanwhile, pressure would be brought to bear wherever the religious subculture brushed up against state power. Religious-affiliated adoption agencies would be closed if they declined to place children with same-sex couples. (This has happened in Massachusetts and Illinois.) Organizations and businesses that promoted the older definition of marriage would face constant procedural harassment, along the lines suggested by the mayors who battled with Chick-fil-A. And, eventually, religious schools and colleges would receive the same treatment as racist holdouts like Bob Jones University, losing access to public funds and
seeing their tax-exempt status revoked.
...
What makes this response particularly instructive is that such bills have been seen, in the past, as a way for religious conservatives to negotiate surrender — to accept same-sex marriage’s inevitability while carving out protections for dissent. But now, apparently, the official line is that
you bigots don’t get to negotiate anymore."
-------------------------------------------------
http://www.nytimes.com/2014/03/02/opinion/sunday/the-terms-of-our-surrender.html?_r=0