diff options
Diffstat (limited to 'src/soc/rockchip/rk3399/soc.c')
-rw-r--r-- | src/soc/rockchip/rk3399/soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c index 89e33631bf..10bc9baa01 100644 --- a/src/soc/rockchip/rk3399/soc.c +++ b/src/soc/rockchip/rk3399/soc.c @@ -21,7 +21,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_mb() * KiB); + ram_resource_kb(dev, 0, (uintptr_t)_dram / KiB, sdram_size_mb() * KiB); } static void soc_init(struct device *dev) |