If using dried mushrooms, soak them in hot water until soft, about 20 minutes. Drain the mushrooms and squeeze out any excess water. Slice caps thinly crosswise.
Break the tofu coarsely with a fork and set aside to drain.
Heat the oil in a saucepan over medium heat. Add the ginger and mushrooms and cook for 2 minutes.