summaryrefslogtreecommitdiff
path: root/src/mainboard/lowrisc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lowrisc')
-rw-r--r--src/mainboard/lowrisc/nexys4ddr/mainboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lowrisc/nexys4ddr/mainboard.c b/src/mainboard/lowrisc/nexys4ddr/mainboard.c
index b2ce39886c..8b6bcb2442 100644
--- a/src/mainboard/lowrisc/nexys4ddr/mainboard.c
+++ b/src/mainboard/lowrisc/nexys4ddr/mainboard.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <cbmem.h>
#include <device/device.h>
#include <symbols.h>
@@ -24,6 +25,8 @@ static void mainboard_enable(device_t dev)
const size_t ram_size = 1*GiB;
ram_resource(dev, 0, (uintptr_t)_dram / KiB, ram_size / KiB);
+
+ cbmem_initialize_empty();
}
struct chip_operations mainboard_ops = {