What are the exceptions to 10% penalty for early withdrawal from 401(k)?

Dec 31, 2012 I was laid off.  I was not allowed to take a loan or a partial withdrawal from my plan because I had been terminated from my employment
April 2013 I took a Full withdrawal from my 401(k) plan .
I used the entire net amount (plus other liquid assests) to purchase my primary residence in April 2014
In July 2014 I reached the age of 55
Does this qualify for some early withdrawal penalty' exception? or reduction?
The distribution code = 1 on the 1099-R form I received