summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>2007-12-27 17:12:43 +0100
committerWolfgang Denk <wd@denx.de>2008-01-09 13:35:52 +0100
commit21d39d598c4e74d4e7761608c79dba2715d40a4c (patch)
tree678ab7b82fea0b71f1b0fe833605a5d0ed14996e /include
parent0133502e39ff89b67c26cb4015e0e7e8d9571184 (diff)
downloadu-boot-imx-21d39d598c4e74d4e7761608c79dba2715d40a4c.zip
u-boot-imx-21d39d598c4e74d4e7761608c79dba2715d40a4c.tar.gz
u-boot-imx-21d39d598c4e74d4e7761608c79dba2715d40a4c.tar.bz2
Add pre and post configuration callbacks for Spartan FPGAs
This patch adds a post configuration callback for Spartan2/3 FPGAs. pre and post configuration callback are now optional and not called when the function pointer is set to NULL. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Diffstat (limited to 'include')
-rw-r--r--include/spartan2.h1
-rw-r--r--include/spartan3.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/spartan2.h b/include/spartan2.h
index d2e81e3..f3cde68 100644
--- a/include/spartan2.h
+++ b/include/spartan2.h
@@ -58,6 +58,7 @@ typedef struct {
Xilinx_init_fn init;
Xilinx_done_fn done;
Xilinx_wr_fn wr;
+ Xilinx_post_fn post;
int relocated;
} Xilinx_Spartan2_Slave_Serial_fns;
diff --git a/include/spartan3.h b/include/spartan3.h
index 65a3f5a..529aade 100644
--- a/include/spartan3.h
+++ b/include/spartan3.h
@@ -58,6 +58,7 @@ typedef struct {
Xilinx_init_fn init;
Xilinx_done_fn done;
Xilinx_wr_fn wr;
+ Xilinx_post_fn post;
int relocated;
} Xilinx_Spartan3_Slave_Serial_fns;