diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-06-20 14:13:36 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-06-26 21:46:20 +0000 |
commit | 85eb34ed19ec978b917fb7b9ad423546692f06b5 (patch) | |
tree | 9a2d7f4507b8cb2fedb9c1edd81bb544559a23b0 /src/soc/mediatek/mt8173 | |
parent | 5d8d90079dc442d9afe0c91d824dba2e9c3c8538 (diff) |
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>
Diffstat (limited to 'src/soc/mediatek/mt8173')
-rw-r--r-- | src/soc/mediatek/mt8173/soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8173/soc.c b/src/soc/mediatek/mt8173/soc.c index db349e033c..c1bb6212d1 100644 --- a/src/soc/mediatek/mt8173/soc.c +++ b/src/soc/mediatek/mt8173/soc.c @@ -12,7 +12,7 @@ void bootmem_platform_add_ranges(void) 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) |