Use DIMM0 et al in lots more places instead of hardocding values.
[coreboot.git] / src / mainboard / wyse / s50 / romstage.c
index d2724964629372dbb1aec3d4197a95666ad57ad8..9c0671e3b4771f79b878dfc78f101dc81e7be354 100644 (file)
@@ -54,7 +54,7 @@ static inline int spd_read_byte(unsigned int device, unsigned int address)
 void main(unsigned long bist)
 {
        static const struct mem_controller memctrl [] = {
-               {.channel0 = {(0xa<<3)|0, (0xa<<3)|1}}
+               {.channel0 = {DIMM0, DIMM1}}
        };
 
        SystemPreInit();