summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8186/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8186/soc.c')
-rw-r--r--src/soc/mediatek/mt8186/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8186/soc.c b/src/soc/mediatek/mt8186/soc.c
index 8ae3b9dc4d1d..d2e7a1e03ea3 100644
--- a/src/soc/mediatek/mt8186/soc.c
+++ b/src/soc/mediatek/mt8186/soc.c
@@ -17,7 +17,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)