mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
add block write function to spartan3 slave serial load
Using seperate function calls for each bit-bang of slave serial load can be painfully slow. This patch adds the possibility to supply a block write function that loads the complete block of data in one call (like it can already be done with Altera FPGAs). On an MCF5373L (240 MHz) loading an XC3S4000 this reduces the load time from around 15 seconds to around 3 seconds Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
This commit is contained in:

committed by
TsiChung Liew

parent
9d79e5758c
commit
89083346d0
@ -100,5 +100,6 @@ typedef int (*Xilinx_busy_fn)( int cookie );
|
||||
typedef int (*Xilinx_abort_fn)( int cookie );
|
||||
typedef int (*Xilinx_pre_fn)( int cookie );
|
||||
typedef int (*Xilinx_post_fn)( int cookie );
|
||||
typedef int (*Xilinx_bwr_fn)( void *buf, size_t len, int flush, int cookie );
|
||||
|
||||
#endif /* _XILINX_H_ */
|
||||
|
Reference in New Issue
Block a user