1. In a system comprising a processor, a first memory, a first memory controller, and a second memory, a method for transitioning between an awake state and a sleep state comprising: detecting a trigger to transition from the sleep state to the awake state; initializing the first memory controller in response to the detecting, the initializing comprising executing software in the second memory; and executing software in the first memory after the initializing.