nb/i440bx: Use newer function for resource declarations

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I61ae378867f8c0d9e86092ebe8deec53800c4717
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76271
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Arthur Heymans 2023-07-05 09:25:38 +02:00 committed by Kyösti Mälkki
parent 0fb2e664ce
commit a4b391bf81
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ static void i440bx_domain_read_resources(struct device *dev)
/* Report the memory regions. */ /* Report the memory regions. */
idx = 10; idx = 10;
ram_resource_kb(dev, idx++, 0, 640); ram_range(dev, idx++, 0, 0xa0000);
ram_resource_kb(dev, idx++, 768, tolmk - 768); ram_from_to(dev, idx++, 0xc0000, tolmk * KiB);
} }
} }