add Xilinx_abort_fn to Xilinx_Spartan3_Slave_Serial_fns
authorWolfgang Wegner <w.wegner@astro-kom.de>
Fri, 23 Apr 2010 09:08:05 +0000 (11:08 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 9 Dec 2010 09:24:10 +0000 (10:24 +0100)
commit9d8461cc696c99cbf2378d07d87198a732fa03ba
treedf376e1948b1ab8e8b96dae32de08f9eff88d15e
parent3f7cfeea2dc200cc54081df91decb2ca14afceca
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>
drivers/fpga/spartan3.c
include/spartan3.h