This was tested at the coreboot meeting in Berlin.
The uart programming may still not be right but when used with the lowrisc bitstream for the board we were able to load and start linux, although it does not yet get far due to PTE version issues with lowrisc.
Change-Id: Ia1de1a92762631c9d7bb3d41b04f95296144caa3
66bea52 riscv: add the lowrisc/nexys4ddr mainboard
src/mainboard/lowrisc/Kconfig | 16 ++++
src/mainboard/lowrisc/Kconfig.name | 2 +
src/mainboard/lowrisc/nexys4ddr/Kconfig | 38 +++++++++
src/mainboard/lowrisc/nexys4ddr/Kconfig.name | 2 +
src/mainboard/lowrisc/nexys4ddr/Makefile.inc | 28 +++++++
src/mainboard/lowrisc/nexys4ddr/board_info.txt | 3 +
src/mainboard/lowrisc/nexys4ddr/devicetree.cb | 20 +++++
src/mainboard/lowrisc/nexys4ddr/mainboard.c | 31 +++++++
src/mainboard/lowrisc/nexys4ddr/memlayout.ld | 31 +++++++
src/mainboard/lowrisc/nexys4ddr/rom_media.c | 30 +++++++
src/mainboard/lowrisc/nexys4ddr/romstage.c | 23 ++++++
src/mainboard/lowrisc/nexys4ddr/uart.c | 40 +++++++++
src/mainboard/lowrisc/nexys4ddr/util.c | 103 ++++++++++++++++++++++++
13 files changed, 367 insertions(+)
Upstream: review.coreboot.org