summaryrefslogtreecommitdiff
path: root/common/spartan2.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-02-27 00:07:27 +0000
committerwdenk <wdenk>2004-02-27 00:07:27 +0000
commit11dadd547c08a3480ea153482e99c6ae70b73415 (patch)
tree2386e4f325ab15e52cfadcb34c3d8ba8e36fb977 /common/spartan2.c
parent80885a9d526b6b9666500d17ec7941b9dad8de44 (diff)
* Patch by Steven Scholz, 25 Feb 2004:
- Timeouts in FPGA code should be based on CFG_HZ - Minor cleanup in code for Altera FPGA ACEX1K * Patch by Steven Scholz, 25 Feb 2004: Changed "Directory Hierarchy" section in README * Patch by Masami Komiya, 25 Feb 2004: Reduce copy count in nfs_read_reply() of NFS code
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 279a4261848..0fb23b65920 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 );