Use DIMM0 et al in lots more places instead of hardocding values.
[coreboot.git] / src / mainboard / lippert / roadrunner-lx / romstage.c
index 086a61d8f1f0dd2778466ba80f679b100bc9c33b..95a9c82b2157a493586010cbd42bd12837ff08d9 100644 (file)
@@ -97,7 +97,7 @@ void main(unsigned long bist)
        post_code(0x01);
 
        static const struct mem_controller memctrl[] = {
-               {.channel0 = {(0xa << 3) | 0, (0xa << 3) | 1}}
+               {.channel0 = {DIMM0, DIMM1}}
        };
 
        SystemPreInit();