software/microwatt: Fix copying data to RAM and clearing BSS
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 21 Jun 2020 09:35:04 +0000 (19:35 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 21 Jun 2020 09:35:04 +0000 (19:35 +1000)
commit28ea4b3f4c16e880ee2f9246d915508398056f09
tree86b2aabe17421c33a3433cfa68722a42dbd2e438
parent13e0852af48accf941d10e61639a1838ed0f0ca0
software/microwatt: Fix copying data to RAM and clearing BSS

This also makes us use the "small" memory model to avoid having to
use more complex constructs and adds the TOC to the linker script

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
litex/soc/cores/cpu/microwatt/core.py
litex/soc/cores/cpu/microwatt/crt0.S
litex/soc/software/bios/linker.ld