summaryrefslogtreecommitdiff
path: root/include
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-12-09 10:24:10 +0100
commit9d8461cc696c99cbf2378d07d87198a732fa03ba (patch)
treedf376e1948b1ab8e8b96dae32de08f9eff88d15e /include
parent3f7cfeea2dc200cc54081df91decb2ca14afceca (diff)
downloadu-boot-imx-9d8461cc696c99cbf2378d07d87198a732fa03ba.zip
u-boot-imx-9d8461cc696c99cbf2378d07d87198a732fa03ba.tar.gz
u-boot-imx-9d8461cc696c99cbf2378d07d87198a732fa03ba.tar.bz2
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')
-rw-r--r--include/spartan3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spartan3.h b/include/spartan3.h
index d5a589d..0f0b400 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