diff options
author | Joseph Smith <joe@settoplinux.org> | 2010-02-01 22:51:18 +0000 |
---|---|---|
committer | Joseph Smith <joe@smittys.pointclark.net> | 2010-02-01 22:51:18 +0000 |
commit | fa742da56be11090fc713c21bc3faf786d99b135 (patch) | |
tree | 24b75d878f967a7decf4579b121b0f5f51248c25 /src/mainboard/thomson | |
parent | 14be4d0d521826c0917ff7a42c6c847be5cec85a (diff) |
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 <joe@settoplinux.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5073 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/thomson')
-rw-r--r-- | src/mainboard/thomson/ip1000/auto.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mainboard/thomson/ip1000/auto.c b/src/mainboard/thomson/ip1000/auto.c index af7dadde09..2f3892e3a0 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); */ |