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>
This commit is contained in:
Elyes Haouas
2022-02-25 18:13:03 +01:00
committed by Martin L Roth
parent 849f7634d9
commit 5213b193c7
4 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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;

View File

@@ -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;

View File

@@ -810,7 +810,7 @@ static void domain_read_resources(struct device *dev)
printk(BIOS_DEBUG, "node %d: basek=%08llx, limitk=%08llx, sizek=%08llx,\n",
i, basek, limitk, sizek);
/* see if we need a hole from 0xa0000 to 0xfffff */
/* See if we need a hole from 0xa0000 (640K) to 0xfffff (1024K) */
if ((basek < (0xa0000 >> 10) && (sizek > (0x100000 >> 10)))) {
ram_resource(dev, (idx | i), basek, (0xa0000 >> 10) - basek);
idx += 0x10;