
On 7/5/07, Grant Likely grant.likely@secretlab.ca wrote:
On 7/4/07, eran.liberty@gmail.com eran.liberty@gmail.com wrote:
too quick on the trigger. (the last patch of the same name does not compile)
this will patch against snapshot 98c440bee623ecdd5322852732b883e696fb2140
Adds generic implementation of Altera Stratix II fpga burn fast passive parallel, and fast passive parallel with security, and passive serial formats.
Signed-off-by: Eran Liberty eran.liberty@gmail.com
diff -x .svn -Nuar u-boot.git-98c440bee623ecdd5322852732b883e696fb2140/include/altera.h u-boot-exsw6000/include/altera.h --- u-boot.git-98c440bee623ecdd5322852732b883e696fb2140/include/altera.h 2007-07-03 16:07:56.000000000 +0300 +++ u-boot-exsw6000/include/altera.h 2007-06-28 10:24:40.000000000 +0300 @@ -27,22 +27,21 @@ #ifndef _ALTERA_H_ #define _ALTERA_H_
-/*
- See include/xilinx.h for another working example.
- */
/* Altera Model definitions *********************************************************************/ #define CFG_ACEX1K CFG_FPGA_DEV( 0x1 ) #define CFG_CYCLON2 CFG_FPGA_DEV( 0x2 ) +#define CFG_STRATIX_II CFG_FPGA_DEV( 0x4 )
#define CFG_ALTERA_ACEX1K (CFG_FPGA_ALTERA | CFG_ACEX1K) #define CFG_ALTERA_CYCLON2 (CFG_FPGA_ALTERA | CFG_CYCLON2) +#define CFG_ALTERA_STRATIX_II (CFG_FPGA_ALTERA | CFG_STRATIX_II) /* Add new models here */
/* Altera Interface definitions *********************************************************************/ #define CFG_ALTERA_IF_PS CFG_FPGA_IF( 0x1 ) /* passive serial */ +#define CFG_ALTERA_IF_FPP CFG_FPGA_IF( 0x2 ) /* fast passive parallel */ /* Add new interfaces here */
BTW; the bitfield approach to CONFIG macros is also depreciated; and all CFG_* macros are being converted to CONFIG_*. Depending on when/where your patches get merged, you may be asked to do some rework here. Take a look at jdl's activity on the u-boot-testing tree to see what I mean.
LOL one at a time
lets get this one patched in first
Liberty
Cheers, g.
-- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195