diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-26 14:10:39 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-06-26 21:50:33 +0000 |
commit | 84a9360a24d18297c7effb4878041d8f5fdd9594 (patch) | |
tree | 6aacbe2d4ab5dcf7054f309434499f08eed1925c /src/soc/rockchip/rk3288 | |
parent | 49a8fdf23315df79eb63a41b7bd062b9ddd36c69 (diff) |
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>
Diffstat (limited to 'src/soc/rockchip/rk3288')
-rw-r--r-- | src/soc/rockchip/rk3288/soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/rockchip/rk3288/soc.c b/src/soc/rockchip/rk3288/soc.c index 3c5ca21037..20f5cece92 100644 --- a/src/soc/rockchip/rk3288/soc.c +++ b/src/soc/rockchip/rk3288/soc.c @@ -13,7 +13,7 @@ static void soc_init(struct device *dev) { - ram_resource_kb(dev, 0, (uintptr_t)_dram/KiB, sdram_size_mb()*(MiB/KiB)); + ram_range(dev, 0, (uintptr_t)_dram, sdram_size_mb() * MiB); if (display_init_required()) rk_display_init(dev, (uintptr_t)_framebuffer, REGION_SIZE(framebuffer)); |