summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8186
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8186')
-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 53e50654e6..8ae3b9dc4d 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(dev, 0, (uintptr_t)_dram / KiB, sdram_size() / KiB);
+ ram_resource_kb(dev, 0, (uintptr_t)_dram / KiB, sdram_size() / KiB);
}
static void soc_init(struct device *dev)