Clean up psram controller. Still untested.