Commit b4b84def authored by Florent Kermarrec's avatar Florent Kermarrec

software/bios: mode spisdcard code to liblitesdcard.

parent 21e2a34c
......@@ -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
......
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment