Convert some comments to proper Doxygen syntax.
[coreboot.git] / src / northbridge / intel / e7520 / raminit.c
index 0ef73cc02696054446c45f0d2d28260197ef0234..235ce44f2b1dac0fa3f3f4875c3795d472e2a38d 100644 (file)
@@ -15,7 +15,6 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
- *
  */
 
 #include <cpu/x86/mtrr.h>
@@ -23,6 +22,7 @@
 #include <stdlib.h>
 #include "raminit.h"
 #include "e7520.h"
+#include <pc80/mc146818rtc.h>
 #if CONFIG_HAVE_OPTION_TABLE
 #include "option_table.h"
 #endif
@@ -80,8 +80,6 @@ static void sdram_set_registers(const struct mem_controller *ctrl)
        print_spew("done.\n");
 }
 
-
-
 struct dimm_size {
        unsigned long side1;
        unsigned long side2;
@@ -208,7 +206,6 @@ static long spd_set_ram_size(const struct mem_controller *ctrl, long dimm_mask)
        return 0;
 }
 
-
 static unsigned int spd_detect_dimms(const struct mem_controller *ctrl)
 {
        unsigned dimm_mask;
@@ -235,7 +232,6 @@ static unsigned int spd_detect_dimms(const struct mem_controller *ctrl)
        return dimm_mask;
 }
 
-
 static int spd_set_row_attributes(const struct mem_controller *ctrl,
                long dimm_mask)
 {
@@ -295,7 +291,6 @@ hw_err:
 
 }
 
-
 static int spd_set_drt_attributes(const struct mem_controller *ctrl,
                long dimm_mask, uint32_t drc)
 {
@@ -626,7 +621,7 @@ static int spd_set_dram_controller_mode(const struct mem_controller *ctrl,
        if (read_option(CMOS_VSTART_ECC_memory, CMOS_VLEN_ECC_memory, 1) == 0) {
                ecc = 0;  /* ECC off in CMOS so disable it */
                print_debug("ECC off\n");
-       } else 
+       } else
 #endif
        {
                print_debug("ECC on\n");
@@ -797,6 +792,7 @@ static void set_on_dimm_termination_enable(const struct mem_controller *ctrl)
                }
        }
 }
+
 static void set_receive_enable(const struct mem_controller *ctrl)
 {
        unsigned int i;
@@ -1029,7 +1025,6 @@ static void set_receive_enable(const struct mem_controller *ctrl)
        write32(BAR+0x154, recenb);
 }
 
-
 static void sdram_enable(int controllers, const struct mem_controller *ctrl)
 {
        int i;