diff --git a/litex/soc/software/bios/Makefile b/litex/soc/software/bios/Makefile index b5be87133..59fa03bd4 100644 --- a/litex/soc/software/bios/Makefile +++ b/litex/soc/software/bios/Makefile @@ -1,7 +1,7 @@ include ../include/generated/variables.mak include $(SOC_DIRECTORY)/software/common.mak -OBJECTS=isr.o sdram.o main.o boot-helper-$(CPU).o boot.o dataflow.o +OBJECTS=isr.o sdram.o main.o boot-helper-$(CPU).o boot.o all: bios.bin diff --git a/litex/soc/software/bios/dataflow.c b/litex/soc/software/bios/dataflow.c deleted file mode 100644 index d9aaa6ab2..000000000 --- a/litex/soc/software/bios/dataflow.c +++ /dev/null @@ -1,42 +0,0 @@ -#include - -#include "dataflow.h" - -void print_isd_info(unsigned int baseaddr) -{ - volatile unsigned int *regs; - int neps; - int nbytes; - int i, j; - int offset; - unsigned int ack_count, nack_count, cur_status; - - regs = (unsigned int *)baseaddr; - if((regs[0] != 0x6a) || (regs[1] != 0xb4)) { - printf("Incorrect magic number\n"); - return; - } - neps = regs[2]; - nbytes = (regs[3] + 7)/8; - - regs[4] = 1; // freeze - offset = 6; // regs[5] is reset - for(i=0;i