Some more DIMM0 related cleanups and deduplication.
[coreboot.git] / src / northbridge / via / vx800 / detection.c
index 51aa9fa30206d7f4f5498dfd7d3ba6eea821d14e..ce0ee39e1852a71d81f30221e43a53b56e75c8e6 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#define SMBUS_ADDR_CH_A_1       0xA0   /* Dimmx */
-#define SMBUS_ADDR_CH_A_2       0xA2   /* Dimmx */
-#define SMBUS_ADDR_CH_B_1       0xA4   /* Dimmx */
-#define SMBUS_ADDR_CH_B_2       0xA6   /* Dimmx */
+/* FIXME this should go away */
+static const struct mem_controller ctrl = {
+       .channel0 = {DIMM0, DIMM1},
+};
 
 /* read data */
 CB_STATUS GetSPDData(u8 Slot, u8 Length, u8 *Buf);