Use DIMM0 et al in lots more places instead of hardocding values.
[coreboot.git] / src / mainboard / lippert / hurricane-lx / romstage.c
index bc6cae005323fb2a82e2adcefea4c6ecdd8ad729..35674fbfcc0717239ebe7daed2a583675d484df6 100644 (file)
@@ -122,7 +122,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();