add sdram control