diff options
Diffstat (limited to 'src/mainboard/sifive')
-rw-r--r-- | src/mainboard/sifive/hifive-unleashed/mainboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/sifive/hifive-unleashed/mainboard.c b/src/mainboard/sifive/hifive-unleashed/mainboard.c index 22bd9fa6ef..9dde848406 100644 --- a/src/mainboard/sifive/hifive-unleashed/mainboard.c +++ b/src/mainboard/sifive/hifive-unleashed/mainboard.c @@ -6,7 +6,7 @@ static void mainboard_enable(struct device *dev) { - ram_resource(dev, 0, (uintptr_t)_dram/KiB, sdram_size_mb()*KiB); + ram_resource_kb(dev, 0, (uintptr_t)_dram/KiB, sdram_size_mb()*KiB); } struct chip_operations mainboard_ops = { |