projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use DIMM0 et al in lots more places instead of hardocding values.
[coreboot.git]
/
src
/
mainboard
/
digitallogic
/
adl855pc
/
romstage.c
diff --git
a/src/mainboard/digitallogic/adl855pc/romstage.c
b/src/mainboard/digitallogic/adl855pc/romstage.c
index 40a06264013e66ca55299d25174c64e8d2b440a5..5e782ed1b042544808f425451eb40f80acc003d8 100644
(file)
--- a/
src/mainboard/digitallogic/adl855pc/romstage.c
+++ b/
src/mainboard/digitallogic/adl855pc/romstage.c
@@
-15,6
+15,7
@@
#include "superio/winbond/w83627hf/w83627hf_early_serial.c"
#include "cpu/x86/mtrr/earlymtrr.c"
#include "cpu/x86/bist.h"
#include "superio/winbond/w83627hf/w83627hf_early_serial.c"
#include "cpu/x86/mtrr/earlymtrr.c"
#include "cpu/x86/bist.h"
+#include <spd.h>
#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1)
#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1)
@@
-32,7
+33,7
@@
void main(unsigned long bist)
static const struct mem_controller memctrl[] = {
{
.d0 = PCI_DEV(0, 0, 1),
static const struct mem_controller memctrl[] = {
{
.d0 = PCI_DEV(0, 0, 1),
- .channel0 = {
(0xa<<3)|
0, 0 },
+ .channel0 = {
DIMM
0, 0 },
},
};
},
};