Re: [U-Boot] [PATCH 2/7] fpga: support FPP Cyclone configuration

2011-07-28 Thread Wolfgang Denk
Dear Michael Jones,

In message 1310720986-5474-3-git-send-email-michael.jo...@matrix-vision.de 
you wrote:
 Support FPGAs which use Fast Passive Parallel configuration
 
 Signed-off-by: Michael Jones michael.jo...@matrix-vision.de
 ---
  drivers/fpga/cyclon2.c |   10 ++
  1 files changed, 10 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
It is easier to write an incorrect program than understand a  correct
one.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/7] fpga: support FPP Cyclone configuration

2011-07-15 Thread Michael Jones
Support FPGAs which use Fast Passive Parallel configuration

Signed-off-by: Michael Jones michael.jo...@matrix-vision.de
---
 drivers/fpga/cyclon2.c |   10 ++
 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:
-- 
1.7.5.4


MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot