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>
This commit is contained in:
Matthias Fuchs 2007-12-27 17:12:43 +01:00 committed by Wolfgang Denk
parent 0133502e39
commit 21d39d598c
4 changed files with 34 additions and 4 deletions

View file

@ -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;