Preheat a large, heavy bottomed pan over medium high heat. Saute the onion and garlic in olive oil for 3 minutes, until onion is translucent. Break the tofu apart into bite sized pieces, sprinkle with salt, and cook for about 10 minutes. Get under the tofu with a thin metal spatula now and then as it cooks, scrape the bottom and don’t let it stick to the pan, that is where the good, crispy stuff is.