projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
During the suspend/resume programming I came to an issue that first 4KB of
[coreboot.git]
/
src
/
northbridge
/
amd
/
amdfam10
/
northbridge.c
diff --git
a/src/northbridge/amd/amdfam10/northbridge.c
b/src/northbridge/amd/amdfam10/northbridge.c
index bdb743387d5eeedfdbdf065f7463a7e40ddedfcd..95e09f4c6a26ab625e4da326638a9282e89a2059 100644
(file)
--- a/
src/northbridge/amd/amdfam10/northbridge.c
+++ b/
src/northbridge/amd/amdfam10/northbridge.c
@@
-338,6
+338,8
@@
static int reg_useable(u32 reg,device_t goal_dev, u32 goal_nodeid,
for(nodeid = 0; !res && (nodeid < NODE_NUMS); nodeid++) {
device_t dev;
dev = __f0_dev[nodeid];
+ if (!dev)
+ continue;
for(link = 0; !res && (link < 8); link++) {
res = probe_resource(dev, 0x1000 + reg + (link<<16)); // 8 links, 0x1000 man f1,
}