1 void sdram_no_memory(void)
3 print_err("No memory!!\r\n");
10 void sdram_initialize(const struct mem_controller *ctrl)
12 print_debug("Ram1\r\n");
13 /* Set the registers we can set once to reasonable values */
14 sdram_set_registers(ctrl);
16 print_debug("Ram2\r\n");
17 /* Now setup those things we can auto detect */
18 sdram_set_spd_registers(ctrl);
20 print_debug("Ram3\r\n");
21 /* Now that everything is setup enable the SDRAM.
22 * Some chipsets do the work for use while on others
23 * we need to it by hand.
27 print_debug("Ram4\r\n");