summaryrefslogtreecommitdiff
path: root/src/mainboard/bitworks/ims
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/bitworks/ims')
-rw-r--r--src/mainboard/bitworks/ims/auto.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mainboard/bitworks/ims/auto.c b/src/mainboard/bitworks/ims/auto.c
index e9dd3cb46e..1da87bbd5f 100644
--- a/src/mainboard/bitworks/ims/auto.c
+++ b/src/mainboard/bitworks/ims/auto.c
@@ -83,7 +83,7 @@ static void enable_shadow_ram(void)
static inline int spd_read_byte(unsigned device, unsigned address)
{
- unsigned char c;
+ int c;
c = smbus_read_byte(device, address);
return c;
}
@@ -100,11 +100,13 @@ static void main(unsigned long bist)
.channel0 = {
(0xa << 3) | 0,
(0xa << 3) | 1,
- (0xa << 3) | 2, (0xa << 3) | 3,
+ (0xa << 3) | 2,
+ (0xa << 3) | 3,
},
}
};
unsigned long x;
+ int result;
if (bist == 0) {
early_mtrr_init();
@@ -117,6 +119,12 @@ static void main(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
+/*
+ result = spd_read_byte(cpu[0].channel0[0],0x03);
+ print_debug("Result: ");
+ print_debug_hex16(result);
+ print_debug("\r\n");
+*/
dump_spd_registers(&cpu[0]);
#if 0