aboutsummaryrefslogtreecommitdiff
path: root/include/spartan3.h
diff options
context:
space:
mode:
authorWolfgang Wegner <w.wegner@astro-kom.de>2010-04-23 11:08:05 +0200
committerWolfgang Denk <wd@denx.de>2010-11-30 21:59:21 +0100
commitb0bc8b70ff74501fd7a6e42013a4a7ea05cf6ade (patch)
treef9f6c3ce2f1bd245b0fc6a71641169b739b22313 /include/spartan3.h
parentc87f6457bb9cb465e9630b00b4c824847a62c6c5 (diff)
downloadu-boot-linaro-stable-b0bc8b70ff74501fd7a6e42013a4a7ea05cf6ade.tar.gz
add Xilinx_abort_fn to Xilinx_Spartan3_Slave_Serial_fns
Currently the hardware was left in an undefined state in case Spartan3 serial load failed. This patch adds Xilinx_abort_fn to give the board a possibility to clean up in this case. Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
Diffstat (limited to 'include/spartan3.h')
-rw-r--r--include/spartan3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spartan3.h b/include/spartan3.h
index d5a589d09..0f0b40085 100644
--- a/include/spartan3.h
+++ b/include/spartan3.h
@@ -58,6 +58,7 @@ typedef struct {
Xilinx_wr_fn wr;
Xilinx_post_fn post;
Xilinx_bwr_fn bwr; /* block write function */
+ Xilinx_abort_fn abort;
} Xilinx_Spartan3_Slave_Serial_fns;
/* Device Image Sizes