1. A method for initializing a memory that is part of an electronic device, comprising: receiving a sequence for initializing the memory from an external booting device; and causing the memory to perform initialization by using a first command that is generated based on the sequence.