summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8192
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-06-20 14:13:36 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2022-06-26 21:46:20 +0000
commit85eb34ed19ec978b917fb7b9ad423546692f06b5 (patch)
tree9a2d7f4507b8cb2fedb9c1edd81bb544559a23b0 /src/soc/mediatek/mt8192
parent5d8d90079dc442d9afe0c91d824dba2e9c3c8538 (diff)
soc/mediatek: Do resource transition
Change-Id: I668a39c603870329fd1528ddc5f3a42a379e1e76 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/65267 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8192')
-rw-r--r--src/soc/mediatek/mt8192/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8192/soc.c b/src/soc/mediatek/mt8192/soc.c
index c0177a1103..74d2579a36 100644
--- a/src/soc/mediatek/mt8192/soc.c
+++ b/src/soc/mediatek/mt8192/soc.c
@@ -20,7 +20,7 @@ void bootmem_platform_add_ranges(void)
static void soc_read_resources(struct device *dev)
{
- ram_resource_kb(dev, 0, (uintptr_t)_dram / KiB, sdram_size() / KiB);
+ ram_range(dev, 0, (uintptr_t)_dram, sdram_size());
}
static void soc_init(struct device *dev)