From fa742da56be11090fc713c21bc3faf786d99b135 Mon Sep 17 00:00:00 2001 From: Joseph Smith Date: Mon, 1 Feb 2010 22:51:18 +0000 Subject: Alot of it is trivial clean ups and 830 is now able to initialize one row/side of memory at a time. Signed-off-by: Joseph Smith Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5073 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/thomson/ip1000/auto.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/mainboard/thomson/ip1000/auto.c') diff --git a/src/mainboard/thomson/ip1000/auto.c b/src/mainboard/thomson/ip1000/auto.c index af7dadd..2f3892e 100644 --- a/src/mainboard/thomson/ip1000/auto.c +++ b/src/mainboard/thomson/ip1000/auto.c @@ -69,7 +69,6 @@ static inline int spd_read_byte(unsigned device, unsigned address) } #include "northbridge/intel/i82830/raminit.c" -#include "lib/generic_sdram.c" /** * Setup mainboard specific registers pre raminit. @@ -103,13 +102,6 @@ static void mb_early_setup(void) static void main(unsigned long bist) { - static const struct mem_controller memctrl[] = { - { - .d0 = PCI_DEV(0, 0, 0), - .channel0 = {0x50, 0x51}, - } - }; - if (bist == 0) early_mtrr_init(); if (memory_initialized()) { @@ -129,10 +121,8 @@ static void main(unsigned long bist) /* Setup mainboard specific registers */ mb_early_setup(); - /* SDRAM init */ - sdram_set_registers(memctrl); - sdram_set_spd_registers(memctrl); - sdram_enable(0, memctrl); + /* Initialize memory */ + sdram_initialize(); /* Check RAM. */ /* ram_check(0, 640 * 1024); */ -- cgit v1.1