Use DIMM0 et al in lots more places instead of hardocding values.
[coreboot.git] / src / mainboard / amd / norwich / romstage.c
index 1211610421030da224f3263cce5c41f73e362963..4704cc2fe0acf870f3c0a0a29c7876828f21e0f8 100644 (file)
@@ -62,7 +62,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();