Use DIMM0 et al in lots more places instead of hardocding values.
[coreboot.git] / src / mainboard / amd / rumba / romstage.c
index e08d967471214e97f3bbaca2c26227a26a1019f1..c7c45ccc58feabf36ea40e37c581c4d6e20cc1ec 100644 (file)
@@ -35,7 +35,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
 void main(unsigned long bist)
 {
        static const struct mem_controller memctrl [] = {
-               {.channel0 = {(0xa<<3)|0, (0xa<<3)|1}}
+               {.channel0 = {DIMM0, DIMM1}}
        };
 
        SystemPreInit();