Skip to content

Commit

Permalink
Revert "sdram: fix cdelay prototype to remove warning in sdram_phy.h"
Browse files Browse the repository at this point in the history
This reverts commit 1330c7e.
sbourdeauducq committed Feb 15, 2016
1 parent 1330c7e commit a95f05f
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion misoclib/mem/sdram/phy/initsequence.py
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ def get_sdram_phy_header(sdram_phy_settings):
nphases = sdram_phy_settings.nphases
r += "#define DFII_NPHASES "+str(nphases)+"\n\n"

r += "extern void cdelay(int i);\n"
r += "static void cdelay(int i);\n"

# commands_px functions
for n in range(nphases):
2 changes: 1 addition & 1 deletion software/bios/sdram.c
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@

#include "sdram.h"

void cdelay(int i)
static void cdelay(int i)
{
while(i > 0) {
#if defined (__lm32__)
2 changes: 0 additions & 2 deletions software/bios/sdram.h
Original file line number Diff line number Diff line change
@@ -3,8 +3,6 @@

#include <generated/csr.h>

void cdelay(int i);

void sdrsw(void);
void sdrhw(void);
void sdrrow(char *_row);

0 comments on commit a95f05f

Please sign in to comment.