projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more DIMM0 related cleanups and deduplication.
[coreboot.git]
/
src
/
mainboard
/
pcengines
/
alix1c
/
romstage.c
diff --git
a/src/mainboard/pcengines/alix1c/romstage.c
b/src/mainboard/pcengines/alix1c/romstage.c
index 4b7d0fde044a61603e87bccc52bbde3676dc9a0d..5ccc348047a8962f29bb42c7559504c70a349a37 100644
(file)
--- a/
src/mainboard/pcengines/alix1c/romstage.c
+++ b/
src/mainboard/pcengines/alix1c/romstage.c
@@
-89,7
+89,7
@@
static u8 spd_read_byte(u8 device, u8 address)
print_debug("spd_read_byte dev ");
print_debug_hex8(device);
print_debug("spd_read_byte dev ");
print_debug_hex8(device);
- if (device !=
(0x50 << 1)
) {
+ if (device !=
DIMM0
) {
print_debug(" returns 0xff\n");
return 0xff;
}
print_debug(" returns 0xff\n");
return 0xff;
}
@@
-123,7
+123,7
@@
static void mb_gpio_init(void)
void main(unsigned long bist)
{
static const struct mem_controller memctrl[] = {
void main(unsigned long bist)
{
static const struct mem_controller memctrl[] = {
- {.channel0 = {
0x5
0}},
+ {.channel0 = {
DIMM
0}},
};
post_code(0x01);
};
post_code(0x01);