Use DIMM0 et al in lots more places instead of hardocding values.
[coreboot.git] / src / mainboard / amd / db800 / romstage.c
index 8977b27bd42fa146528907bdc10629e7cbd25fbf..c1909c1ecbb2eda8923fbab215dd1c9175987b33 100644 (file)
@@ -65,7 +65,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();