software/bios: mode spisdcard code to liblitesdcard.
This commit is contained in:
parent
21e2a34c3f
commit
b4b84def3c
|
@ -497,7 +497,7 @@ void romboot(void)
|
|||
|
||||
// SPI HARDWARE BITBANG
|
||||
#ifdef CSR_SPISDCARD_BASE
|
||||
#include <spisdcard.h>
|
||||
#include "spisdcard.h"
|
||||
|
||||
void spisdcardboot(void)
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ include ../include/generated/variables.mak
|
|||
include $(SOC_DIRECTORY)/software/common.mak
|
||||
|
||||
OBJECTS=exception.o libc.o errno.o crc16.o crc32.o console.o \
|
||||
system.o id.o uart.o time.o qsort.o strtod.o spiflash.o spisdcard.o strcasecmp.o
|
||||
system.o id.o uart.o time.o qsort.o strtod.o spiflash.o strcasecmp.o
|
||||
|
||||
all: crt0-ctr.o crt0-xip.o libbase.a libbase-nofloat.a
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
include ../include/generated/variables.mak
|
||||
include $(SOC_DIRECTORY)/software/common.mak
|
||||
|
||||
OBJECTS=sdcard.o
|
||||
OBJECTS=sdcard.o spisdcard.o
|
||||
|
||||
all: liblitesdcard.a
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#ifdef CSR_SPISDCARD_BASE
|
||||
// Import prototypes for the functions
|
||||
#include <spisdcard.h>
|
||||
#include "spisdcard.h"
|
||||
|
||||
// SPI
|
||||
// cs line - high to indicate DESELECT
|
Loading…
Reference in New Issue