Use DIMM0 et al in lots more places instead of hardocding values.
[coreboot.git] / src / mainboard / iei / pcisa-lx-800-r10 / romstage.c
index 8412e3317084673c3646b8ca31b04c448ded6d09..4a10c04afc49cd9428e9978a012f291947f321dc 100644 (file)
@@ -69,7 +69,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();