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/cavium | |
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/cavium')
-rw-r--r-- | src/soc/cavium/cn81xx/soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/cavium/cn81xx/soc.c b/src/soc/cavium/cn81xx/soc.c index 85a9e00e0e..ed1441ba45 100644 --- a/src/soc/cavium/cn81xx/soc.c +++ b/src/soc/cavium/cn81xx/soc.c @@ -323,7 +323,7 @@ void bootmem_platform_add_ranges(void) static void soc_read_resources(struct device *dev) { // HACK: Don't advertise bootblock romstage CAR region, it's broken... - ram_resource_kb(dev, 0, 2 * KiB, sdram_size_mb() * KiB - 2 * KiB); + ram_from_to(dev, 0, 2 * MiB, sdram_size_mb() * (uint64_t)MiB); } static void soc_init_atf(void) |