Mix potatoes, onion cut into strips, garlic, rosemary, chorizo, salt, pepper and oil, and bake covered at 190°C for 40 min.

Meanwhile, chop the mushrooms, briefly sauté in butter, add stock and simmer for 15 min; the stock will almost completely evaporate.

After the potatoes have baked for 40 minutes, add the mushrooms, mix and bake for another 10 min.