If I remember correctly, there are two spiked walls in that place. The ones on the left are opened much later when you finish that area and if you choose to come back through that way.
The spiked walls on the right though, it's explained through the Imp Maintenance Diaries (there's a switch on the high ground area just 20-30m behind the wall).