Drain the water off the tofu. Place tofu in the bowl of an electric mixer. Add the nutritional yeast, cornstarch, tamari, and turmeric. Mix until it’s creamy and well combined.
In a skillet, cook the onion and garlic until the onion is soft. Add a bit of water if it sticks. Fold the cooked onion, sweet potato and greens into the tofu mixture. Pour into an oiled pie plate or ovenproof skillet. Bake at 375° for 35 minutes or until the center is firm and the top lightly browned. Let rest on the counter 5-10 minutes before cutting.
Note
Cook the sweet potato in any way you like. The microwave does a quick job of it.