Some more DIMM0 related cleanups and deduplication.
[coreboot.git] / src / northbridge / via / vx800 / detection.c
index 6bbfef0168509e0094106d2a8b8183c540187a44..ce0ee39e1852a71d81f30221e43a53b56e75c8e6 100644 (file)
 
 /* FIXME this should go away */
 static const struct mem_controller ctrl = {
-       .channel0 = {0x50, 0x51},
+       .channel0 = {DIMM0, DIMM1},
 };
 
-#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 */
-
 /* read data */
 CB_STATUS GetSPDData(u8 Slot, u8 Length, u8 *Buf);
 void DRAMCmdRate(DRAM_SYS_ATTR *DramAttr);