summaryrefslogtreecommitdiff
path: root/board/ispan/ispan.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ispan/ispan.c')
-rw-r--r--board/ispan/ispan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ispan/ispan.c b/board/ispan/ispan.c
index e41a7c4..fd34899 100644
--- a/board/ispan/ispan.c
+++ b/board/ispan/ispan.c
@@ -236,6 +236,7 @@ static int seeprom_read (int addr, uchar * data, int size)
* Serial EEPROM conected to the PSpan bridge. We keep it as
* simple as possible.
*/
+#ifdef DEBUG
static int hwc_flash_size (void)
{
uchar byte;
@@ -273,6 +274,7 @@ static int hwc_local_sdram_size (void)
}
return -1;
}
+#endif /* DEBUG */
static int hwc_main_sdram_size (void)
{