summaryrefslogtreecommitdiff
path: root/src/soc/cavium/cn81xx/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/cavium/cn81xx/soc.c')
-rw-r--r--src/soc/cavium/cn81xx/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/cavium/cn81xx/soc.c b/src/soc/cavium/cn81xx/soc.c
index 368e9250e2..85a9e00e0e 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(dev, 0, 2 * KiB, sdram_size_mb() * KiB - 2 * KiB);
+ ram_resource_kb(dev, 0, 2 * KiB, sdram_size_mb() * KiB - 2 * KiB);
}
static void soc_init_atf(void)