commit | 85eb34ed19ec978b917fb7b9ad423546692f06b5 | [log] [tgz] |
---|---|---|
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | Mon Jun 20 14:13:36 2022 +0300 |
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | Sun Jun 26 21:46:20 2022 +0000 |
tree | 9a2d7f4507b8cb2fedb9c1edd81bb544559a23b0 | |
parent | 5d8d90079dc442d9afe0c91d824dba2e9c3c8538 [diff] [blame] |
soc/mediatek: Do resource transition Change-Id: I668a39c603870329fd1528ddc5f3a42a379e1e76 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/65267 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/mediatek/mt8183/soc.c b/src/soc/mediatek/mt8183/soc.c index 2b030be..32ec4e4 100644 --- a/src/soc/mediatek/mt8183/soc.c +++ b/src/soc/mediatek/mt8183/soc.c
@@ -10,7 +10,7 @@ static void soc_read_resources(struct device *dev) { - ram_resource_kb(dev, 0, (uintptr_t)_dram / KiB, sdram_size() / KiB); + ram_range(dev, 0, (uintptr_t)_dram, sdram_size()); } static void soc_init(struct device *dev)