summaryrefslogtreecommitdiff
path: root/common/spartan2.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/spartan2.c')
-rw-r--r--common/spartan2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spartan2.c b/common/spartan2.c
index 279a426..0fb23b6 100644
--- a/common/spartan2.c
+++ b/common/spartan2.c
@@ -47,7 +47,7 @@
#endif
#ifndef CFG_FPGA_WAIT
-#define CFG_FPGA_WAIT 10
+#define CFG_FPGA_WAIT CFG_HZ/100 /* 10 ms */
#endif
static int Spartan2_sp_load( Xilinx_desc *desc, void *buf, size_t bsize );