summaryrefslogtreecommitdiff
path: root/drivers/fpga
diff options
context:
space:
mode:
authorMichael Jones <michael.jones@matrix-vision.de>2011-07-14 23:09:41 +0000
committerWolfgang Denk <wd@denx.de>2011-07-28 16:47:11 +0200
commitee44fb298dd9270aa64bb2cb5a93a43f6a85d70e (patch)
tree3b83f0c1fb5ee6bbc754e593ee5e45793b0fc787 /drivers/fpga
parent20a9f8e254ac23031d700dd5314481bb7720c51a (diff)
downloadu-boot-imx-ee44fb298dd9270aa64bb2cb5a93a43f6a85d70e.zip
u-boot-imx-ee44fb298dd9270aa64bb2cb5a93a43f6a85d70e.tar.gz
u-boot-imx-ee44fb298dd9270aa64bb2cb5a93a43f6a85d70e.tar.bz2
fpga: support FPP Cyclone configuration
Support FPGAs which use Fast Passive Parallel configuration Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
Diffstat (limited to 'drivers/fpga')
-rw-r--r--drivers/fpga/cyclon2.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/fpga/cyclon2.c b/drivers/fpga/cyclon2.c
index 4622b4e..567099e 100644
--- a/drivers/fpga/cyclon2.c
+++ b/drivers/fpga/cyclon2.c
@@ -63,6 +63,16 @@ int CYC2_load (Altera_desc * desc, void *buf, size_t bsize)
ret_val = CYC2_ps_load (desc, buf, bsize);
break;
+ case fast_passive_parallel:
+ /* Fast Passive Parallel (FPP) and PS only differ in what is
+ * done in the write() callback. Use the existing PS load
+ * function for FPP, too.
+ */
+ PRINTF ("%s: Launching Fast Passive Parallel Loader\n",
+ __FUNCTION__);
+ ret_val = CYC2_ps_load(desc, buf, bsize);
+ break;
+
/* Add new interface types here */
default: