]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fpga: support FPP Cyclone configuration
authorMichael Jones <michael.jones@matrix-vision.de>
Thu, 14 Jul 2011 23:09:41 +0000 (23:09 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 28 Jul 2011 14:47:11 +0000 (16:47 +0200)
Support FPGAs which use Fast Passive Parallel configuration

Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
drivers/fpga/cyclon2.c

index 4622b4e4555ddc8f6670076ebe6e5b917fbd9790..567099ee8a1fc86dde62e20033a98d225effb7a8 100644 (file)
@@ -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: