cpu/software: move CPU specific software from the BIOS to the CPU directories.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 1 May 2020 06:15:17 +0000 (08:15 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 1 May 2020 09:04:54 +0000 (11:04 +0200)
commitbb70a2325a778220f110d4287d4f96b11c7d0acb
tree2c8cb2a65573a05fea582b0e8a952dd5552cbea8
parent0abc7d4f0bb635775698f7e18072bc69b72a7db5
cpu/software: move CPU specific software from the BIOS to the CPU directories.

This simplifies the integration of the CPUs' software, avoid complex switches in the code,
and is a first step to make CPUs fully pluggable.

The CPU name is no longer present in the crt0 files (for example crt0-vexriscv-ctr.o
becomes crt0-ctr.o) so users building firmwares externally will have to update their
Makefiles to remove the $(CPU) from crt0-$(CPU)-ctr.o.
68 files changed:
litex/soc/cores/cpu/blackparrot/boot-helper.S [new file with mode: 0644]
litex/soc/cores/cpu/blackparrot/crt0.S [new file with mode: 0644]
litex/soc/cores/cpu/blackparrot/csr-defs.h [new file with mode: 0644]
litex/soc/cores/cpu/blackparrot/irq.h [new file with mode: 0644]
litex/soc/cores/cpu/blackparrot/system.h [new file with mode: 0644]
litex/soc/cores/cpu/lm32/boot-helper.S [new file with mode: 0644]
litex/soc/cores/cpu/lm32/crt0.S [new file with mode: 0644]
litex/soc/cores/cpu/lm32/irq.h [new file with mode: 0644]
litex/soc/cores/cpu/lm32/system.h [new file with mode: 0644]
litex/soc/cores/cpu/microwatt/boot-helper.S [new file with mode: 0644]
litex/soc/cores/cpu/microwatt/crt0.S [new file with mode: 0644]
litex/soc/cores/cpu/microwatt/irq.h [new file with mode: 0644]
litex/soc/cores/cpu/microwatt/system.h [new file with mode: 0644]
litex/soc/cores/cpu/minerva/boot-helper.S [new file with mode: 0644]
litex/soc/cores/cpu/minerva/crt0.S [new file with mode: 0644]
litex/soc/cores/cpu/minerva/csr-defs.h [new file with mode: 0644]
litex/soc/cores/cpu/minerva/irq.h [new file with mode: 0644]
litex/soc/cores/cpu/minerva/system.h [new file with mode: 0644]
litex/soc/cores/cpu/mor1kx/boot-helper.S [new file with mode: 0644]
litex/soc/cores/cpu/mor1kx/crt0.S [new file with mode: 0644]
litex/soc/cores/cpu/mor1kx/irq.h [new file with mode: 0644]
litex/soc/cores/cpu/mor1kx/system.h [new file with mode: 0644]
litex/soc/cores/cpu/picorv32/boot-helper.S [new file with mode: 0644]
litex/soc/cores/cpu/picorv32/crt0.S [new file with mode: 0644]
litex/soc/cores/cpu/picorv32/extraops.S [new file with mode: 0644]
litex/soc/cores/cpu/picorv32/irq.h [new file with mode: 0644]
litex/soc/cores/cpu/picorv32/system.h [new file with mode: 0644]
litex/soc/cores/cpu/rocket/boot-helper.S [new file with mode: 0644]
litex/soc/cores/cpu/rocket/crt0.S [new file with mode: 0644]
litex/soc/cores/cpu/rocket/csr-defs.h [new file with mode: 0644]
litex/soc/cores/cpu/rocket/irq.h [new file with mode: 0644]
litex/soc/cores/cpu/rocket/system.h [new file with mode: 0644]
litex/soc/cores/cpu/serv/boot-helper.S [new file with mode: 0644]
litex/soc/cores/cpu/serv/crt0.S [new file with mode: 0644]
litex/soc/cores/cpu/serv/irq.h [new file with mode: 0644]
litex/soc/cores/cpu/serv/system.h [new file with mode: 0644]
litex/soc/cores/cpu/vexriscv/boot-helper.S [new file with mode: 0644]
litex/soc/cores/cpu/vexriscv/crt0.S [new file with mode: 0644]
litex/soc/cores/cpu/vexriscv/csr-defs.h [new file with mode: 0644]
litex/soc/cores/cpu/vexriscv/irq.h [new file with mode: 0644]
litex/soc/cores/cpu/vexriscv/system.h [new file with mode: 0644]
litex/soc/integration/export.py
litex/soc/software/bios/Makefile
litex/soc/software/bios/boot-helper-blackparrot.S [deleted file]
litex/soc/software/bios/boot-helper-lm32.S [deleted file]
litex/soc/software/bios/boot-helper-microwatt.S [deleted file]
litex/soc/software/bios/boot-helper-minerva.S [deleted file]
litex/soc/software/bios/boot-helper-mor1kx.S [deleted file]
litex/soc/software/bios/boot-helper-picorv32.S [deleted file]
litex/soc/software/bios/boot-helper-rocket.S [deleted file]
litex/soc/software/bios/boot-helper-serv.S [deleted file]
litex/soc/software/bios/boot-helper-vexriscv.S [deleted file]
litex/soc/software/bios/sdram.c
litex/soc/software/common.mak
litex/soc/software/include/base/csr-defs.h [deleted file]
litex/soc/software/include/base/irq.h [deleted file]
litex/soc/software/include/base/picorv32-extraops.S [deleted file]
litex/soc/software/include/base/system.h [deleted file]
litex/soc/software/libbase/Makefile
litex/soc/software/libbase/crt0-blackparrot.S [deleted file]
litex/soc/software/libbase/crt0-lm32.S [deleted file]
litex/soc/software/libbase/crt0-microwatt.S [deleted file]
litex/soc/software/libbase/crt0-minerva.S [deleted file]
litex/soc/software/libbase/crt0-mor1kx.S [deleted file]
litex/soc/software/libbase/crt0-picorv32.S [deleted file]
litex/soc/software/libbase/crt0-rocket.S [deleted file]
litex/soc/software/libbase/crt0-serv.S [deleted file]
litex/soc/software/libbase/crt0-vexriscv.S [deleted file]