X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmainboard%2Flippert%2Ffrontrunner%2Fromstage.c;h=0abdde4372b96673a2a8b3ebf6790d897e2350b3;hb=0d5a6accc84530d44f35ba4f3a74b370a1f88f86;hp=f86abef5a5c844d91afeb3aa58efaffbf1750d1a;hpb=f29b3b68c849ea6cb8124e11d06427ab92bc4451;p=coreboot.git diff --git a/src/mainboard/lippert/frontrunner/romstage.c b/src/mainboard/lippert/frontrunner/romstage.c index f86abef5a..0abdde437 100644 --- a/src/mainboard/lippert/frontrunner/romstage.c +++ b/src/mainboard/lippert/frontrunner/romstage.c @@ -11,14 +11,10 @@ #include #include #include "southbridge/amd/cs5535/cs5535.h" - -#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1) - #include "southbridge/amd/cs5535/cs5535_early_smbus.c" #include "southbridge/amd/cs5535/cs5535_early_setup.c" -#define DIMM0 0xA0 -#define DIMM1 0xFF /* DIMM1 is not available/used on this board. */ +#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1) static const unsigned char spdbytes[] = { /* 4x Qimonda HYB25DC512160CF-6 */ 0xFF, 0xFF, /* only values used by raminit.c are set */ @@ -78,9 +74,10 @@ static inline int spd_read_byte(unsigned int device, unsigned int address) void main(unsigned long bist) { static const struct mem_controller memctrl [] = { - {.channel0 = {(0xa<<3)|0, (0xa<<3)|1}} + {.channel0 = {DIMM0, DIMM1}} }; unsigned char temp; + SystemPreInit(); msr_init(); @@ -130,10 +127,4 @@ void main(unsigned long bist) outb( temp, 0x4F); temp = inb(0x4F); //watchdog function. Make sure to let the other Bits unchanged! print_debug_hex8(temp);print_debug("\n"); - /* Check all of memory */ -// ram_check(0, 16384); - ram_check(0x20000, 0x24000); -// ram_check(0x00000000, 640*1024); - } -