projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i855: Remove useless memctrl indirection.
[coreboot.git]
/
src
/
northbridge
/
intel
/
i855
/
debug.c
diff --git
a/src/northbridge/intel/i855/debug.c
b/src/northbridge/intel/i855/debug.c
index 2f7d5342a1b7bb0bc4a6578746afe18c76d58ebc..0c6747e4a371bccf467f27ae3397eff6a058214b 100644
(file)
--- a/
src/northbridge/intel/i855/debug.c
+++ b/
src/northbridge/intel/i855/debug.c
@@
-18,6
+18,8
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <spd.h>
+
static void print_debug_pci_dev(unsigned dev)
{
print_debug("PCI: ");
static void print_debug_pci_dev(unsigned dev)
{
print_debug("PCI: ");
@@
-84,13
+86,13
@@
static inline void dump_pci_devices(void)
}
}
}
}
-static inline void dump_spd_registers(
const struct mem_controller *ctrl
)
+static inline void dump_spd_registers(
void
)
{
int i;
print_debug("\n");
for(i = 0; i < 2; i++) {
unsigned device;
{
int i;
print_debug("\n");
for(i = 0; i < 2; i++) {
unsigned device;
- device =
ctrl->channel0[i]
;
+ device =
DIMM0 + i
;
if (device) {
int j;
print_debug("dimm: ");
if (device) {
int j;
print_debug("dimm: ");