Selling my Apple TV, how to reset?

I’m reselling my jailbroken Apple TV 2. What do I need to do to make it reset and ready for a new owner?