diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-26 14:11:52 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-06-29 11:55:01 +0000 |
commit | be03903ffb076570a7aa8473a9eaeec90925d084 (patch) | |
tree | bef111db617b56cc43cd871860af1f0ba6696f2d /src/soc/ti | |
parent | e02fd83eba7bb20956e0d1d1ef18f28f146b0340 (diff) |
soc/cavium,ti: Do resource transition
Change-Id: I0b9bd00a5de4c2c8d91fa9d595d3ee313356048a
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55916
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/ti')
-rw-r--r-- | src/soc/ti/am335x/soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/ti/am335x/soc.c b/src/soc/ti/am335x/soc.c index 6f1c7940b2..410b2d772f 100644 --- a/src/soc/ti/am335x/soc.c +++ b/src/soc/ti/am335x/soc.c @@ -6,7 +6,7 @@ static void soc_enable(struct device *dev) { - ram_resource_kb(dev, 0, (uintptr_t)_dram / KiB, CONFIG_DRAM_SIZE_MB * MiB / KiB); + ram_range(dev, 0, (uintptr_t)_dram, CONFIG_DRAM_SIZE_MB * (uint64_t)MiB); } struct chip_operations soc_ti_am335x_ops = { |