summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-02-25 18:13:03 +0100
committerMartin L Roth <martinroth@google.com>2022-04-24 21:34:32 +0000
commit5213b193c7afb4d1790b2d1ed8d36a4b672dfef5 (patch)
tree6374c13b36e2c18ee0c607144ca99838ab579bca /src/northbridge/amd/agesa
parent849f7634d909fa919ed4e7e1c490f5187bea1748 (diff)
nb/amd/*/*/northbridge.c: Change the comment 'hole from 0xa0000..' to reflect the code
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I4acc895be00cfdef3ff0eef440f4b85fdb75edf8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62378 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/amd/agesa')
-rw-r--r--src/northbridge/amd/agesa/family14/northbridge.c2
-rw-r--r--src/northbridge/amd/agesa/family15tn/northbridge.c2
-rw-r--r--src/northbridge/amd/agesa/family16kb/northbridge.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/amd/agesa/family14/northbridge.c b/src/northbridge/amd/agesa/family14/northbridge.c
index 3507ff709b..e102252983 100644
--- a/src/northbridge/amd/agesa/family14/northbridge.c
+++ b/src/northbridge/amd/agesa/family14/northbridge.c
@@ -551,7 +551,7 @@ static void domain_set_resources(struct device *dev)
printk(BIOS_DEBUG, "adsr: basek = %llx, limitk = %llx, sizek = %llx.\n",
basek, limitk, sizek);
- /* see if we need a hole from 0xa0000 to 0xbffff */
+ /* See if we need a hole from 0xa0000 (640K) to 0xbffff (768K) */
if ((basek < 640) && (sizek > 768)) {
printk(BIOS_DEBUG,"adsr - 0xa0000 to 0xbffff resource.\n");
ram_resource(dev, (idx | 0), basek, 640 - basek);
diff --git a/src/northbridge/amd/agesa/family15tn/northbridge.c b/src/northbridge/amd/agesa/family15tn/northbridge.c
index d36c9d459d..8c010ee388 100644
--- a/src/northbridge/amd/agesa/family15tn/northbridge.c
+++ b/src/northbridge/amd/agesa/family15tn/northbridge.c
@@ -709,7 +709,7 @@ static void domain_set_resources(struct device *dev)
sizek = limitk - basek;
- /* see if we need a hole from 0xa0000 to 0xbffff */
+ /* See if we need a hole from 0xa0000 (640K) to 0xbffff (768K) */
if ((basek < ((8*64)+(8*16))) && (sizek > ((8*64)+(16*16)))) {
ram_resource(dev, (idx | i), basek, ((8*64)+(8*16)) - basek);
idx += 0x10;
diff --git a/src/northbridge/amd/agesa/family16kb/northbridge.c b/src/northbridge/amd/agesa/family16kb/northbridge.c
index 170a0d2ee2..a343321808 100644
--- a/src/northbridge/amd/agesa/family16kb/northbridge.c
+++ b/src/northbridge/amd/agesa/family16kb/northbridge.c
@@ -721,7 +721,7 @@ static void domain_set_resources(struct device *dev)
sizek = limitk - basek;
- /* see if we need a hole from 0xa0000 to 0xbffff */
+ /* See if we need a hole from 0xa0000 (640K) to 0xbffff (768K) */
if ((basek < ((8*64)+(8*16))) && (sizek > ((8*64)+(16*16)))) {
ram_resource(dev, (idx | i), basek, ((8*64)+(8*16)) - basek);
idx += 0x10;