Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/litesdcard/firmware/sdcard.c b/litesdcard/firmware/sdcard.c
- index 86b0181..90c6a3d 100644
- --- a/litesdcard/firmware/sdcard.c
- +++ b/litesdcard/firmware/sdcard.c
- @@ -589,6 +589,8 @@ void sdcard_bist_checker_wait(void) {
- /* user */
- int sdcard_init(void) {
- + unsigned short rca;
- +
- /* initialize SD driver parameters */
- sdcore_cmdtimeout_write(1<<19);
- sdcore_datatimeout_write(1<<19);
- diff --git a/litesdcard/firmware/sdcard.h b/litesdcard/firmware/sdcard.h
- index ede8ab6..7edbc8d 100644
- --- a/litesdcard/firmware/sdcard.h
- +++ b/litesdcard/firmware/sdcard.h
- @@ -44,8 +44,6 @@
- #define SDCARD_CTRL_RESPONSE_SHORT 1
- #define SDCARD_CTRL_RESPONSE_LONG 2
- -unsigned short rca;
- -
- /* clocking */
- void sdclk_set_clk(unsigned int freq);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement