summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/qcs405/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/qcs405/soc.c')
-rw-r--r--src/soc/qualcomm/qcs405/soc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/qualcomm/qcs405/soc.c b/src/soc/qualcomm/qcs405/soc.c
index 1237bb349e..4bcad748d2 100644
--- a/src/soc/qualcomm/qcs405/soc.c
+++ b/src/soc/qualcomm/qcs405/soc.c
@@ -7,8 +7,8 @@
static void soc_read_resources(struct device *dev)
{
- ram_resource(dev, 0, (uintptr_t)_dram / KiB, (1 * GiB) / KiB);
- reserved_ram_resource(dev, 1, (uintptr_t)_dram_reserved / KiB,
+ ram_resource_kb(dev, 0, (uintptr_t)_dram / KiB, (1 * GiB) / KiB);
+ reserved_ram_resource_kb(dev, 1, (uintptr_t)_dram_reserved / KiB,
REGION_SIZE(dram_reserved) / KiB);
}