bios: add litesdcard test routines to boot menu
authorGabriel Somlo <gsomlo@gmail.com>
Wed, 8 Jan 2020 17:49:52 +0000 (12:49 -0500)
committerGabriel Somlo <gsomlo@gmail.com>
Thu, 20 Feb 2020 01:16:13 +0000 (20:16 -0500)
commitd4d2b7f7c624ddd5775fd7a0cbb20e7ac65dab3b
tree530cf956d622e64e5ae3abf5b01ae6688a4d3a0f
parent7a2e33b817dad1b6f1163d7429e833ab8bc0c095
bios: add litesdcard test routines to boot menu

This is a straightforward import of the sdcard initialization and
testing routines from the LiteSDCard demo example, made available
as mainline LiteX bios boot-prompt commands.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/software/bios/Makefile
litex/soc/software/bios/main.c
litex/soc/software/bios/sdcard.c [new file with mode: 0644]
litex/soc/software/bios/sdcard.h [new file with mode: 0644]