Drop excessive whitespace randomly sprinkled in romstage.c files.
[coreboot.git] / src / mainboard / amd / rumba / romstage.c
index dc2555992c781eb867eb8cc5eace6b8d6228c766..86491c0e1b264a5162702bb01ea035722c0a91ad 100644 (file)
@@ -9,14 +9,11 @@
 #include "cpu/x86/msr.h"
 #include <cpu/amd/gx2def.h>
 #include <cpu/amd/geode_post_code.h>
-
-#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1)
-
+#include <spd.h>
 #include "southbridge/amd/cs5536/cs5536_early_smbus.c"
 #include "southbridge/amd/cs5536/cs5536_early_setup.c"
 
-#define DIMM0 0xA0
-#define DIMM1 0xA2
+#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1)
 
 static inline int spd_read_byte(unsigned device, unsigned address)
 {
@@ -37,7 +34,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();
@@ -63,4 +60,3 @@ void main(unsigned long bist)
        /* Check all of memory */
        //ram_check(0x00000000, 640*1024);
 }
-