summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra210/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra210/soc.c')
-rw-r--r--src/soc/nvidia/tegra210/soc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/nvidia/tegra210/soc.c b/src/soc/nvidia/tegra210/soc.c
index 65c3d8e1e3..72b155ca51 100644
--- a/src/soc/nvidia/tegra210/soc.c
+++ b/src/soc/nvidia/tegra210/soc.c
@@ -36,16 +36,16 @@ static void soc_read_resources(struct device *dev)
carveout_range(i, &begin, &size);
if (size == 0)
continue;
- reserved_ram_resource(dev, index++, begin * KiB, size * KiB);
+ reserved_ram_resource_kb(dev, index++, begin * KiB, size * KiB);
}
memory_in_range_below_4gb(&begin, &end);
size = end - begin;
- ram_resource(dev, index++, begin * KiB, size * KiB);
+ ram_resource_kb(dev, index++, begin * KiB, size * KiB);
memory_in_range_above_4gb(&begin, &end);
size = end - begin;
- ram_resource(dev, index++, begin * KiB, size * KiB);
+ ram_resource_kb(dev, index++, begin * KiB, size * KiB);
}
static struct device_operations soc_ops = {