bios: switch command handler to a modular format
authorFranck Jullien <franck.jullien@gmail.com>
Wed, 29 Apr 2020 19:33:51 +0000 (21:33 +0200)
committerFranck Jullien <franck.jullien@gmail.com>
Fri, 1 May 2020 10:12:35 +0000 (12:12 +0200)
commitfc2b8226c544977626795705e06e1e768e5dd847
tree89414c7cda2b8964864994dc859c92ab8fe625aa
parent86cab3d3627636d71889be327f4f893207d64226
bios: switch command handler to a modular format

Command are now described with a structure. A pointer to this
structure is placed in a dedicated linker section.
16 files changed:
litex/soc/software/bios/Makefile
litex/soc/software/bios/command.h [new file with mode: 0644]
litex/soc/software/bios/commands/cmd_bios.c [new file with mode: 0644]
litex/soc/software/bios/commands/cmd_boot.c [new file with mode: 0644]
litex/soc/software/bios/commands/cmd_dram.c [new file with mode: 0644]
litex/soc/software/bios/commands/cmd_mdio.c [new file with mode: 0644]
litex/soc/software/bios/commands/cmd_mem_access.c [new file with mode: 0644]
litex/soc/software/bios/commands/cmd_sdcard.c [new file with mode: 0644]
litex/soc/software/bios/commands/cmd_spi_flash.c [new file with mode: 0644]
litex/soc/software/bios/commands/cmd_usddrphy.c [new file with mode: 0644]
litex/soc/software/bios/helpers.c
litex/soc/software/bios/helpers.h
litex/soc/software/bios/linker.ld
litex/soc/software/bios/main.c
litex/soc/software/bios/sdram.c
litex/soc/software/bios/sdram.h