I'm on my phone so I can't search (efficienty), as I know this has been asked and the answer is out there.

I have a 2001 6 speed and my current set up failed smog. I am currently putting my car back to stock fueling and need to find out which ecu is compatible with my h box. I only have my hands on an m box and t box. Will either of those work JUST to pass smog? If not which ones will.