summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8183/soc.c')
-rw-r--r--src/soc/mediatek/mt8183/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8183/soc.c b/src/soc/mediatek/mt8183/soc.c
index c2e7d26051..2b030bed95 100644
--- a/src/soc/mediatek/mt8183/soc.c
+++ b/src/soc/mediatek/mt8183/soc.c
@@ -10,7 +10,7 @@
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)