Jonathan Neuschäfer (j.neuschaefer@gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17707
-gerrit
commit 556903df554d3ca96c1b0c0ee77a459e50839b33 Author: Jonathan Neuschäfer j.neuschaefer@gmx.net Date: Sat Dec 3 17:00:52 2016 +0100
mb/lowrisc/nexys4ddr: Initialize CBMEM in romstage
Change-Id: Ic1706ae8ab3cbef8f445d70cb78fa9d3301d87be Signed-off-by: Jonathan Neuschäfer j.neuschaefer@gmx.net --- src/mainboard/lowrisc/nexys4ddr/mainboard.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/mainboard/lowrisc/nexys4ddr/mainboard.c b/src/mainboard/lowrisc/nexys4ddr/mainboard.c index b2ce398..8b6bcb2 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 = {