aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/i440bx/raminit.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-11-27 00:47:07 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-11-27 00:47:07 +0000
commit1683cef9961efb3a8b843fce532da5ae640aac0b (patch)
treeaeb4b351787869347efa69ff36cc7bffccd81f7b /src/northbridge/intel/i440bx/raminit.h
parent544dca4195a6fb77286299bf42d4db5813dc28ac (diff)
Remove the unnecessary memctrl[] indirection, 440BX only has one
memory controller. Also, drop some unused '#if 0' code. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3773 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/intel/i440bx/raminit.h')
-rw-r--r--src/northbridge/intel/i440bx/raminit.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/northbridge/intel/i440bx/raminit.h b/src/northbridge/intel/i440bx/raminit.h
index 9393a364b2..9a8be8520b 100644
--- a/src/northbridge/intel/i440bx/raminit.h
+++ b/src/northbridge/intel/i440bx/raminit.h
@@ -24,10 +24,7 @@
/* The 440BX supports up to four (single- or double-sided) DIMMs. */
#define DIMM_SOCKETS 4
-/* The 440BX memory controller has one channel only. */
-struct mem_controller {
- device_t d0;
- uint16_t channel0[DIMM_SOCKETS];
-};
+/* DIMMs 1-4 are at 0x50, 0x51, 0x52, 0x53. */
+#define DIMM_SPD_BASE 0x50
#endif /* RAMINIT_H */