From: Florent Kermarrec Date: Wed, 30 Nov 2016 14:44:30 +0000 (+0100) Subject: soc/software/bios: remove dataflow X-Git-Tag: 24jan2021_ls180~1925 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f57451f30a83129e061ac91fbed455c00513feb;p=litex.git soc/software/bios: remove dataflow --- diff --git a/litex/soc/software/bios/Makefile b/litex/soc/software/bios/Makefile index b5be8713..59fa03bd 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 d9aaa6ab..00000000 --- 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