commit | 84a9360a24d18297c7effb4878041d8f5fdd9594 | [log] [tgz] |
---|---|---|
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | Sat Jun 26 14:10:39 2021 +0300 |
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | Sun Jun 26 21:50:33 2022 +0000 |
tree | 6aacbe2d4ab5dcf7054f309434499f08eed1925c | |
parent | 49a8fdf23315df79eb63a41b7bd062b9ddd36c69 [diff] [blame] |
soc/rockchip: Do resource transition Change-Id: I80ee3a8bb28d5f7b2a47b0a98abbc53a95ad25bc Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55917 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c index 10bc9ba..03c39a9 100644 --- a/src/soc/rockchip/rk3399/soc.c +++ b/src/soc/rockchip/rk3399/soc.c
@@ -21,7 +21,7 @@ static void soc_read_resources(struct device *dev) { - ram_resource_kb(dev, 0, (uintptr_t)_dram / KiB, sdram_size_mb() * KiB); + ram_range(dev, 0, (uintptr_t)_dram, sdram_size_mb() * MiB); } static void soc_init(struct device *dev)